Function library

Every Excel function

All 521 functions from Microsoft’s list, grouped the way Excel groups them. 500 run right here in the practice sheet; the rest come with step-by-step guides for desktop Excel.

521 functions

Math & trigonometry (80)

ABSAbsolute valueTry in sheetACOSArccosine, in radiansTry in sheetACOSHInverse hyperbolic cosineTry in sheetACOTArccotangent, in radiansTry in sheetACOTHInverse hyperbolic cotangentTry in sheetAGGREGATELike SUBTOTAL, and can skip errorsTry in sheetARABICConverts Roman numerals to a numberTry in sheetASINArcsine, in radiansTry in sheetASINHInverse hyperbolic sineTry in sheetATANArctangent, in radiansTry in sheetATAN2Angle from x and y coordinatesTry in sheetATANHInverse hyperbolic tangentTry in sheetBASEConverts a number to another baseTry in sheetCEILING.MATHRounds up to a multipleTry in sheetCEILING.PRECISERounds up to a multipleTry in sheetCOMBINNumber of combinationsTry in sheetCOMBINACombinations with repetitionTry in sheetCOSCosine of an angle in radiansTry in sheetCOSHHyperbolic cosineTry in sheetCOTCotangentTry in sheetCOTHHyperbolic cotangentTry in sheetCSCCosecantTry in sheetCSCHHyperbolic cosecantTry in sheetDECIMALConverts text in a base to a numberTry in sheetDEGREESRadians to degreesTry in sheetEVENRounds up to an even numberTry in sheetEXPe raised to a powerTry in sheetFACTFactorial (n!)Try in sheetFACTDOUBLEDouble factorial (n!!)Try in sheetFLOOR.MATHRounds down to a multipleTry in sheetFLOOR.PRECISERounds down to a multipleTry in sheetGCDGreatest common divisorTry in sheetINTRounds down to a whole numberTry in sheetISO.CEILINGRounds up to a multipleTry in sheetLCMLeast common multipleTry in sheetLNNatural logarithmTry in sheetLOGLogarithm in any baseTry in sheetLOG10Base-10 logarithmTry in sheetMDETERMDeterminant of a square matrixTry in sheetMINVERSEInverse of a square matrixTry in sheetMMULTMatrix productTry in sheetMODRemainder after divisionTry in sheetMROUNDRounds to the nearest multipleTry in sheetMULTINOMIALMultinomial coefficientTry in sheetMUNITIdentity matrixTry in sheetODDRounds up to an odd numberTry in sheetPERCENTOFSubset as a share of the totalTry in sheetPIThe number πTry in sheetPOWERRaises to a powerTry in sheetPRODUCTMultiplies numbersTry in sheetQUOTIENTWhole-number part of a divisionTry in sheetRADIANSDegrees to radiansTry in sheetRANDRandom number between 0 and 1Try in sheetRANDARRAYArray of random numbersTry in sheetRANDBETWEENRandom whole number in a rangeTry in sheetROMANConverts a number to Roman numeralsTry in sheetROUNDRounds a numberTry in sheetROUNDDOWNRounds toward zeroTry in sheetROUNDUPRounds away from zeroTry in sheetSECSecantTry in sheetSECHHyperbolic secantTry in sheetSEQUENCEA list of numbersTry in sheetSERIESSUMSum of a power seriesTry in sheetSIGN1, 0 or -1 for the signTry in sheetSINSine of an angle in radiansTry in sheetSINHHyperbolic sineTry in sheetSQRTSquare rootTry in sheetSQRTPISquare root of number × πTry in sheetSUBTOTALSubtotal that skips other subtotalsTry in sheetSUMAdds numbers14 exercisesSUMIFAdds cells that meet a conditionTry in sheetSUMIFSAdds cells that meet several conditionsTry in sheetSUMPRODUCTSum of productsTry in sheetSUMSQSum of squaresTry in sheetSUMX2MY2Sum of x² − y²Try in sheetSUMX2PY2Sum of x² + y²Try in sheetSUMXMY2Sum of (x − y)²Try in sheetTANTangent of an angle in radiansTry in sheetTANHHyperbolic tangentTry in sheetTRUNCCuts off decimalsTry in sheet

