Compatibility Excel Formulas & Functions Excel Formulas Description pa no tb oo k. co m Functions Joins several text CONCATEN =CONCATENATE(text1,text2, ATE …) items into one text item. Easier to use ‘&’ instead of the function usually. FLOOR =FLOOR(number,significance) Rounds a number down, toward zero Returns the individual BINOMDIST =BINOMDIST(number_s,trials, term binomial probability_s,cumulative) distribution probability Returns the CHIDIST =CHIDIST(x,deg_freedom) one-tailed probability of the chi-squared distribution CHIINV =CHITEST(actual_range,expe Returns the test for cted_range) independence CONFIDENC =CONFIDENCE(alpha,standar E d_dev,size) FTEST =FTEST(array1,array2) Returns the confidence interval for a population mean Returns the inverse of =LOGINV(probability,mean,st the lognormal andard_dev) cumulative pa no tb oo k. co m LOGINV distribution LOGNORMD =LOGNORMDIST(x,mean,sta IST ndard_dev) Returns the cumulative lognormal distribution Returns the most MODE =MODE(number1,number2,…) common value in a data set NORMDIST =NORMDIST(x,mean,standar d_dev,cumulative) Returns the normal cumulative distribution Returns the inverse of NORMINV =NORMINV(probability,mean, the normal standard_dev) cumulative distribution Returns the standard NORMSDIST =NORMSDIST(z) normal cumulative distribution Returns the inverse of NORMSINV =NORMSINV(probability) the standard normal cumulative distribution Returns the k-th =PERCENTILE(array,k) percentile of values in pa no tb oo k. co m PERCENTILE a range PERCENTRA =PERCENTRANK(array,x,signi NK ficance) POISSON QUARTILE Returns the percentage rank of a value in a data set =POISSON(x,mean,cumulativ Returns the Poisson e) distribution =QUARTILE(array,quart) Returns the quartile of a data set Returns the rank of a RANK =RANK(number,ref,order) number in a list of numbers STDEV STDEVP =STDEV(number1,number2,… ) =STDEVP(number1,number2, …) Estimates standard deviation based on a sample Calculates standard deviation based on the entire population TDIST =TINV(probability,deg_freedo m) Returns the Student’s t-distribution Returns the inverse of the Student’s t-distribution Estimates variance pa no tb oo k. co m TINV =TDIST(x,deg_freedom,tails) VAR =VAR(number1,number2,…) based on a sample Calculates variance VARP =VARP(number1,number2,…) based on the entire population FINV FORECAST =FINV(probability,deg_freedo m1,deg_freedom2) Returns the inverse of the F probability distribution =FORECAST(x,known_y’s,kno Returns a value along wn_x’s) a linear trend Returns the beta BETADIST =BETADIST(x,alpha,beta,A,B) cumulative distribution function Returns the inverse of BETAINV =BETAINV(probability,alpha,b eta,A,B) the cumulative distribution function for a specified beta distribution Returns covariance, COVAR =COVAR(array1,array2) the average of the products of paired deviations Returns the smallest pa no tb oo k. co m value for which the CRITBINOM =CRITBINOM(trials,probabilit cumulative binomial y_s,alpha) distribution is less than or equal to a criterion value EXPONDIST POISSON FDIST =EXPONDIST(x,lambda,cumu lative) Returns the exponential distribution =POISSON(x,mean,cumulativ Returns the Poisson e) distribution =FDIST(x,deg_freedom1,deg_ freedom2) Returns the F probability distribution GAMMADIS =GAMMADIST(x,alpha,beta,c Returns the gamma T umulative) distribution Returns the inverse of GAMMAINV =GAMMAINV(probability,alph the gamma a,beta) cumulative distribution =HYPGEOMDIST(sample_s,n Returns the umber_sample,population_s,n hypergeometric umber_pop) distribution NEGBINOM =NEGBINOMDIST(number_f,n Returns the negative DIST umber_s,probability_s) binomial distribution HYPGEOMD IST pa no tb oo k. co m Returns the TTEST =TTEST(array1,array2,tails,ty probability associated pe) with a Student’s t-test Calculates variance WEIBULL =WEIBULL(x,alpha,beta,cumu lative) based on the entire population, including numbers, text, and logical values Returns the ZTEST =ZTEST(array,x,sigma) one-tailed probability-value of a z-test Cube Excel Formulas & Functions Function s Excel Formulas Description Returns a key performance indicator (KPI) name, property, and measure, and displays the name and on,kpi_name,kpi_property,ca property in the cell. A KPI is a quantifiable pa no tb oo k. co m CUBEKPIM =CUBEKPIMEMBER(connecti EMBER ption) measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organization’s performance. Returns a member or CUBEMEM =CUBEMEMBER(connection, BER member_expression,caption) tuple in a cube hierarchy. Use to validate that the member or tuple exists in the cube. Returns the value of a member property in the CUBEMEM =CUBEMEMBERPROPERTY( BERPROP connection,member_expressi ERTY on,property) cube. Use to validate that a member name exists within the cube and to return the specified property for this member. Returns the nth, or ranked, member in a set. CUBERAN =CUBERANKEDMEMBER(co Use to return one or KEDMEMB nnection,set_expression,rank more elements in a set, ER ,caption) such as the top sales performer or top 10 pa no tb oo k. co m students. Defines a calculated set of members or tuples by =CUBESET(connection,set_e CUBESET xpression,caption,sort_order, sort_by) sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Office Excel. CUBESETC OUNT =CUBESETCOUNT(set) Returns the number of items in a set. CUBEVAL =CUBEVALUE(connection,m Returns an aggregated UE ember_expression1,…) value from a cube Database Excel Formulas & Functions Functio Excel ns Formulas Description DGET se,field,criteria) Extracts from a database a single record that matches the specified criteria =DSUM(datab Adds the numbers in the field column ase,field,criteri of records in the database that match a) the criteria pa no tb oo k. co m DSUM =DGET(databa DAVERAG E =DAVERAGE(d atabase,field,cr iteria) =DCOUNT(dat DCOUNT abase,field,crit eria) DCOUNT A atabase,field,cr DPRODU CT Counts the cells that contain numbers in a database Counts nonblank cells in a database iteria) ase,field,criteri a) DMIN database entries =DCOUNTA(d =DMAX(datab DMAX Returns the average of selected Returns the maximum value from selected database entries =DMIN(databa Returns the minimum value from se,field,criteria) selected database entries =DPRODUCT( Multiplies the values in a particular database,field, field of records that match the criteria criteria) in a database DSTDEV Estimates the standard deviation based base,field,criter on a sample of selected database ia) entries =DSTDEVP(da Calculates the standard deviation tabase,field,crit based on the entire population of eria) selected database entries pa no tb oo k. co m DSTDEVP =DSTDEV(data DVAR DVARP =DVAR(databa Estimates variance based on a sample se,field,criteria) from selected database entries =DVARP(datab Calculates variance based on the entire ase,field,criteri population of selected database a) entries Date & Time Excel Formulas & Functions Function s DATE DATEVAL UE DAY Excel Formulas =DATE(year,month,day) Description Returns the serial number of a particular date Converts a date in the =DATEVALUE(date_text) form of text to a serial number =DAY(serial_number) Converts a serial number to a day of the month =HOUR(serial_number) MINUTE =MINUTE(serial_number) MONTH =MONTH(serial_number) Converts a serial number to an hour Converts a serial number to a minute Converts a serial number to a month pa no tb oo k. co m HOUR Returns the serial number NOW =NOW() of the current date and time SECOND =SECOND(serial_number) TIME =TIME(hour,minute,second) TIMEVALU E to a second Returns the serial number of a particular time Converts a time in the =TIMEVALUE(time_text) form of text to a serial number TODAY =TODAY() YEAR =YEAR(serial_number) DAYS360 Converts a serial number =DAYS360(start_date,end_ date,method) Returns the serial number of today’s date Converts a serial number to a year Calculates the number of days between two dates based on a 360-day year Returns the serial number of the date that is the EDATE =EDATE(start_date,months) indicated number of months before or after the start date pa no tb oo k. co m Returns the serial number EOMONT =EOMONTH(start_date,mo H nths) of the last day of the month before or after a specified number of months NETWOR =NETWORKDAYS(start_da KDAYS te,end_date,[holidays]) Returns the number of whole workdays between two dates Returns the number of NETWOR =NETWORKDAYS.INTL(sta KDAYS.INT rt_date,end_date,[weekend] L ,[holidays]) whole workdays between two dates using parameters to indicate which and how many days are weekend days WEEKDAY =WEEKDAY(serial_number, Converts a serial number [return_type]) to a day of the week Converts a serial number WEEKNU =WEEKNUM(serial_number to a number representing M ,[return_type]) where the week falls numerically with a year Returns the serial number WORKDA =WORKDAY(start_date, of the date before or after Y days, [holidays]) a specified number of workdays Returns the serial number pa no tb oo k. co m of the date before or after WORKDA =WORKDAY.INTL(start_dat Y.INTL e,days,weekend,holidays) a specified number of workdays using parameters to indicate which and how many days are weekend days Returns the year fraction YEARFRA =YEARFRAC(start_date,end representing the number C _date,basis) of whole days between start_date and end_date Information Excel Formulas & Functions Function s CELL ISBLANK Excel Formulas =CELL(info_type, [reference]) =ISBLANK(value) Description Returns information about the formatting, location, or contents of a cell Returns TRUE if the value is blank Returns TRUE if the value is any ISERROR =ISERROR(value) ISNONTEX =ISNONTEXT(val Returns TRUE if the value is not T ue) text ISNUMBE =ISNUMBER(valu Returns TRUE if the value is a R e) number ISTEXT =ISTEXT(value) Returns TRUE if the value is text ERROR.TY =ERROR.TYPE(err Returns a number corresponding to PE or_val) an error type INFO =INFO(type_text) ISERR =ISERR(value) ISEVEN =ISEVEN(number) Returns TRUE if the number is even ISLOGICA =ISLOGICAL(valu Returns TRUE if the value is a L e) logical value ISNA =ISNA(value) ISODD =ISODD(number) ISREF =ISREF(value) pa no tb oo k. co m error value Returns information about the current operating environment Returns TRUE if the value is any error value except #N/A Returns TRUE if the value is the #N/A error value Returns TRUE if the number is odd Returns TRUE if the value is a reference =N(value) NA =NA() TYPE =TYPE(value) Returns a value converted to a number Returns the error value #N/A Returns a number indicating the data type of a value pa no tb oo k. co m N Logical Excel Formulas & Functions Functi ons AND FALSE Excel Formulas Description =AND(logical1,logic Returns TRUE if all of its al2,…) arguments are TRUE =FALSE Returns the logical value FALSE =IF(logical_test, IF [value_if_true], Specifies a logical test to perform [value_if_false]) Returns a value you specify if a IFERRO =IFERROR(value, formula evaluates to an error; R value_if_error) otherwise, returns the result of the formula NOT OR =NOT(logical) Reverses the logic of its argument =OR(logical1,logical Returns TRUE if any argument is 2,…) TRUE TRUE =TRUE LOOKU =LOOKUP(lookup_v P alue, array)– 2 types Returns the logical value TRUE Looks up values in a vector or array pa no tb oo k. co m Lookup & Reference Excel Formulas & Functions Funct ions ADDRE SS COLUM N COLUM NS HLOOK UP INDEX Excel Formulas Description =ADDRESS(row_num, Returns a reference as text column_num, [abs_num], to a single cell in a [a1], [sheet_text]) worksheet =COLUMN([reference]) =COLUMNS(array) Returns the column number of a reference Returns the number of columns in a reference =HLOOKUP(lookup_value,t Looks in the top row of an able_array,row_index_num,[ array and returns the value range_lookup]) of the indicated cell =INDEX(array,row_num,[col umn_num])– 2 types Uses an index to choose a value from a reference or array INDIRE CT =INDIRECT(ref_text,a1) Returns a reference indicated by a text value =MATCH(lookup_value,look Looks up values in a up_array,match_type) reference or array OFFSE =OFFSET(reference,rows,col Returns a reference offset T s,height,width) from a given reference ROW =ROW([reference]) ROWS =ROWS(array) pa no tb oo k. co m MATCH VLOOK UP =VLOOKUP(lookup_value,ta ble_array,col_index_num,[ra nge_lookup]) Returns the row number of a reference Returns the number of rows in a reference Looks in the first column of an array and moves across the row to return the value of a cell CHOO =CHOOSE(index_num,value Chooses a value from a list SE 1,value2,…) of values =GETPIVOTDATA(data_fiel Returns data stored in a d,pivot_table,field,item,…) PivotTable report GETPIV OTDAT A Creates a shortcut or jump HYPER =HYPERLINK(link_location,f that opens a document LINK riendly_name) stored on a network server, an intranet, or the Internet TRANS POSE AREAS =TRANSPOSE(array) =AREAS(reference) Returns the transpose of an array Returns the number of areas in a reference Retrieves real-time data pa no tb oo k. co m from a program that supports COM automation (Automation: A way to work with an application’s objects RTD =RTD(progID,server,topic1,t from another application or opic2,…) development tool. Formerly called OLE Automation, Automation is an industry-standard and a feature of the Component Object Model (COM).) Text Excel Formulas & Functions Function s Excel Formulas EXACT =EXACT(text1,text2) LOWER =LOWER(text) Description Checks to see if two text values are identical Converts text to lowercase Capitalizes the first letter in each PROPER =PROPER(text) TRIM =TRIM(text) Removes spaces from text UPPER =UPPER(text) Converts text to uppercase CHAR =CHAR(number) CLEAN =CLEAN(text) CODE =CODE(text) word of a text value pa no tb oo k. co m Returns the character specified by the code number Removes all nonprintable characters from text Returns a numeric code for the first character in a text string =DOLLAR(number,d Converts a number to text, using ecimals) the $ (dollar) currency format =FIXED(number,deci Formats a number as text with a mals,no_commas) fixed number of decimals PHONETI =PHONETIC(referen Extracts the phonetic (furigana) C ce) characters from a text string =REPT(text,number_ Repeats text a given number of times) times DOLLAR FIXED REPT SUBSTITU TE T =SUBSTITUTE(text, old_text,new_text,in stance_num) =T(value) Substitutes new text for old text in a text string Converts its arguments to text VALUE =VALUE(text) Converts a text argument to a number Changes full-width (double-byte) English letters or ASC =ASC(text) katakana within a character pa no tb oo k. co m string to half-width (single-byte) characters BAHTTEX =BAHTTEXT(numbe Converts a number to text, using T r) the ß (baht) currency format Most Common Excel Formulas & Functions Functions FIND Excel Formulas Description =FIND(find_text,within_te Finds one text value within xt,start_num) another (case-sensitive) Returns the leftmost LEFT =LEFT(text,num_chars) characters from a text value LEN MID =LEN(text) Returns the number of characters in a text string =MID(text,start_num,nu Returns a specific number m_chars) of characters from a text string starting at the position you specify =REPLACE(old_text,start REPLACE _num,num_chars,new_tex t) Replaces characters within text pa no tb oo k. co m Returns the rightmost RIGHT =RIGHT(text,num_chars) characters from a text value SEARCH =SEARCH(find_text,withi n_text,start_num) Finds one text value within another (not case-sensitive) Engineering Excel Formulas & Functions Functions CONVERT DELTA ERF Excel Formulas =CONVERT(number,fro m_unit,to_unit) Description Converts a number from one measurement system to another =DELTA(number1,numb Tests whether two values are er2) equal =ERF(lower_limit,upper _limit) Returns the error function ERFC =ERFC(x) Returns the complementary error function Tests whether a number is GESTEP =GESTEP(number,step) greater than a threshold value pa no tb oo k. co m ERF.PRECI SE ERFC.PREC ISE =ERF.PRECISE(X) Returns the complementary =ERFC.PRECISE(X) ERF function integrated between x and infinity BESSELI =BESSELI(x,n) BESSELJ =BESSELJ(x,n) BESSELK =BESSELK(x,n) BESSELY =BESSELY(x,n) BIN2DEC =BIN2DEC(number) BIN2HEX Returns the error function Returns the modified Bessel function In(x) Returns the Bessel function Jn(x) Returns the modified Bessel function Kn(x) Returns the Bessel function Yn(x) Converts a binary number to decimal =BIN2HEX(number,plac Converts a binary number to es) hexadecimal DEC2OCT HEX2BIN Converts a decimal number ces) to octal =HEX2BIN(number,plac Converts a hexadecimal es) number to binary =HEX2DEC(number) Converts a hexadecimal number to decimal pa no tb oo k. co m HEX2DEC =DEC2OCT(number,pla HEX2OCT =HEX2OCT(number,pla Converts a hexadecimal ces) number to octal Returns the absolute value IMABS =IMABS(inumber) (modulus) of a complex number IMAGINAR Y Returns the imaginary =IMAGINARY(inumber) number IMARGUM =IMARGUMENT(inumb ENT er) IMCONJUG =IMCONJUGATE(inumb ATE er) IMCOS =IMCOS(inumber) IMDIV coefficient of a complex Returns the argument theta, an angle expressed in radians Returns the complex conjugate of a complex number Returns the cosine of a complex number =IMDIV(inumber1,inum Returns the quotient of two ber2) complex numbers IMEXP =IMEXP(inumber) Returns the exponential of a complex number Returns the natural IMLN =IMLN(inumber) logarithm of a complex number pa no tb oo k. co m Returns the base-10 IMLOG10 =IMLOG10(inumber) logarithm of a complex number Returns the base-2 IMLOG2 =IMLOG2(inumber) logarithm of a complex number =IMPOWER(inumber,n Returns a complex number umber) raised to an integer power IMPRODUC =IMPRODUCT(inumber Returns the product of T 1,inumber2,…) complex numbers IMREAL =IMREAL(inumber) IMSIN =IMSIN(inumber) IMSQRT =IMSQRT(inumber) IMPOWER IMSUB =IMSUB(inumber1,inu mber2) Returns the real coefficient of a complex number Returns the sine of a complex number Returns the square root of a complex number Returns the difference between two complex numbers IMSUM OCT2BIN Returns the sum of complex mber2,…) numbers =OCT2BIN(number,plac Converts an octal number to es) binary =OCT2DEC(number) Converts an octal number to decimal pa no tb oo k. co m OCT2DEC =IMSUM(inumber1,inu OCT2HEX =OCT2HEX(number,pla Converts an octal number to ces) hexadecimal