Functions

Excel Functions are a great way to complete tasks quickly and efficiently. The list of functions includes lookup, logic, date and time, text, information, and math, each with its own example. These functions are preset within Excel, meaning they are hard-coded formulas that have been given simple, user-friendly names for easy use.

Excel offers a vast library of over 350 built-in functions, we have each with an example and video to help you understand how to use them. To quickly find the category you need, use the list provided or search for specific tutorials using the search box.

Logical

The functions below take a formula and use logical tests and logical operators to determine if it is true or false.

FunctionHow it works
ANDReturns TRUE if all arguments are TRUE.
FALSEReturns the logical value of FALSE.
IFReturns one value if true and another value if false.
IFERRORReturns a value if no errors, otherwise returns another value.
IFNAReturns a value if it is not #N/A, otherwise returns another value.
IFSReturns value if corresponding condition is TRUE.
NOTReverses the logical value of an argument.
ORReturns TRUE if any argument is TRUE.
SWITCHEvaluates an expression against a list of values and returns corresponding result.
TRUEReturns the logical value of TRUE.
XORReturns TRUE if only one argument is TRUE.

Date and Time

Date and Time functions allow you to make calculations based on specific dates and times. This can help create reports, track progress, and manage deadlines.

FunctionHow it works
DATECreates a date from year, month, and day.
DATEDIFCalculates difference between two dates.
DATEVALUEConverts text to a date.
DAYReturns the day of the month.
DAYSCalculates number of days between two dates.
DAYS360Calculates number of days between two dates using a 360-day year.
EDATEReturns a date a number of months before or after a given date.
EOMONTHReturns the last day of the month before or after a given date.
HOURReturns the hour of a time.
ISOWEEKNUMReturns the ISO week number.
MINUTEReturns the minute of a time.
MONTHReturns the month of a date.
NETWORKDAYSCalculates number of workdays between two dates.
NETWORKDAYS.INTLCalculates number of workdays between two dates with custom weekend.
NOWReturns the current date and time.
SECONDReturns the second of a time.
TIMECreates a time from hour, minute, and second.
TIMEVALUEConverts text to a time.
TODAYReturns the current date.
WEEKDAYReturns the day of the week.
WEEKNUMReturns the week number of the year.
WORKDAYCalculates the nth working day after a date.
WORKDAY.INTLCalculates the nth working day after a date with custom weekend.
YEARReturns the year of a date.
YEARFRACCalculates the fraction of the year between two dates.

Lookup and Reference

It is important to be aware of the existing lookup functions in Excel, even though XLOOKUP is a game-changer. Here is a list of the lookup functions available in Excel.

FunctionHow it works
ADDRESSReturns the cell reference as text.
AREASReturns the number of ranges in a reference.
CHOOSEReturns a value from a list of values.
COLUMNReturns the column number of a reference.
COLUMNSReturns the number of columns in a reference.
FIELDVALUEReturns a value from a PivotTable.
FORMULATEXTReturns the formula as text.
GETPIVOTDATAReturns data stored in a PivotTable.
HLOOKUPSearches a row for a value and returns a corresponding value.
HYPERLINKCreates a hyperlink.
INDEXReturns a value or reference of a cell.
INDIRECTReturns a reference specified by a text string.
LOOKUPSearches for a value and returns a corresponding value.
MATCHSearches for a value and returns its position.
OFFSETReturns a reference offset from a given reference.
ROWReturns the row number of a reference.
ROWSReturns the number of rows in a reference.
TRANSPOSETransposes rows and columns in a range.
VLOOKUPSearches a column for a value and returns a corresponding value.

Text

Excel’s text functions allow you to perform calculations on strings of text, enabling you to manipulate and analyze your data in a variety of ways.

FunctionHow it works
CHARReturns a character based on a numeric code.
CLEANRemoves non-printable characters from text.
CODEReturns the numeric code for a character.
CONCATJoins two or more text strings without delimiter.
CONCATENATEJoins two or more text strings.
DOLLARConverts a number to currency format.
EXACTTests whether two values are identical.
FINDFinds the position of a text string within another text string.
FIXEDFormats a number with a fixed number of decimal places.
LEFTReturns a specified number of characters from the start of a text string.
LENReturns the number of characters in a text string.
LOWERConverts text to lowercase.
MIDReturns a specified number of characters from within a text string.
NUMBERVALUEConverts text to a number.
PROPERCapitalizes the first letter of each word in a text string.
REPLACEReplaces part of a text string with another text string.
REPTRepeats text a given number of times.
RIGHTReturns a specified number of characters from the end of a text string.
SEARCHFinds the position of a text string within another text string (case-insensitive).
SUBSTITUTEReplaces a text string with another text string.
TEXTConverts a value to text.
TEXTJOINJoins two or more text strings with a delimiter.
TRIMRemoves leading and trailing spaces from text.
UNICHARReturns the character specified by a Unicode number.
UNICODEReturns the Unicode number for a character.
UPPERConverts text to uppercase.
VALUEConverts text to a number.