Statistical (111)

AVEDEVAverage distance from the meanTry in sheetAVERAGEAverage of numbers15 exercisesAVERAGEAAverage counting text as 0Try in sheetAVERAGEIFAverage of cells that meet a conditionTry in sheetAVERAGEIFSAverage with several conditionsTry in sheetBETA.DISTBeta distributionTry in sheetBETA.INVInverse of the beta distributionTry in sheetBINOM.DISTBinomial distributionTry in sheetBINOM.DIST.RANGEProbability of a range of successesTry in sheetBINOM.INVSmallest successes with cumulative ≥ alphaTry in sheetCHISQ.DISTChi-squared distributionTry in sheetCHISQ.DIST.RTRight-tailed chi-squared probabilityTry in sheetCHISQ.INVInverse of the chi-squared distributionTry in sheetCHISQ.INV.RTInverse of the right-tailed chi-squaredTry in sheetCHISQ.TESTChi-squared test of independenceTry in sheetCONFIDENCE.NORMConfidence interval (normal)Try in sheetCONFIDENCE.TConfidence interval (Student’s t)Try in sheetCORRELCorrelation coefficientTry in sheetCOUNTCounts numbersTry in sheetCOUNTACounts non-empty cellsTry in sheetCOUNTBLANKCounts empty cellsTry in sheetCOUNTIFCounts cells that meet a condition15 exercisesCOUNTIFSCounts cells that meet several conditionsTry in sheetCOVARIANCE.PPopulation covarianceTry in sheetCOVARIANCE.SSample covarianceTry in sheetDEVSQSum of squared deviationsTry in sheetEXPON.DISTExponential distributionTry in sheetF.DISTF distributionTry in sheetF.DIST.RTRight-tailed F probabilityTry in sheetF.INVInverse of the F distributionTry in sheetF.INV.RTInverse of the right-tailed FTry in sheetF.TESTTwo-tailed F-test of variancesTry in sheetFISHERFisher transformationTry in sheetFISHERINVInverse Fisher transformationTry in sheetFORECASTPredicts y on a straight lineTry in sheetFORECAST.ETSForecasts a future value with exponential smoothing that understands seasons (for example monthly sales that peak every December).Desktop Excel guideFORECAST.ETS.CONFINTGives the ± range around a FORECAST.ETS prediction, so you can show “expected 120 ± 15”.Desktop Excel guideFORECAST.ETS.SEASONALITYTells you the season length Excel found in your data (for example 12 for a yearly pattern in monthly data).Desktop Excel guideFORECAST.ETS.STATReturns the statistics behind an ETS forecast (smoothing parameters and error measures) so you can judge how good it is.Desktop Excel guideFORECAST.LINEARPredicts y on a straight lineTry in sheetFREQUENCYHow many values fall in each binTry in sheetGAMMAGamma function valueTry in sheetGAMMA.DISTGamma distributionTry in sheetGAMMA.INVInverse of the gamma distributionTry in sheetGAMMALNNatural log of the gamma functionTry in sheetGAMMALN.PRECISENatural log of the gamma functionTry in sheetGAUSSProbability between the mean and zTry in sheetGEOMEANGeometric meanTry in sheetGROWTHValues along an exponential trendTry in sheetHARMEANHarmonic meanTry in sheetHYPGEOM.DISTHypergeometric distributionTry in sheetINTERCEPTWhere the best-fit line crosses yTry in sheetKURTKurtosisTry in sheetLARGEk-th largest valueTry in sheetLINESTBest-fit straight line statisticsTry in sheetLOGESTBest-fit exponential curve statisticsTry in sheetLOGNORM.DISTLognormal distributionTry in sheetLOGNORM.INVInverse of the lognormal distributionTry in sheetMAXLargest numberTry in sheetMAXALargest value counting text as 0Try in sheetMAXIFSLargest value meeting conditionsTry in sheetMEDIANMiddle valueTry in sheetMINSmallest numberTry in sheetMINASmallest value counting text as 0Try in sheetMINIFSSmallest value meeting conditionsTry in sheetMODE.MULTAll most-frequent numbersTry in sheetMODE.SNGLMost frequent numberTry in sheetNEGBINOM.DISTNegative binomial distributionTry in sheetNORM.DISTNormal distributionTry in sheetNORM.INVInverse of the normal distributionTry in sheetNORM.S.DISTStandard normal distributionTry in sheetNORM.S.INVInverse of the standard normalTry in sheetPEARSONPearson correlation coefficientTry in sheetPERCENTILE.EXCk-th percentile (0 to 1 exclusive)Try in sheetPERCENTILE.INCk-th percentile (0 to 1 inclusive)Try in sheetPERCENTRANK.EXCRank as a percentage (exclusive)Try in sheetPERCENTRANK.INCRank as a percentage (inclusive)Try in sheetPERMUTNumber of permutationsTry in sheetPERMUTATIONAPermutations with repetitionTry in sheetPHIStandard normal densityTry in sheetPOISSON.DISTPoisson distributionTry in sheetPROBProbability that values fall in a rangeTry in sheetQUARTILE.EXCQuartile (1 to 3)Try in sheetQUARTILE.INCQuartile (0 to 4)Try in sheetRANK.AVGRank, averaging tiesTry in sheetRANK.EQRank of a number in a listTry in sheetRSQR² of the best-fit lineTry in sheetSKEWSkewness of a sampleTry in sheetSKEW.PSkewness of a populationTry in sheetSLOPESlope of the best-fit lineTry in sheetSMALLk-th smallest valueTry in sheetSTANDARDIZEz-score of a valueTry in sheetSTDEV.PStandard deviation of a populationTry in sheetSTDEV.SStandard deviation of a sampleTry in sheetSTDEVASample standard deviation counting text as 0Try in sheetSTDEVPAPopulation standard deviation counting text as 0Try in sheetSTEYXStandard error of predicted yTry in sheetT.DISTStudent’s t distributionTry in sheetT.DIST.2TTwo-tailed t probabilityTry in sheetT.DIST.RTRight-tailed t probabilityTry in sheetT.INVLeft-tailed inverse of tTry in sheetT.INV.2TTwo-tailed inverse of tTry in sheetT.TESTt-test probabilityTry in sheetTRENDValues along a straight-line trendTry in sheetTRIMMEANMean after trimming the extremesTry in sheetVAR.PVariance of a whole populationTry in sheetVAR.SVariance of a sampleTry in sheetVARASample variance counting text as 0Try in sheetVARPAPopulation variance counting text as 0Try in sheetWEIBULL.DISTWeibull distributionTry in sheetZ.TESTOne-tailed z-test probabilityTry in sheet

