Excel functions, explained with examples
79 of the Excel functions people use most, each with plain-English explanations, live examples, common mistakes and practice.
Math
SUMAdds numbersAVERAGEMean of numbersMINSmallest numberMAXLargest numberMEDIANMiddle valuePRODUCTMultiplies numbersLARGEk-th largestSMALLk-th smallestROUNDRounds to digitsROUNDUPRounds away from zeroROUNDDOWNRounds toward zeroINTRounds down to integerABSAbsolute valueMODRemainder after divisionSQRTSquare rootPOWERRaises to a power
Counting
COUNTCounts numbersCOUNTACounts non-empty cellsCOUNTBLANKCounts empty cellsCOUNTIFCounts cells that matchCOUNTIFSCounts with several conditions
Conditional
SUMIFAdds cells that matchSUMIFSAdds with several conditionsAVERAGEIFAverages cells that matchAVERAGEIFSAverages with several conditions
Logic
IFPicks a result from a testIFSFirst true test winsANDTrue if all tests are trueORTrue if any test is trueNOTFlips TRUE and FALSEIFERRORFallback when a formula errorsIFNAFallback for #N/A only
Text
LEFTCharacters from the startRIGHTCharacters from the endMIDCharacters from the middleLENLength of textUPPERALL CAPSLOWERall lowercasePROPERCapitalize Each WordTRIMRemoves extra spacesCONCATJoins textCONCATENATEJoins text (older)TEXTJOINJoins with a separatorFINDPosition of text (case-sensitive)SEARCHPosition of textSUBSTITUTEReplaces textVALUEText to numberTEXTNumber to formatted text
Lookup
VLOOKUPVertical lookupHLOOKUPHorizontal lookupXLOOKUPModern lookup in any directionMATCHPosition of a valueINDEXValue at a position
Dates
DATEBuilds a dateTODAYToday’s dateYEARYear of a dateMONTHMonth numberDAYDay of the monthWEEKDAYDay of the week as a numberEDATESame day, months laterEOMONTHLast day of a monthDAYSDays between datesDATEDIFWhole years, months or days betweenNETWORKDAYSWeekdays between dates
Finance
PMTLoan paymentFVFuture value of savingsPVPresent valueSUMPRODUCTMultiply then addSTDEV.SStandard deviation
Cleanup
ISBLANKIs the cell empty?ISNUMBERIs it a number?ISTEXTIs it text?ISERRORIs it an error?TEXTBEFOREText before a delimiterTEXTAFTERText after a delimiter