Dynamic Array

Dynamic Arrays are arrays that can change in size. Excel now automatically calculates these arrays, taking the formula from a single cell and placing the result into multiple cells.

FunctionHow it works
ARRAYTOTEXTConvert array to text with specified separator.
BYCOLTranspose an array by column.
BYROWTranspose an array by row.
CHOOSECOLSExtract specific columns from a range of data.
CHOOSEROWSExtract specific rows from a range of data.
DROPRemove rows or columns from a range of data.
EXPANDFill a range of data with values based on adjacent cells.
FILTERFilter rows or columns of data based on specified criteria.
HSTACKStack data horizontally.
ISOMITTEDCheck if values are omitted from an array.
LAMBDACreate a custom function.
LETAssign variables and use in formula.
MAKEARRAYCreate an array of specified size and values.
MAPApply a function to each element in an array.
RANDARRAYCreate an array of random values.
REDUCEReduce an array to a single value based on a specified operation.
SCANApply a function to each element in an array, accumulating the result.
SEQUENCECreate an array of sequential numbers.
SORTSort an array in ascending or descending order.
SORTBYSort an array based on the values in another array.
STOCKHISTORYRetrieve historical stock prices.
TAKEReturn a specified number of rows or columns from a range of data.
TEXTAFTERReturn text after a specified character or substring.
TEXTBEFOREReturn text before a specified character or substring.
TEXTSPLITSplit text into separate cells based on a specified delimiter.
TOCOLConvert a row to a column.
TOROWConvert a column to a row.
UNIQUERemove duplicate values from an array.
VALUETOTEXTConvert values to text.
VSTACKStack data vertically.
WRAPCOLSWrap text in a range of data by column.
WRAPROWSWrap text in a range of data by row.
XLOOKUPLookup a value in a table or range and return a corresponding result.
XMATCHSearch for a value in a range and return its position.

Engineering

The Excel Engineering functions help users to perform complex engineering calculations with ease. They include functions for calculating the area of a circle, the area of a triangle, and the volume of a rectangle, as well as functions for manipulating and analyzing engineering data.

FunctionHow it works
BIN2DECConverts a binary number to decimal.
BIN2HEXConverts a binary number to hexadecimal.
BIN2OCTConverts a binary number to octal.
BITANDReturns a bitwise ‘AND’ of two numbers.
BITLSHIFTReturns a bitwise left shift of a number.
BITORReturns a bitwise ‘OR’ of two numbers.
BITRSHIFTReturns a bitwise right shift of a number.
BITXORReturns a bitwise ‘XOR’ of two numbers.
COMPLEXCreates a complex number from real and imaginary coefficients.
CONVERTConverts a number from one measurement system to another.
DEC2BINConverts a decimal number to binary.
DEC2HEXConverts a decimal number to hexadecimal.
DEC2OCTConverts a decimal number to octal.
DELTATests whether two values are equal and returns either 1 or 0.
HEX2BINConverts a hexadecimal number to binary.
HEX2DECConverts a hexadecimal number to decimal.
HEX2OCTConverts a hexadecimal number to octal.
IMABSReturns the absolute value (magnitude) of a complex number.
IMAGINARYReturns the imaginary coefficient of a complex number.
IMPOWERReturns a complex number raised to a power.
IMPRODUCTReturns the product of a series of complex numbers.
IMREALReturns the real coefficient of a complex number.
IMSUBReturns the difference of two complex numbers.
IMSUMReturns the sum of a series of complex numbers.

Financial

Excel Financial functions are used to calculate loan payments, interest rates, present and future values, depreciation, annuities, and more. They enable users to make informed decisions related to their finances.