Logical (19)

Lookup & reference (40)

ADDRESSA cell address as textTry in sheetAREASNumber of areas in a referenceTry in sheetCHOOSEPicks a value by positionTry in sheetCHOOSECOLSPicks columns from an arrayTry in sheetCHOOSEROWSPicks rows from an arrayTry in sheetCOLUMNColumn number of a referenceTry in sheetCOLUMNSNumber of columnsTry in sheetDROPRemoves rows or columns from the start or endTry in sheetEXPANDGrows an array to a sizeTry in sheetFILTERRows that meet a conditionTry in sheetFORMULATEXTThe formula in a cell, as textTry in sheetGETPIVOTDATAReads one number out of a PivotTable by naming it (“Sales for North”), so the formula keeps working when the PivotTable changes shape.Desktop Excel guideGROUPBYGroups rows and summarises values (like a quick PivotTable)Try in sheetHLOOKUPLooks across the first rowTry in sheetHSTACKJoins arrays side by sideTry in sheetHYPERLINKA clickable link (shows its name)Try in sheetIMAGEPuts a picture from the web inside a cell, where it moves and sorts with the data.Desktop Excel guideINDEXValue at a row and columnTry in sheetINDIRECTThe reference named by some textTry in sheetLOOKUPApproximate lookup in a row or columnTry in sheetMATCHPosition of a value in a listTry in sheetOFFSETA reference moved from a starting pointTry in sheetPIVOTBYSummarises values by rows and columns (like a PivotTable)Try in sheetROWRow number of a referenceTry in sheetROWSNumber of rowsTry in sheetRTDShows live, real-time data pushed by a program on your computer (for example a trading platform).Desktop Excel guideSORTSorts a rangeTry in sheetSORTBYSorts by other rangesTry in sheetTAKERows or columns from the start or endTry in sheetTOCOLTurns an array into one columnTry in sheetTOROWTurns an array into one rowTry in sheetTRANSPOSESwaps rows and columnsTry in sheetTRIMRANGERemoves empty edge rows and columnsTry in sheetUNIQUERemoves duplicatesTry in sheetVLOOKUPLooks down the first columnTry in sheetVSTACKStacks arrays on top of each otherTry in sheetWRAPCOLSWraps a list into columnsTry in sheetWRAPROWSWraps a list into rowsTry in sheetXLOOKUPFinds a value and returns its match10 exercisesXMATCHPosition of a value (modern MATCH)Try in sheet

