Upcoming SlideShare
×

# Excel formula

• 330 views

• Comment goes here.
Are you sure you want to
Be the first to comment

Total Views
330
On Slideshare
0
From Embeds
0
Number of Embeds
0

Shares
15
0
Likes
1

No embeds

### Report content

No notes for slide

### Transcript

• 1. Excel functions (by category)Applies to: Microsoft Office Excel 2007Worksheet functions are categorized by their functionality. If you know the category of the function that you are looking for, youcan click that category. Tip You can also search the page by pressing CTRL+F, typing the first few letters of a function or a word that describes whatyou are looking for, and then clicking Next.In this article Add-in and Automation functions Cube functions Database functions Date and time functions Engineering functions Financial functions Information functions Logical functions Lookup and reference functions Math and trigonometry functions Statistical functions Text functionsAdd-in and Automation functionsFunction DescriptionCALL Calls a procedure in a dynamic link library or code resource Converts a number to euros, converts a number from euros to a euro member currency, or converts aEUROCONVERT number from one euro member currency to another by using the euro as an intermediary (triangulation)GETPIVOTDATA Returns data stored in a PivotTable report Returns the register ID of the specified dynamic link library (DLL) or code resource that has beenREGISTER.ID previously registered Connects with an external data source and runs a query from a worksheet, then returns the result as an arraySQL.REQUEST without the need for macro programming Top of PageCube functionsFunction Description Returns a key performance indicator (KPI) name, property, and measure, and displays the nameCUBEKPIMEMBER and property in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organizations performance. Returns a member or tuple in a cube hierarchy. Use to validate that the member or tuple exists inCUBEMEMBER the cube. Returns the value of a member property in the cube. Use to validate that a member name existsCUBEMEMBERPROPERTY within the cube and to return the specified property for this member. Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such asCUBERANKEDMEMBER the top sales performer or top 10 students. Defines a calculated set of members or tuples by sending a set expression to the cube on theCUBESET server, which creates the set, and then returns that set to Microsoft Office Excel.CUBESETCOUNT Returns the number of items in a set.CUBEVALUE Returns an aggregated value from a cube.
• 2. Database functionsFunction DescriptionDAVERAGE Returns the average of selected database entriesDCOUNT Counts the cells that contain numbers in a databaseDCOUNTA Counts nonblank cells in a databaseDGET Extracts from a database a single record that matches the specified criteriaDMAX Returns the maximum value from selected database entriesDMIN Returns the minimum value from selected database entriesDPRODUCT Multiplies the values in a particular field of records that match the criteria in a databaseDSTDEV Estimates the standard deviation based on a sample of selected database entriesDSTDEVP Calculates the standard deviation based on the entire population of selected database entriesDSUM Adds the numbers in the field column of records in the database that match the criteriaDVAR Estimates variance based on a sample from selected database entriesDVARP Calculates variance based on the entire population of selected database entriesDate and time functionsFunction DescriptionDATE Returns the serial number of a particular dateDATEVALUE Converts a date in the form of text to a serial numberDAY Converts a serial number to a day of the monthDAYS360 Calculates the number of days between two dates based on a 360-day yearEDATE Returns the serial number of the date that is the indicated number of months before or after the start dateEOMONTH Returns the serial number of the last day of the month before or after a specified number of monthsHOUR Converts a serial number to an hourMINUTE Converts a serial number to a minuteMONTH Converts a serial number to a monthNETWORKDAYS Returns the number of whole workdays between two datesNOW Returns the serial number of the current date and timeSECOND Converts a serial number to a secondTIME Returns the serial number of a particular timeTIMEVALUE Converts a time in the form of text to a serial numberTODAY Returns the serial number of todays dateWEEKDAY Converts a serial number to a day of the weekWEEKNUM Converts a serial number to a number representing where the week falls numerically with a yearWORKDAY Returns the serial number of the date before or after a specified number of workdaysYEAR Converts a serial number to a yearYEARFRAC Returns the year fraction representing the number of whole days between start_date and end_dateEngineering functionsFunction DescriptionBESSELI Returns the modified Bessel function In(x)
• 3. BESSELJ Returns the Bessel function Jn(x)BESSELK Returns the modified Bessel function Kn(x)BESSELY Returns the Bessel function Yn(x)BIN2DEC Converts a binary number to decimalBIN2HEX Converts a binary number to hexadecimalBIN2OCT Converts a binary number to octalCOMPLEX Converts real and imaginary coefficients into a complex numberCONVERT Converts a number from one measurement system to anotherDEC2BIN Converts a decimal number to binaryDEC2HEX Converts a decimal number to hexadecimalDEC2OCT Converts a decimal number to octalDELTA Tests whether two values are equalERF Returns the error functionERFC Returns the complementary error functionGESTEP Tests whether a number is greater than a threshold valueHEX2BIN Converts a hexadecimal number to binaryHEX2DEC Converts a hexadecimal number to decimalHEX2OCT Converts a hexadecimal number to octalIMABS Returns the absolute value (modulus) of a complex numberIMAGINARY Returns the imaginary coefficient of a complex numberIMARGUMENT Returns the argument theta, an angle expressed in radiansIMCONJUGATE Returns the complex conjugate of a complex numberIMCOS Returns the cosine of a complex numberIMDIV Returns the quotient of two complex numbersIMEXP Returns the exponential of a complex numberIMLN Returns the natural logarithm of a complex numberIMLOG10 Returns the base-10 logarithm of a complex numberIMLOG2 Returns the base-2 logarithm of a complex numberIMPOWER Returns a complex number raised to an integer powerIMPRODUCT Returns the product of complex numbersIMREAL Returns the real coefficient of a complex numberIMSIN Returns the sine of a complex numberIMSQRT Returns the square root of a complex numberIMSUB Returns the difference between two complex numbersIMSUM Returns the sum of complex numbersOCT2BIN Converts an octal number to binaryOCT2DEC Converts an octal number to decimalOCT2HEX Converts an octal number to hexadecimalFinancial functions
• 4. Function DescriptionACCRINT Returns the accrued interest for a security that pays periodic interestACCRINTM Returns the accrued interest for a security that pays interest at maturityAMORDEGRC Returns the depreciation for each accounting period by using a depreciation coefficientAMORLINC Returns the depreciation for each accounting periodCOUPDAYBS Returns the number of days from the beginning of the coupon period to the settlement dateCOUPDAYS Returns the number of days in the coupon period that contains the settlement dateCOUPDAYSNC Returns the number of days from the settlement date to the next coupon dateCOUPNCD Returns the next coupon date after the settlement dateCOUPNUM Returns the number of coupons payable between the settlement date and maturity dateCOUPPCD Returns the previous coupon date before the settlement dateCUMIPMT Returns the cumulative interest paid between two periodsCUMPRINC Returns the cumulative principal paid on a loan between two periodsDB Returns the depreciation of an asset for a specified period by using the fixed-declining balance method Returns the depreciation of an asset for a specified period by using the double-declining balance method orDDB some other method that you specifyDISC Returns the discount rate for a securityDOLLARDE Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal numberDOLLARFR Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fractionDURATION Returns the annual duration of a security with periodic interest paymentsEFFECT Returns the effective annual interest rateFV Returns the future value of an investmentFVSCHEDULE Returns the future value of an initial principal after applying a series of compound interest ratesINTRATE Returns the interest rate for a fully invested securityIPMT Returns the interest payment for an investment for a given periodIRR Returns the internal rate of return for a series of cash flowsISPMT Calculates the interest paid during a specific period of an investmentMDURATION Returns the Macauley modified duration for a security with an assumed par value of \$100MIRR Returns the internal rate of return where positive and negative cash flows are financed at different ratesNOMINAL Returns the annual nominal interest rateNPER Returns the number of periods for an investmentNPV Returns the net present value of an investment based on a series of periodic cash flows and a discount rateODDFPRICE Returns the price per \$100 face value of a security with an odd first periodODDFYIELD Returns the yield of a security with an odd first periodODDLPRICE Returns the price per \$100 face value of a security with an odd last periodODDLYIELD Returns the yield of a security with an odd last periodPMT Returns the periodic payment for an annuityPPMT Returns the payment on the principal for an investment for a given periodPRICE Returns the price per \$100 face value of a security that pays periodic interest
• 5. PRICEDISC Returns the price per \$100 face value of a discounted securityPRICEMAT Returns the price per \$100 face value of a security that pays interest at maturityPV Returns the present value of an investmentRATE Returns the interest rate per period of an annuityRECEIVED Returns the amount received at maturity for a fully invested securitySLN Returns the straight-line depreciation of an asset for one periodSYD Returns the sum-of-years digits depreciation of an asset for a specified periodTBILLEQ Returns the bond-equivalent yield for a Treasury billTBILLPRICE Returns the price per \$100 face value for a Treasury billTBILLYIELD Returns the yield for a Treasury billVDB Returns the depreciation of an asset for a specified or partial period by using a declining balance methodXIRR Returns the internal rate of return for a schedule of cash flows that is not necessarily periodicXNPV Returns the net present value for a schedule of cash flows that is not necessarily periodicYIELD Returns the yield on a security that pays periodic interestYIELDDISC Returns the annual yield for a discounted security; for example, a Treasury billYIELDMAT Returns the annual yield of a security that pays interest at maturityInformation functionsFunction DescriptionCELL Returns information about the formatting, location, or contents of a cellERROR.TYPE Returns a number corresponding to an error typeINFO Returns information about the current operating environmentISBLANK Returns TRUE if the value is blankISERR Returns TRUE if the value is any error value except #N/AISERROR Returns TRUE if the value is any error valueISEVEN Returns TRUE if the number is evenISLOGICAL Returns TRUE if the value is a logical valueISNA Returns TRUE if the value is the #N/A error valueISNONTEXT Returns TRUE if the value is not textISNUMBER Returns TRUE if the value is a numberISODD Returns TRUE if the number is oddISREF Returns TRUE if the value is a referenceISTEXT Returns TRUE if the value is textN Returns a value converted to a numberNA Returns the error value #N/ATYPE Returns a number indicating the data type of a valueLogical functionsFunction DescriptionAND Returns TRUE if all of its arguments are TRUEFALSE Returns the logical value FALSE
• 6. IF Specifies a logical test to performIFERROR Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formulaNOT Reverses the logic of its argumentOR Returns TRUE if any argument is TRUETRUE Returns the logical value TRUELookup and reference functionsFunction DescriptionADDRESS Returns a reference as text to a single cell in a worksheetAREAS Returns the number of areas in a referenceCHOOSE Chooses a value from a list of valuesCOLUMN Returns the column number of a referenceCOLUMNS Returns the number of columns in a referenceHLOOKUP Looks in the top row of an array and returns the value of the indicated cellHYPERLINK Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the InternetINDEX Uses an index to choose a value from a reference or arrayINDIRECT Returns a reference indicated by a text valueLOOKUP Looks up values in a vector or arrayMATCH Looks up values in a reference or arrayOFFSET Returns a reference offset from a given referenceROW Returns the row number of a referenceROWS Returns the number of rows in a referenceRTD Retrieves real-time data from a program that supports COM automationTRANSPOSE Returns the transpose of an arrayVLOOKUP Looks in the first column of an array and moves across the row to return the value of a cellMath and trigonometry functionsFunction DescriptionABS Returns the absolute value of a numberACOS Returns the arccosine of a numberACOSH Returns the inverse hyperbolic cosine of a numberASIN Returns the arcsine of a numberASINH Returns the inverse hyperbolic sine of a numberATAN Returns the arctangent of a numberATAN2 Returns the arctangent from x- and y-coordinatesATANH Returns the inverse hyperbolic tangent of a numberCEILING Rounds a number to the nearest integer or to the nearest multiple of significanceCOMBIN Returns the number of combinations for a given number of objectsCOS Returns the cosine of a numberCOSH Returns the hyperbolic cosine of a numberDEGREES Converts radians to degrees
• 7. EVEN Rounds a number up to the nearest even integerEXP Returns e raised to the power of a given numberFACT Returns the factorial of a numberFACTDOUBLE Returns the double factorial of a numberFLOOR Rounds a number down, toward zeroGCD Returns the greatest common divisorINT Rounds a number down to the nearest integerLCM Returns the least common multipleLN Returns the natural logarithm of a numberLOG Returns the logarithm of a number to a specified baseLOG10 Returns the base-10 logarithm of a numberMDETERM Returns the matrix determinant of an arrayMINVERSE Returns the matrix inverse of an arrayMMULT Returns the matrix product of two arraysMOD Returns the remainder from divisionMROUND Returns a number rounded to the desired multipleMULTINOMIAL Returns the multinomial of a set of numbersODD Rounds a number up to the nearest odd integerPI Returns the value of piPOWER Returns the result of a number raised to a powerPRODUCT Multiplies its argumentsQUOTIENT Returns the integer portion of a divisionRADIANS Converts degrees to radiansRAND Returns a random number between 0 and 1RANDBETWEEN Returns a random number between the numbers you specifyROMAN Converts an arabic numeral to roman, as textROUND Rounds a number to a specified number of digitsROUNDDOWN Rounds a number down, toward zeroROUNDUP Rounds a number up, away from zeroSERIESSUM Returns the sum of a power series based on the formulaSIGN Returns the sign of a numberSIN Returns the sine of the given angleSINH Returns the hyperbolic sine of a numberSQRT Returns a positive square rootSQRTPI Returns the square root of (number * pi)SUBTOTAL Returns a subtotal in a list or databaseSUM Adds its argumentsSUMIF Adds the cells specified by a given criteriaSUMIFS Adds the cells in a range that meet multiple criteria
• 8. SUMPRODUCT Returns the sum of the products of corresponding array componentsSUMSQ Returns the sum of the squares of the argumentsSUMX2MY2 Returns the sum of the difference of squares of corresponding values in two arraysSUMX2PY2 Returns the sum of the sum of squares of corresponding values in two arraysSUMXMY2 Returns the sum of squares of differences of corresponding values in two arraysTAN Returns the tangent of a numberTANH Returns the hyperbolic tangent of a numberTRUNC Truncates a number to an integerStatistical functionsFunction DescriptionAVEDEV Returns the average of the absolute deviations of data points from their meanAVERAGE Returns the average of its argumentsAVERAGEA Returns the average of its arguments, including numbers, text, and logical valuesAVERAGEIF Returns the average (arithmetic mean) of all the cells in a range that meet a given criteriaAVERAGEIFS Returns the average (arithmetic mean) of all cells that meet multiple criteria.BETADIST Returns the beta cumulative distribution functionBETAINV Returns the inverse of the cumulative distribution function for a specified beta distributionBINOMDIST Returns the individual term binomial distribution probabilityCHIDIST Returns the one-tailed probability of the chi-squared distributionCHIINV Returns the inverse of the one-tailed probability of the chi-squared distributionCHITEST Returns the test for independenceCONFIDENCE Returns the confidence interval for a population meanCORREL Returns the correlation coefficient between two data setsCOUNT Counts how many numbers are in the list of argumentsCOUNTA Counts how many values are in the list of argumentsCOUNTBLANK Counts the number of blank cells within a rangeCOUNTIF Counts the number of cells within a range that meet the given criteriaCOUNTIFS Counts the number of cells within a range that meet multiple criteriaCOVAR Returns covariance, the average of the products of paired deviations Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterionCRITBINOM valueDEVSQ Returns the sum of squares of deviationsEXPONDIST Returns the exponential distributionFDIST Returns the F probability distributionFINV Returns the inverse of the F probability distributionFISHER Returns the Fisher transformationFISHERINV Returns the inverse of the Fisher transformationFORECAST Returns a value along a linear trendFREQUENCY Returns a frequency distribution as a vertical arrayFTEST Returns the result of an F-test
• 9. GAMMADIST Returns the gamma distributionGAMMAINV Returns the inverse of the gamma cumulative distributionGAMMALN Returns the natural logarithm of the gamma function, Γ(x)GEOMEAN Returns the geometric meanGROWTH Returns values along an exponential trendHARMEAN Returns the harmonic meanHYPGEOMDIST Returns the hypergeometric distributionINTERCEPT Returns the intercept of the linear regression lineKURT Returns the kurtosis of a data setLARGE Returns the k-th largest value in a data setLINEST Returns the parameters of a linear trendLOGEST Returns the parameters of an exponential trendLOGINV Returns the inverse of the lognormal distributionLOGNORMDIST Returns the cumulative lognormal distributionMAX Returns the maximum value in a list of argumentsMAXA Returns the maximum value in a list of arguments, including numbers, text, and logical valuesMEDIAN Returns the median of the given numbersMIN Returns the minimum value in a list of argumentsMINA Returns the smallest value in a list of arguments, including numbers, text, and logical valuesMODE Returns the most common value in a data setNEGBINOMDIST Returns the negative binomial distributionNORMDIST Returns the normal cumulative distributionNORMINV Returns the inverse of the normal cumulative distributionNORMSDIST Returns the standard normal cumulative distributionNORMSINV Returns the inverse of the standard normal cumulative distributionPEARSON Returns the Pearson product moment correlation coefficientPERCENTILE Returns the k-th percentile of values in a rangePERCENTRANK Returns the percentage rank of a value in a data setPERMUT Returns the number of permutations for a given number of objectsPOISSON Returns the Poisson distributionPROB Returns the probability that values in a range are between two limitsQUARTILE Returns the quartile of a data setRANK Returns the rank of a number in a list of numbersRSQ Returns the square of the Pearson product moment correlation coefficientSKEW Returns the skewness of a distributionSLOPE Returns the slope of the linear regression lineSMALL Returns the k-th smallest value in a data setSTANDARDIZE Returns a normalized valueSTDEV Estimates standard deviation based on a sample
• 10. STDEVA Estimates standard deviation based on a sample, including numbers, text, and logical valuesSTDEVP Calculates standard deviation based on the entire populationSTDEVPA Calculates standard deviation based on the entire population, including numbers, text, and logical valuesSTEYX Returns the standard error of the predicted y-value for each x in the regressionTDIST Returns the Students t-distributionTINV Returns the inverse of the Students t-distributionTREND Returns values along a linear trendTRIMMEAN Returns the mean of the interior of a data setTTEST Returns the probability associated with a Students t-testVAR Estimates variance based on a sampleVARA Estimates variance based on a sample, including numbers, text, and logical valuesVARP Calculates variance based on the entire populationVARPA Calculates variance based on the entire population, including numbers, text, and logical valuesWEIBULL Returns the Weibull distributionZTEST Returns the one-tailed probability-value of a z-testText functionsFunction Description Changes full-width (double-byte) English letters or katakana within a character string to half-widthASC (single-byte) charactersBAHTTEXT Converts a number to text, using the ß (baht) currency formatCHAR Returns the character specified by the code numberCLEAN Removes all nonprintable characters from textCODE Returns a numeric code for the first character in a text stringCONCATENATE Joins several text items into one text itemDOLLAR Converts a number to text, using the \$ (dollar) currency formatEXACT Checks to see if two text values are identicalFIND, FINDB Finds one text value within another (case-sensitive)FIXED Formats a number as text with a fixed number of decimals Changes half-width (single-byte) English letters or katakana within a character string to full-widthJIS (double-byte) charactersLEFT, LEFTB Returns the leftmost characters from a text valueLEN, LENB Returns the number of characters in a text stringLOWER Converts text to lowercaseMID, MIDB Returns a specific number of characters from a text string starting at the position you specifyPHONETIC Extracts the phonetic (furigana) characters from a text stringPROPER Capitalizes the first letter in each word of a text valueREPLACE, Replaces characters within textREPLACEBREPT Repeats text a given number of timesRIGHT, RIGHTB Returns the rightmost characters from a text value
• 11. SEARCH, SEARCHB Finds one text value within another (not case-sensitive)SUBSTITUTE Substitutes new text for old text in a text stringT Converts its arguments to textTEXT Formats a number and converts it to textTRIM Removes spaces from textUPPER Converts text to uppercaseVALUE Converts a text argument to a number