FunctionHow it works
ACCRINTCalculates the accrued interest between two coupon payments.
ACCRINTMCalculates the accrued interest for a security that pays interest at maturity.
AMORDEGRCCalculates the depreciation for an asset based on a variable declining balance method.
AMORLINCCalculates the depreciation for an asset based on a fixed declining balance method.
COUPDAYBSCalculates the number of days from the beginning of the coupon period to the settlement date.
COUPDAYSCalculates the number of days in the coupon period that contains the settlement date.
COUPDAYSNCCalculates the number of days from the settlement date to the next coupon date.
COUPNCDCalculates the next coupon date after the settlement date.
COUPNUMCalculates the number of coupon periods between the settlement date and maturity date.
COUPPCDCalculates the previous coupon date before the settlement date.
CUMIPMTCalculates the cumulative interest paid between two periods.
CUMPRINCCalculates the cumulative principal paid on a loan between two periods.
DBCalculates the depreciation of an asset for a specified period using the fixed declining balance method.
DDBCalculates the depreciation of an asset for a specified period using the double declining balance method.
DISCCalculates the discount rate of a security.
DOLLARDEConverts a decimal number into a dollar price.
DOLLARFRConverts a decimal number into a fractional dollar price.
DURATIONCalculates the duration of a security.
EFFECTCalculates the effective annual interest rate.
FVCalculates the future value of an investment.
FVSCHEDULECalculates the future value of an initial principal after applying a series of compound interest rates.
INTRATECalculates the interest rate for a fully invested security.
IPMTCalculates the interest payment for a given period.
IRRCalculates the internal rate of return for a series of cash flows.
ISPMTCalculates the interest payment for a given period for an investment with periodic payments.
MDURATIONCalculates the modified duration of a security.
MIRRCalculates the modified internal rate of return for a series of cash flows.
NOMINALCalculates the nominal annual interest rate.
NPERCalculates the number of periods required to pay off a loan or investment.
NPVCalculates the net present value of an investment based on a series of cash flows.
ODDFPRICECalculates the price of a security with an odd first period.
ODDFYIELDCalculates the yield of a security with an odd first period.
ODDLPRICECalculates the price of a security with an odd last period.
ODDLYIELDCalculates the yield of a security with an odd last period.
PDURATIONCalculates the number of periods required to reach a specified present value.
PMTCalculates the payment amount for a loan or investment.
PPMTCalculates the principal payment for a given period.
PRICECalculates the price of a security.
PRICEDISCCalculates the price of a discounted security.
PRICEMATCalculates the price of a security that pays interest at maturity.
PVCalculates the present value of an investment.
RATECalculates the interest rate for a loan or investment.
RECEIVEDCalculates the amount received at maturity for a fully invested security.
RRICalculates the interest rate for an investment with periodic payments.
SLNCalculates the straight-line depreciation of an asset for a specified period.
SYDCalculates the sum-of-years’ digits depreciation of an asset for a specified period.
TBILLEQReturns the bond-equivalent yield for a Treasury bill.
TBILLPRICEReturns the price per $100 face value for a Treasury bill.
TBILLYIELDReturns the yield for a Treasury bill.
VDBReturns the depreciation of an asset for a specified period using the double-declining balance method or another specified method.
XIRRReturns the internal rate of return for a schedule of cash flows that is not necessarily periodic.
XNPVReturns the net present value of a schedule of cash flows that is not necessarily periodic.
YIELDReturns the yield on a security that pays periodic interest, such as a bond.
YIELDDISCReturns the annual yield for a discounted security.
YIELDMATReturns the annual yield of a security that pays interest at maturity.

Information

Excel Information functions provide information about the content and properties of cells, such as the data type, whether the cell contains an error, and the column or row heading.

FunctionHow it works
CELLReturns information about a cell such as formatting or location.
ERROR.TYPEReturns a number indicating the error type of a given error value.
INFOReturns information about the current operating environment.
ISBLANKReturns TRUE if a cell is empty or contains only whitespace.
ISERRReturns TRUE if a value is any error value except for #N/A.
ISERRORReturns TRUE if a value is any error value.
ISEVENReturns TRUE if a number is even.
ISFORMULAReturns TRUE if a cell contains a formula.
ISLOGICALReturns TRUE if a value is a logical value (TRUE or FALSE).
ISNAReturns TRUE if a value is #N/A.
ISNONTEXTReturns TRUE if a value is not text.
ISNUMBERReturns TRUE if a value is a number.
ISODDReturns TRUE if a number is odd.
ISREFReturns TRUE if a value is a reference.
ISTEXTReturns TRUE if a value is text.
NReturns a value converted to a number.
NAReturns the #N/A error value.
SHEETReturns the sheet number of a reference.
SHEETSReturns the number of sheets in a reference.
TReturns a text value with leading and trailing spaces removed.
TYPEReturns a number indicating the data type of a value.

Math

Excel Math functions allow users to perform mathematical calculations, such as addition, subtraction, multiplication, division, and more. They can also be used to calculate statistical values such as mean, median, mode, and standard deviation.