Text (50)

ARRAYTOTEXTAn array written as textTry in sheetASCFull-width (double-byte) to half-widthTry in sheetBAHTTEXTNumber as Thai text with “baht”Try in sheetCHARCharacter from a code (1–255)Try in sheetCLEANRemoves non-printing charactersTry in sheetCODECode of the first characterTry in sheetCONCATJoins textTry in sheetCONCATENATEJoins textTry in sheetDBCSHalf-width to full-width (double-byte)Try in sheetDETECTLANGUAGETells you which language some text is written in, as a language code (for example "fr").Desktop Excel guideDOLLARNumber as currency textTry in sheetEXACTTRUE if exactly the sameTry in sheetFINDPosition of text (case-sensitive)Try in sheetFINDBPosition of text (bytes)Try in sheetFIXEDNumber as text with fixed decimalsTry in sheetJISHalf-width to full-width (double-byte)Try in sheetLEFTFirst charactersTry in sheetLEFTBFirst characters (bytes)Try in sheetLENNumber of charactersTry in sheetLENBLength in bytesTry in sheetLOWERConverts to lower caseTry in sheetMIDCharacters from the middleTry in sheetMIDBCharacters from the middle (bytes)Try in sheetNUMBERVALUEText to number with any separatorsTry in sheetPHONETICFurigana (phonetic) textTry in sheetPROPERCapitalises Each WordTry in sheetREGEXEXTRACTExtracts text matching a patternTry in sheetREGEXREPLACEReplaces text matching a patternTry in sheetREGEXTESTTRUE if the text matches a patternTry in sheetREPLACEReplaces characters at a positionTry in sheetREPLACEBReplaces characters (bytes)Try in sheetREPTRepeats textTry in sheetRIGHTLast charactersTry in sheetRIGHTBLast characters (bytes)Try in sheetSEARCHPosition of text (any case, wildcards)Try in sheetSEARCHBPosition of text (bytes, any case)Try in sheetSUBSTITUTEReplaces textTry in sheetTThe text, or "" if it isn’t textTry in sheetTEXTFormats a number as textTry in sheetTEXTAFTERText after a delimiterTry in sheetTEXTBEFOREText before a delimiterTry in sheetTEXTJOINJoins text with a separatorTry in sheetTEXTSPLITSplits text into columns and rowsTry in sheetTRANSLATETranslates text between languages using Microsoft’s translation service.Desktop Excel guideTRIMRemoves extra spacesTry in sheetUNICHARCharacter from a Unicode numberTry in sheetUNICODEUnicode number of the first characterTry in sheetUPPERConverts to CAPITALSTry in sheetVALUEConverts text to a numberTry in sheetVALUETOTEXTA value written as textTry in sheet

Date & time (25)

Financial (56)

ACCRINTAccrued interest of a periodic-interest securityTry in sheetACCRINTMAccrued interest paid at maturityTry in sheetAMORDEGRCFrench declining-balance depreciationTry in sheetAMORLINCFrench straight-line depreciationTry in sheetCOUPDAYBSDays from coupon start to settlementTry in sheetCOUPDAYSDays in the coupon periodTry in sheetCOUPDAYSNCDays from settlement to next couponTry in sheetCOUPNCDNext coupon date after settlementTry in sheetCOUPNUMNumber of coupons leftTry in sheetCOUPPCDCoupon date before settlementTry in sheetCUMIPMTInterest paid between two periodsTry in sheetCUMPRINCPrincipal paid between two periodsTry in sheetDBFixed-declining balance depreciationTry in sheetDDBDouble-declining balance depreciationTry in sheetDISCDiscount rate of a securityTry in sheetDOLLARDEFraction price to a decimalTry in sheetDOLLARFRDecimal price to a fractionTry in sheetDURATIONMacaulay duration of a bondTry in sheetEFFECTEffective annual interest rateTry in sheetEUROCONVERTConverts between euro-zone currenciesTry in sheetFVFuture value of an investmentTry in sheetFVSCHEDULEFuture value with changing ratesTry in sheetINTRATEInterest rate of a fully invested securityTry in sheetIPMTInterest part of a paymentTry in sheetIRRInternal rate of returnTry in sheetISPMTInterest paid in a period (straight-line loan)Try in sheetMDURATIONModified duration of a bondTry in sheetMIRRModified internal rate of returnTry in sheetNOMINALNominal annual interest rateTry in sheetNPERNumber of payment periodsTry in sheetNPVNet present valueTry in sheetODDFPRICEPrice of a bond with an odd first periodTry in sheetODDFYIELDYield of a bond with an odd first periodTry in sheetODDLPRICEPrice of a bond with an odd last periodTry in sheetODDLYIELDYield of a bond with an odd last periodTry in sheetPDURATIONPeriods to reach a valueTry in sheetPMTPayment for a loanTry in sheetPPMTPrincipal part of a paymentTry in sheetPRICEPrice per $100 of a bondTry in sheetPRICEDISCPrice of a discounted securityTry in sheetPRICEMATPrice of a security that pays interest at maturityTry in sheetPVPresent value of an investmentTry in sheetRATEInterest rate per periodTry in sheetRECEIVEDAmount received at maturityTry in sheetRRIEquivalent interest rate for growthTry in sheetSLNStraight-line depreciationTry in sheetSYDSum-of-years’ digits depreciationTry in sheetTBILLEQBond-equivalent yield of a Treasury billTry in sheetTBILLPRICEPrice of a Treasury billTry in sheetTBILLYIELDYield of a Treasury billTry in sheetVDBDeclining balance depreciation for any periodTry in sheetXIRRInternal rate of return for irregular datesTry in sheetXNPVNet present value of irregular cash flowsTry in sheetYIELDYield of a bondTry in sheetYIELDDISCYield of a discounted securityTry in sheetYIELDMATYield of a security that pays interest at maturityTry in sheet

Information (21)

Database (12)

Engineering (54)