FunctionHow it works
ABSReturns the absolute value of a number.
AGGREGATEReturns a calculation based on a selected option and a range of values.
ARABICConverts a Roman numeral to an Arabic numeral.
BASEConverts a number into a text representation with the given radix (base).
CEILINGRounds a number up to the nearest multiple of a specified value.
CEILING.MATHRounds a number up to the nearest integer or multiple of significance.
CEILING.PRECISERounds a number up to the nearest integer or multiple of significance.
COMBINReturns the number of combinations for a given number of objects.
COMBINAReturns the number of combinations with repetitions for a given number of items.
DECIMALConverts a text representation of a binary, octal, or hexadecimal number to a decimal number.
EVENRounds a number up to the nearest even integer.
EXPReturns e raised to the power of a given number.
FACTReturns the factorial of a given number.
FACTDOUBLEReturns the double factorial of a given number.
FLOORRounds a number down to the nearest multiple of a specified value.
FLOOR.MATHRounds a number down to the nearest integer or multiple of significance.
FLOOR.PRECISERounds a number down to the nearest integer or multiple of significance.
GCDReturns the greatest common divisor of two or more numbers.
INTRounds a number down to the nearest integer.
LCMReturns the least common multiple of two or more numbers.
LNReturns the natural logarithm of a given number.
LOGReturns the logarithm of a number to a specified base.
LOG10Returns the base-10 logarithm of a given number.
MDETERMReturns the matrix determinant of an array.
MINVERSEReturns the matrix inverse of an array.
MMULTReturns the matrix multiplication of two arrays.
MODReturns the remainder after a number is divided by a divisor.
MROUNDRounds a number to the nearest multiple of a specified value.
MUNITReturns the unit matrix of a specified size.
ODDRounds a number up to the nearest odd integer.
PIReturns the value of pi.
POWERReturns a number raised to a power.
PRODUCTReturns the product of a range of values.
QUOTIENTReturns the integer portion of a division operation.
RANDReturns a random number between 0 and 1.
RANDBETWEENReturns a random integer between two specified values.
ROMANConverts an Arabic numeral to a Roman numeral.
ROUNDRounds a number to a specified number of decimal places.
ROUNDDOWNRounds a number down to a specified number of decimal places.
ROUNDUPRounds a number up to a specified number of decimal places.
SIGNReturns the sign of a number (1 if positive, -1 if negative, 0 if zero).
SQRTReturns the square root of a given number.
SUBTOTALReturns a subtotal for a range using a specified function.
SUMReturns the sum of a range of values.
SUMIFReturns the sum of a range of values that meet a specified criterion.
SUMIFSReturns the sum of a range of values that meet multiple specified criteria.
SUMPRODUCTReturns the sum of the products of corresponding ranges of values.
SUMSQReturns the sum of the squares of a range of values.
SUMX2MY2Returns the sum of the difference between squares of two corresponding ranges.
SUMX2PY2Returns the sum of the sum of squares of corresponding values in two arrays.
SUMXMY2Returns the sum of squares of differences of corresponding values in two arrays.
TRUNCTruncates a number to a specified number of decimal places.

Trigonometry

Excel Trigonometry functions allow users to perform trigonometric calculations such as calculating sine, cosine, tangent, arcsine, arccosine, arctangent, and other related functions. They are useful for solving trigonometry problems in engineering, physics, and other mathematical fields.

FunctionHow it works
ACOSReturns the arccosine of a number in radians.
ASINReturns the arcsine of a number in radians.
ATANReturns the arctangent of a number in radians.
ATAN2Returns the arctangent from x and y coordinates.
COSReturns the cosine of a number in radians.
COSHReturns the hyperbolic cosine of a number.
COTReturns the cotangent of an angle.
CSCReturns the cosecant of an angle.
DEGREESConverts radians to degrees.
RADIANSConverts degrees to radians.
SECReturns the secant of an angle.
SINReturns the sine of a number in radians.
SINHReturns the hyperbolic sine of a number.
TANReturns the tangent of a number in radians.

Statistical

Excel Statistical Functions are a set of tools used to analyze and summarize data. They can be used to calculate the mean, median, mode, standard deviation, variance, percentiles, and many other useful calculations.