BESSELIModified Bessel function In(x)Try in sheetBESSELJBessel function Jn(x)Try in sheetBESSELKModified Bessel function Kn(x)Try in sheetBESSELYBessel function Yn(x)Try in sheetBIN2DECConverts binary to decimalTry in sheetBIN2HEXConverts binary to hexadecimalTry in sheetBIN2OCTConverts binary to octalTry in sheetBITANDBitwise ANDTry in sheetBITLSHIFTShifts bits leftTry in sheetBITORBitwise ORTry in sheetBITRSHIFTShifts bits rightTry in sheetBITXORBitwise XORTry in sheetCOMPLEXBuilds a complex numberTry in sheetCONVERTConverts between unitsTry in sheetDEC2BINConverts decimal to binaryTry in sheetDEC2HEXConverts decimal to hexadecimalTry in sheetDEC2OCTConverts decimal to octalTry in sheetDELTA1 if two numbers are equalTry in sheetERFError functionTry in sheetERF.PRECISEError functionTry in sheetERFCComplementary error functionTry in sheetERFC.PRECISEComplementary error functionTry in sheetGESTEP1 if number ≥ stepTry in sheetHEX2BINConverts hexadecimal to binaryTry in sheetHEX2DECConverts hexadecimal to decimalTry in sheetHEX2OCTConverts hexadecimal to octalTry in sheetIMABSAbsolute value (modulus)Try in sheetIMAGINARYImaginary partTry in sheetIMARGUMENTAngle (argument) in radiansTry in sheetIMCONJUGATEComplex conjugateTry in sheetIMCOSCosineTry in sheetIMCOSHHyperbolic cosineTry in sheetIMCOTCotangentTry in sheetIMCSCCosecantTry in sheetIMCSCHHyperbolic cosecantTry in sheetIMDIVQuotientTry in sheetIMEXPExponentialTry in sheetIMLNNatural logarithmTry in sheetIMLOG10Base-10 logarithmTry in sheetIMLOG2Base-2 logarithmTry in sheetIMPOWERRaised to a powerTry in sheetIMPRODUCTProduct of complex numbersTry in sheetIMREALReal partTry in sheetIMSECSecantTry in sheetIMSECHHyperbolic secantTry in sheetIMSINSineTry in sheetIMSINHHyperbolic sineTry in sheetIMSQRTSquare rootTry in sheetIMSUBDifferenceTry in sheetIMSUMSum of complex numbersTry in sheetIMTANTangentTry in sheetOCT2BINConverts octal to binaryTry in sheetOCT2DECConverts octal to decimalTry in sheetOCT2HEXConverts octal to hexadecimalTry in sheet

Compatibility (40)

BETADISTBeta cumulative distributionTry in sheetBETAINVInverse of the beta distributionTry in sheetBINOMDISTBinomial distributionTry in sheetCEILINGRounds up to a multipleTry in sheetCHIDISTRight-tailed chi-squared probabilityTry in sheetCHIINVInverse of the right-tailed chi-squaredTry in sheetCHITESTChi-squared test of independenceTry in sheetCONFIDENCEConfidence interval (normal)Try in sheetCOVARPopulation covarianceTry in sheetCRITBINOMSmallest successes with cumulative ≥ alphaTry in sheetEXPONDISTExponential distributionTry in sheetFDISTRight-tailed F probabilityTry in sheetFINVInverse of the right-tailed FTry in sheetFLOORRounds down to a multipleTry in sheetFTESTTwo-tailed F-test of variancesTry in sheetGAMMADISTGamma distributionTry in sheetGAMMAINVInverse of the gamma distributionTry in sheetHYPGEOMDISTHypergeometric probabilityTry in sheetLOGINVInverse of the lognormal distributionTry in sheetLOGNORMDISTLognormal cumulative distributionTry in sheetMODEMost frequent numberTry in sheetNEGBINOMDISTNegative binomial probabilityTry in sheetNORMDISTNormal distributionTry in sheetNORMINVInverse of the normal distributionTry in sheetNORMSDISTStandard normal cumulative distributionTry in sheetNORMSINVInverse of the standard normalTry in sheetPERCENTILEk-th percentile (0 to 1 inclusive)Try in sheetPERCENTRANKRank as a percentage (inclusive)Try in sheetPOISSONPoisson distributionTry in sheetQUARTILEQuartile (0 to 4)Try in sheetRANKRank of a number in a listTry in sheetSTDEVStandard deviation of a sampleTry in sheetSTDEVPStandard deviation of a populationTry in sheetTDISTt-distribution tail probabilityTry in sheetTINVTwo-tailed inverse of tTry in sheetTTESTt-test probabilityTry in sheetVARVariance of a sampleTry in sheetVARPVariance of a whole populationTry in sheetWEIBULLWeibull distributionTry in sheetZTESTOne-tailed z-test probabilityTry in sheet

Web (6)

Cube (7)