FunctionHow it works
AVEDEVCalculate variability
AVERAGECalculate the average of supplied numbers
AVERAGEAGet the average of supplied numbers (evaluate the logical values also)
AVERAGEIFGet the average of numbers in a range that meets the criteria
AVERAGEIFSGet the average of numbers in a range that meets one or more criteria
BINOM.DISTReturn binomial distribution probability
BINOMDISTGet binomial distribution probability
COUNTCount numbers in a list or range
COUNTACount the number in a list or range (ignore blank cells)
COUNTBLANKCount blank cells
COUNTIFCount cells based on a criteria
COUNTIFSCount cells based on one or more criteria
DEVSQReturn sum of squared deviations
FORECASTPredict value based on existing values along with a linear trend
FORECAST.ETSPredict value based on existing values along with a seasonal trend
FORECAST.ETS.CONFINTPredict value along with a linear trend (from Excel 2016 FORECAST function was replaced)
FORECAST.ETS.SEASONALITYGet length of the seasonal pattern
FORECAST.ETS.STATGet statistical value related to forecasting
FORECAST.LINEARPredict value along a linear trend
FREQUENCYReturns a frequency distribution
GEOMEANGet geometric mean for a set of numeric values
HARMEANGet harmonic mean for a set of numeric values
INTERCEPTReturns the point at which a regression line will intersect the y-axis
LARGEGet the nth largest value
LINESTGet parameters of linear trend
MAXReturn the largest numeric value (ignores empty cells)
MAXAReturn the largest numeric value (ignores empty cells and evaluates logical values)
MAXIFSCalculate the maximum value with one or more criteria
MEDIANGet the median of a group of numbers
MINGet the smallest value.
MINAReturn smallest value.
MINIFSGet minimum value with criteria
MODEGet most frequently occurring number
MODE.MULTGet most frequently occurring numbers
MODE.SNGLGet most frequently occurring number
NORM.DISTGet values and areas for the normal distribution
NORM.INVGet the inverse of normal cumulative distribution
NORM.S.DISTGet the standard normal CDF and PDF.
NORM.S.INVGet inverse of the standard normal cumulative distribution
PERCENTILEGet kth percentile
PERCENTILE.EXCGet kth percentile
PERCENTILE.INCGet kth percentile
PERCENTRANKGet percentile rank, inclusive
PERCENTRANK.EXCGet percentile rank, exclusive
PERCENTRANK.INCGet percentile rank, inclusive
PERMUTGet number of permutations without repetitions
PERMUTATIONAGet number of permutations with repetitions
QUARTILEGet the quartile in a data set
QUARTILE.EXCGet the quartile in a data set
QUARTILE.INCGet the quartile in a data set
RANKRank a number against a range of numbers
RANK.AVGRank a number against a range of numbers
RANK.EQRank a number against a range of numbers
SKEWGet skewness of a distribution
SKEW.PGet skewness of a distribution based on population
SLOPEGet slope of linear regression line
SMALLGet nth smallest value
STANDARDIZECalculate a normalized value (z-score)
STDEVGet the standard deviation in a sample
STDEV.PGet standard deviation of population
STDEV.SGet the standard deviation in a sample
STDEVAGet standard deviation in a sample
STDEVPGet standard deviation of population
STDEVPAGet standard deviation for a population
TRIMMEANCalculate mean excluding outliers
VARGet variation of a sample
VAR.PGet variation of population
VAR.SGet variation of a sample
VARAGet variation of a sample
VARPGet variation of a population
VARPAGet variation of a population

Web

Excel Web Functions allow users to access data from other web services and websites within their Excel workbooks. These functions allow users to get data from websites and web services, transform and manipulate it, and then use it in their Excel models and analyses.

FunctionHow it works
ENCODEURLencodes special characters in URLs
FILTERXMLextracts data from XML
WEBSERVICEretrieves data from URL

Database

Excel Database functions allow users to analyze data stored in tables and ranges. They can perform calculations, search and filter data, and sort and summarize data. These functions also allow users to work with external data sources such as Access and SQL Server.

FunctionHow it works
DAVERAGECalculates average from database
DCOUNTCounts cells with numbers from database.
DCOUNTACounts cells with values from database.
DGETReturns a single value from database.
DMAXReturns maximum value from database.
DMINReturns minimum value from database.
DPRODUCTMultiplies values in a database.
DSTDEVEstimates standard deviation from database.
DSTDEVPCalculates standard deviation from database.
DSUMAdds values in a database.
DVAREstimates variance from database.
DVARPCalculates variance from database.

How to use Excel Functions?

To utilize a function in Excel, type an equal sign (=) in the formula bar or in the desired cell to enter the desired function. After that, enter the function name and the relevant arguments.

To learn more about excel check out our excel basics page where you can go from a beginner to an excel boss. Despite the name, this page is ideal if you are brand new to Excel or have been using it for years there is something to learn for everyone.

Scroll to Top