All excel functions list

ABS function

Math and trigonometry:    Returns the absolute value of a number

ACCRINT function

Financial:    Returns the accrued interest for a security that pays periodic interest

ACCRINTM function

Financial:    Returns the accrued interest for a security that pays interest at maturity

ACOS function

Math and trigonometry:    Returns the arccosine of a number

ACOSH function

Math and trigonometry:    Returns the inverse hyperbolic cosine of a number

ACOT function

Excel 2013

Math and trigonometry:    Returns the arccotangent of a number

ACOTH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic arccotangent of a number

AGGREGATE function

Math and trigonometry:    Returns an aggregate in a list or database

ADDRESS function

Lookup and reference:    Returns a reference as text to a single cell in a worksheet

AMORDEGRC function

Financial:    Returns the depreciation for each accounting period by using a depreciation coefficient

AMORLINC function

Financial:    Returns the depreciation for each accounting period

AND function

Logical:    Returns TRUE if all of its arguments are TRUE

ARABIC function

Excel 2013

Math and trigonometry:    Converts a Roman number to Arabic, as a number

AREAS function

Lookup and reference:    Returns the number of areas in a reference

ARRAYTOTEXT function

Office 365 button

Text:    Returns an array of text values from any specified range

ASC function

Text:    Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters

ASIN function

Math and trigonometry:    Returns the arcsine of a number

ASINH function

Math and trigonometry:    Returns the inverse hyperbolic sine of a number

ATAN function

Math and trigonometry:    Returns the arctangent of a number

ATAN2 function

Math and trigonometry:    Returns the arctangent from x- and y-coordinates

ATANH function

Math and trigonometry:    Returns the inverse hyperbolic tangent of a number

AVEDEV function

Statistical:    Returns the average of the absolute deviations of data points from their mean

AVERAGE function

Statistical:    Returns the average of its arguments

AVERAGEA function

Statistical:    Returns the average of its arguments, including numbers, text, and logical values

AVERAGEIF function

Statistical:    Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria

AVERAGEIFS function

Statistical:    Returns the average (arithmetic mean) of all cells that meet multiple criteria.

BAHTTEXT function

Text:    Converts a number to text, using the ß (baht) currency format

BASE function

Math and trigonometry:    Converts a number into a text representation with the given radix (base)

BESSELI function

Engineering:    Returns the modified Bessel function In(x)

BESSELJ function

Engineering:    Returns the Bessel function Jn(x)

BESSELK function

Engineering:    Returns the modified Bessel function Kn(x)

BESSELY function

Engineering:    Returns the Bessel function Yn(x)

BETADIST function

Compatibility:    Returns the beta cumulative distribution function

In Excel 2007, this is a Statistical function.

BETA.DIST function

Excel 2010

Statistical:    Returns the beta cumulative distribution function

BETAINV function

Compatibility:    Returns the inverse of the cumulative distribution function for a specified beta distribution

In Excel 2007, this is a Statistical function.

BETA.INV function

Excel 2010

Statistical:    Returns the inverse of the cumulative distribution function for a specified beta distribution

BIN2DEC function

Engineering:    Converts a binary number to decimal

BIN2HEX function

Engineering:    Converts a binary number to hexadecimal

BIN2OCT function

Engineering:    Converts a binary number to octal

BINOMDIST function

Compatibility:    Returns the individual term binomial distribution probability

In Excel 2007, this is a Statistical function.

BINOM.DIST function

Excel 2010

Statistical:    Returns the individual term binomial distribution probability

BINOM.DIST.RANGE function

Excel 2013

Statistical:    Returns the probability of a trial result using a binomial distribution

BINOM.INV function

Excel 2010

Statistical:    Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value

BITAND function

Excel 2013

Engineering:    Returns a ‘Bitwise And’ of two numbers

BITLSHIFT function

Excel 2013

Engineering:    Returns a value number shifted left by shift_amount bits

BITOR function

Excel 2013

Engineering:    Returns a bitwise OR of 2 numbers

BITRSHIFT function

Excel 2013

Engineering:    Returns a value number shifted right by shift_amount bits

BITXOR function

Excel 2013

Engineering:    Returns a bitwise ‘Exclusive Or’ of two numbers

BYCOL

Office 365 button

Logical:    Applies a LAMBDA to each column and returns an array of the results

BYROW

Office 365 button

Logical:    Applies a LAMBDA to each row and returns an array of the results

CALL function

Add-in and Automation:    Calls a procedure in a dynamic link library or code resource

CEILING function

Compatibility:    Rounds a number to the nearest integer or to the nearest multiple of significance

CEILING.MATH function

Excel 2013

Math and trigonometry:    Rounds a number up, to the nearest integer or to the nearest multiple of significance

CEILING.PRECISE function

Math and trigonometry:    Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.

CELL function

Information:    Returns information about the formatting, location, or contents of a cell

This function is not available in Excel for the web.

CHAR function

Text:    Returns the character specified by the code number

CHIDIST function

Compatibility:    Returns the one-tailed probability of the chi-squared distribution

Note: In Excel 2007, this is a Statistical function.

CHIINV function

Compatibility:    Returns the inverse of the one-tailed probability of the chi-squared distribution

Note: In Excel 2007, this is a Statistical function.

CHITEST function

Compatibility:    Returns the test for independence

Note: In Excel 2007, this is a Statistical function.

CHISQ.DIST function

Excel 2010

Statistical:    Returns the cumulative beta probability density function

CHISQ.DIST.RT function

Excel 2010

Statistical:    Returns the one-tailed probability of the chi-squared distribution

CHISQ.INV function

Excel 2010

Statistical:    Returns the cumulative beta probability density function

CHISQ.INV.RT function

Excel 2010

Statistical:    Returns the inverse of the one-tailed probability of the chi-squared distribution

CHISQ.TEST function

Excel 2010

Statistical:    Returns the test for independence

CHOOSE function

Lookup and reference:    Chooses a value from a list of values

CHOOSECOLS

Office 365 button

Lookup and reference:    Returns the specified columns from an array

CHOOSEROWS

Office 365 button

Lookup and reference:    Returns the specified rows from an array

CLEAN function

Text:    Removes all nonprintable characters from text

CODE function

Text:    Returns a numeric code for the first character in a text string

COLUMN function

Lookup and reference:    Returns the column number of a reference

COLUMNS function

Lookup and reference:    Returns the number of columns in a reference

COMBIN function

Math and trigonometry:    Returns the number of combinations for a given number of objects

COMBINA function

Excel 2013

Math and trigonometry:   

Returns the number of combinations with repetitions for a given number of items

COMPLEX function

Engineering:    Converts real and imaginary coefficients into a complex number

CONCAT function

2019

Text:    Combines the text from multiple ranges and/or strings, but it doesn’t provide the delimiter or IgnoreEmpty arguments.

CONCATENATE function

Text:    Joins several text items into one text item

CONFIDENCE function

Compatibility:    Returns the confidence interval for a population mean

In Excel 2007, this is a Statistical function.

CONFIDENCE.NORM function

Excel 2010

Statistical:    Returns the confidence interval for a population mean

CONFIDENCE.T function

Excel 2010

Statistical:    Returns the confidence interval for a population mean, using a Student’s t distribution

CONVERT function

Engineering:    Converts a number from one measurement system to another

CORREL function

Statistical:    Returns the correlation coefficient between two data sets

COS function

Math and trigonometry:    Returns the cosine of a number

COSH function

Math and trigonometry:    Returns the hyperbolic cosine of a number

COT function

Excel 2013

Math and trigonometry:    Returns the hyperbolic cosine of a number

COTH function

Excel 2013

Math and trigonometry:    Returns the cotangent of an angle

COUNT function

Statistical:    Counts how many numbers are in the list of arguments

COUNTA function

Statistical:    Counts how many values are in the list of arguments

COUNTBLANK function

Statistical:    Counts the number of blank cells within a range

COUNTIF function

Statistical:    Counts the number of cells within a range that meet the given criteria

COUNTIFS function

Statistical:    Counts the number of cells within a range that meet multiple criteria

COUPDAYBS function

Financial:    Returns the number of days from the beginning of the coupon period to the settlement date

COUPDAYS function

Financial:    Returns the number of days in the coupon period that contains the settlement date

COUPDAYSNC function

Financial:    Returns the number of days from the settlement date to the next coupon date

COUPNCD function

Financial:    Returns the next coupon date after the settlement date

COUPNUM function

Financial:    Returns the number of coupons payable between the settlement date and maturity date

COUPPCD function

Financial:    Returns the previous coupon date before the settlement date

COVAR function

Compatibility:    Returns covariance, the average of the products of paired deviations

In Excel 2007, this is a Statistical function.

COVARIANCE.P function

Excel 2010

Statistical:    Returns covariance, the average of the products of paired deviations

COVARIANCE.S function

Excel 2010

Statistical:    Returns the sample covariance, the average of the products deviations for each data point pair in two data sets

CRITBINOM function

Compatibility:    Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value

In Excel 2007, this is a Statistical function.

CSC function

Excel 2013

Math and trigonometry:    Returns the cosecant of an angle

CSCH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic cosecant of an angle

CUBEKPIMEMBER function

Cube:    Returns a key performance indicator (KPI) name, property, and measure, and displays the name and property in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organization’s performance.

CUBEMEMBER function

Cube:    Returns a member or tuple in a cube hierarchy. Use to validate that the member or tuple exists in the cube.

CUBEMEMBERPROPERTY function

Cube:    Returns the value of a member property in the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.

CUBERANKEDMEMBER function

Cube:    Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or top 10 students.

CUBESET function

Cube:    Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Office Excel.

CUBESETCOUNT function

Cube:    Returns the number of items in a set.

CUBEVALUE function

Cube:    Returns an aggregated value from a cube.

CUMIPMT function

Financial:    Returns the cumulative interest paid between two periods

CUMPRINC function

Financial:    Returns the cumulative principal paid on a loan between two periods

DATE function

Date and time:    Returns the serial number of a particular date

DATEDIF function

Date and time:    Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.

DATEVALUE function

Date and time:    Converts a date in the form of text to a serial number

DAVERAGE function

Database:    Returns the average of selected database entries

DAY function

Date and time:    Converts a serial number to a day of the month

DAYS function

Excel 2013

Date and time:    Returns the number of days between two dates

DAYS360 function

Date and time:    Calculates the number of days between two dates based on a 360-day year

DB function

Financial:    Returns the depreciation of an asset for a specified period by using the fixed-declining balance method

DBCS function

Excel 2013

Text:    Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters

DCOUNT function

Database:    Counts the cells that contain numbers in a database

DCOUNTA function

Database:    Counts nonblank cells in a database

DDB function

Financial:    Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify

DEC2BIN function

Engineering:    Converts a decimal number to binary

DEC2HEX function

Engineering:    Converts a decimal number to hexadecimal

DEC2OCT function

Engineering:    Converts a decimal number to octal

DECIMAL function

Excel 2013

Math and trigonometry:    Converts a text representation of a number in a given base into a decimal number

DEGREES function

Math and trigonometry:    Converts radians to degrees

DELTA function

Engineering:    Tests whether two values are equal

DEVSQ function

Statistical:    Returns the sum of squares of deviations

DGET function

Database:    Extracts from a database a single record that matches the specified criteria

DISC function

Financial:    Returns the discount rate for a security

DMAX function

Database:    Returns the maximum value from selected database entries

DMIN function

Database:    Returns the minimum value from selected database entries

DOLLAR function

Text:    Converts a number to text, using the $ (dollar) currency format

DOLLARDE function

Financial:    Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number

DOLLARFR function

Financial:    Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction

DPRODUCT function

Database:    Multiplies the values in a particular field of records that match the criteria in a database

DROP

Office 365 button

Lookup and reference:    Excludes a specified number of rows or columns from the start or end of an array

DSTDEV function

Database:    Estimates the standard deviation based on a sample of selected database entries

DSTDEVP function

Database:    Calculates the standard deviation based on the entire population of selected database entries

DSUM function

Database:    Adds the numbers in the field column of records in the database that match the criteria

DURATION function

Financial:    Returns the annual duration of a security with periodic interest payments

DVAR function

Database:    Estimates variance based on a sample from selected database entries

DVARP function

Database:    Calculates variance based on the entire population of selected database entries

EDATE function

Date and time:    Returns the serial number of the date that is the indicated number of months before or after the start date

EFFECT function

Financial:    Returns the effective annual interest rate

ENCODEURL function

Excel 2013

Web:    Returns a URL-encoded string

This function is not available in Excel for the web.

EOMONTH function

Date and time:    Returns the serial number of the last day of the month before or after a specified number of months

ERF function

Engineering:    Returns the error function

ERF.PRECISE function

Excel 2010

Engineering:    Returns the error function

ERFC function

Engineering:    Returns the complementary error function

ERFC.PRECISE function

Excel 2010

Engineering:    Returns the complementary ERF function integrated between x and infinity

ERROR.TYPE function

Information:    Returns a number corresponding to an error type

EUROCONVERT function

Add-in and Automation:    Converts a number to euros, converts a number from euros to a euro member currency, or converts a number from one euro member currency to another by using the euro as an intermediary (triangulation).

EVEN function

Math and trigonometry:    Rounds a number up to the nearest even integer

EXACT function

Text:    Checks to see if two text values are identical

EXP function

Math and trigonometry:    Returns e raised to the power of a given number

EXPAND

Office 365 button

Lookup and reference:    Expands or pads an array to specified row and column dimensions

EXPON.DIST function

Excel 2010

Statistical:    Returns the exponential distribution

EXPONDIST function

Compatibility:    Returns the exponential distribution

In Excel 2007, this is a Statistical function.

FACT function

Math and trigonometry:    Returns the factorial of a number

FACTDOUBLE function

Math and trigonometry:    Returns the double factorial of a number

FALSE function

Logical:    Returns the logical value FALSE

F.DIST function

Excel 2010

Statistical:    Returns the F probability distribution

FDIST function

Compatibility:    Returns the F probability distribution

In Excel 2007, this is a Statistical function.

F.DIST.RT function

Excel 2010

Statistical:    Returns the F probability distribution

FILTER function

Office 365 button

Lookup and reference:    Filters a range of data based on criteria you define

FILTERXML function

Excel 2013

Web:    Returns specific data from the XML content by using the specified XPath

This function is not available in Excel for the web.

FIND, FINDB functions

Text:    Finds one text value within another (case-sensitive)

F.INV function

Excel 2010

Statistical:    Returns the inverse of the F probability distribution

F.INV.RT function

Excel 2010

Statistical:    Returns the inverse of the F probability distribution

FINV function

Compatibility:    Returns the inverse of the F probability distribution

In Excel 2007this is a Statistical function.

FISHER function

Statistical:    Returns the Fisher transformation

FISHERINV function

Statistical:    Returns the inverse of the Fisher transformation

FIXED function

Text:    Formats a number as text with a fixed number of decimals

FLOOR function

Compatibility:    Rounds a number down, toward zero

In Excel 2007 and Excel 2010, this is a Math and trigonometry function.

FLOOR.MATH function

Excel 2013

Math and trigonometry:    Rounds a number down, to the nearest integer or to the nearest multiple of significance

FLOOR.PRECISE function

Math and trigonometry:    Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.

FORECAST function

Statistical:    Returns a value along a linear trend

In Excel 2016, this function is replaced with FORECAST.LINEAR as part of the new Forecasting functions, but it’s still available for compatibility with earlier versions.

FORECAST.ETS function

Excel 2016

Statistical:    Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm

FORECAST.ETS.CONFINT function

Excel 2016

Statistical:    Returns a confidence interval for the forecast value at the specified target date

FORECAST.ETS.SEASONALITY function

Excel 2016

Statistical:    Returns the length of the repetitive pattern Excel detects for the specified time series

FORECAST.ETS.STAT function

Excel 2016

Statistical:    Returns a statistical value as a result of time series forecasting

FORECAST.LINEAR function

Excel 2016

Statistical:    Returns a future value based on existing values

FORMULATEXT function

Excel 2013

Lookup and reference:    Returns the formula at the given reference as text

FREQUENCY function

Statistical:    Returns a frequency distribution as a vertical array

F.TEST function

Excel 2010

Statistical:    Returns the result of an F-test

FTEST function

Compatibility:    Returns the result of an F-test

In Excel 2007, this is a Statistical function.

FV function

Financial:    Returns the future value of an investment

FVSCHEDULE function

Financial:    Returns the future value of an initial principal after applying a series of compound interest rates

GAMMA function

Excel 2013

Statistical:    Returns the Gamma function value

GAMMA.DIST function

Excel 2010

Statistical:    Returns the gamma distribution

GAMMADIST function

Compatibility:    Returns the gamma distribution

In Excel 2007, this is a Statistical function.

GAMMA.INV function

Excel 2010

Statistical:    Returns the inverse of the gamma cumulative distribution

GAMMAINV function

Compatibility:    Returns the inverse of the gamma cumulative distribution

In Excel 2007, this is a Statistical function.

GAMMALN function

Statistical:    Returns the natural logarithm of the gamma function, Γ(x)

GAMMALN.PRECISE function

Excel 2010

Statistical:    Returns the natural logarithm of the gamma function, Γ(x)

GAUSS function

Excel 2013

Statistical:    Returns 0.5 less than the standard normal cumulative distribution

GCD function

Math and trigonometry:    Returns the greatest common divisor

GEOMEAN function

Statistical:    Returns the geometric mean

GESTEP function

Engineering:    Tests whether a number is greater than a threshold value

GETPIVOTDATA function

Lookup and reference:    Returns data stored in a PivotTable report

GROWTH function

Statistical:    Returns values along an exponential trend

HARMEAN function

Statistical:    Returns the harmonic mean

HEX2BIN function

Engineering:    Converts a hexadecimal number to binary

HEX2DEC function

Engineering:    Converts a hexadecimal number to decimal

HEX2OCT function

Engineering:    Converts a hexadecimal number to octal

HLOOKUP function

Lookup and reference:    Looks in the top row of an array and returns the value of the indicated cell

HOUR function

Date and time:    Converts a serial number to an hour

HSTACK

Office 365 button

Lookup and reference:    Appends arrays horizontally and in sequence to return a larger array

HYPERLINK function

Lookup and reference:    Creates a shortcut or jump that opens a document stored on a network server, an intranet, or the Internet

HYPGEOM.DIST function

Statistical:    Returns the hypergeometric distribution

HYPGEOMDIST function

Compatibility:    Returns the hypergeometric distribution

In Excel 2007, this is a Statistical function.

IF function

Logical:    Specifies a logical test to perform

IFERROR function

Logical:    Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula

IFNA function

Excel 2013

Logical:    Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression

IFS function

2019

Logical:    Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.

IMABS function

Engineering:    Returns the absolute value (modulus) of a complex number

IMAGINARY function

Engineering:    Returns the imaginary coefficient of a complex number

IMARGUMENT function

Engineering:    Returns the argument theta, an angle expressed in radians

IMCONJUGATE function

Engineering:    Returns the complex conjugate of a complex number

IMCOS function

Engineering:    Returns the cosine of a complex number

IMCOSH function

Excel 2013

Engineering:    Returns the hyperbolic cosine of a complex number

IMCOT function

Excel 2013

Engineering:    Returns the cotangent of a complex number

IMCSC function

Excel 2013

Engineering:    Returns the cosecant of a complex number

IMCSCH function

Excel 2013

Engineering:    Returns the hyperbolic cosecant of a complex number

IMDIV function

Engineering:    Returns the quotient of two complex numbers

IMEXP function

Engineering:    Returns the exponential of a complex number

IMLN function

Engineering:    Returns the natural logarithm of a complex number

IMLOG10 function

Engineering:    Returns the base-10 logarithm of a complex number

IMLOG2 function

Engineering:    Returns the base-2 logarithm of a complex number

IMPOWER function

Engineering:    Returns a complex number raised to an integer power

IMPRODUCT function

Engineering:    Returns the product of complex numbers

IMREAL function

Engineering:    Returns the real coefficient of a complex number

IMSEC function

Excel 2013

Engineering:    Returns the secant of a complex number

IMSECH function

Excel 2013

Engineering:    Returns the hyperbolic secant of a complex number

IMSIN function

Engineering:    Returns the sine of a complex number

IMSINH function

Excel 2013

Engineering:    Returns the hyperbolic sine of a complex number

IMSQRT function

Engineering:    Returns the square root of a complex number

IMSUB function

Engineering:    Returns the difference between two complex numbers

IMSUM function

Engineering:    Returns the sum of complex numbers

IMTAN function

Excel 2013

Engineering:    Returns the tangent of a complex number

INDEX function

Lookup and reference:    Uses an index to choose a value from a reference or array

INDIRECT function

Lookup and reference:    Returns a reference indicated by a text value

INFO function

Information:    Returns information about the current operating environment

This function is not available in Excel for the web.

INT function

Math and trigonometry:    Rounds a number down to the nearest integer

INTERCEPT function

Statistical:    Returns the intercept of the linear regression line

INTRATE function

Financial:    Returns the interest rate for a fully invested security

IPMT function

Financial:    Returns the interest payment for an investment for a given period

IRR function

Financial:    Returns the internal rate of return for a series of cash flows

ISBLANK function

Information:    Returns TRUE if the value is blank

ISERR function

Information:    Returns TRUE if the value is any error value except #N/A

ISERROR function

Information:    Returns TRUE if the value is any error value

ISEVEN function

Information:    Returns TRUE if the number is even

ISFORMULA function

Excel 2013

Information:    Returns TRUE if there is a reference to a cell that contains a formula

ISLOGICAL function

Information:    Returns TRUE if the value is a logical value

ISNA function

Information:    Returns TRUE if the value is the #N/A error value

ISNONTEXT function

Information:    Returns TRUE if the value is not text

ISNUMBER function

Information:    Returns TRUE if the value is a number

ISODD function

Information:    Returns TRUE if the number is odd

ISOMITTED

Office 365 button

Information:    Checks whether the value in a LAMBDA is missing and returns TRUE or FALSE

ISREF function

Information:    Returns TRUE if the value is a reference

ISTEXT function

Information:    Returns TRUE if the value is text

ISO.CEILING function

Excel 2013

Math and trigonometry:    Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance

ISOWEEKNUM function

Excel 2013

Date and time:    Returns the number of the ISO week number of the year for a given date

ISPMT function

Financial:    Calculates the interest paid during a specific period of an investment

JIS function

Text:    Changes half-width (single-byte) characters within a string to full-width (double-byte) characters

KURT function

Statistical:    Returns the kurtosis of a data set

LAMBDA

Office 365 button

Logical:    Create custom, reusable functions and call them by a friendly name

LARGE function

Statistical:    Returns the k-th largest value in a data set

LCM function

Math and trigonometry:    Returns the least common multiple

LEFT, LEFTB functions

Text:    Returns the leftmost characters from a text value

LEN, LENB functions

Text:    Returns the number of characters in a text string

LET

Office 365 button

Logical:    Assigns names to calculation results

LINEST function

Statistical:    Returns the parameters of a linear trend

LN function

Math and trigonometry:    Returns the natural logarithm of a number

LOG function

Math and trigonometry:    Returns the logarithm of a number to a specified base

LOG10 function

Math and trigonometry:    Returns the base-10 logarithm of a number

LOGEST function

Statistical:    Returns the parameters of an exponential trend

LOGINV function

Compatibility:    Returns the inverse of the lognormal cumulative distribution

LOGNORM.DIST function

Excel 2010

Statistical:    Returns the cumulative lognormal distribution

LOGNORMDIST function

Compatibility:    Returns the cumulative lognormal distribution

LOGNORM.INV function

Excel 2010

Statistical:    Returns the inverse of the lognormal cumulative distribution

LOOKUP function

Lookup and reference:    Looks up values in a vector or array

LOWER function

Text:    Converts text to lowercase

MAKEARRAY

Office 365 button

Logical:    Returns a calculated array of a specified row and column size, by applying a LAMBDA

MAP

Office 365 button

Logical:    Returns an array formed by mapping each value in the array(s) to a new value by applying a LAMBDA to create a new value

MATCH function

Lookup and reference:    Looks up values in a reference or array

MAX function

Statistical:    Returns the maximum value in a list of arguments

MAXA function

Statistical:    Returns the maximum value in a list of arguments, including numbers, text, and logical values

MAXIFS function

2019

Statistical:    Returns the maximum value among cells specified by a given set of conditions or criteria

MDETERM function

Math and trigonometry:    Returns the matrix determinant of an array

MDURATION function

Financial:    Returns the Macauley modified duration for a security with an assumed par value of $100

MEDIAN function

Statistical:    Returns the median of the given numbers

MID, MIDB functions

Text:    Returns a specific number of characters from a text string starting at the position you specify

MIN function

Statistical:    Returns the minimum value in a list of arguments

MINIFS function

2019

Statistical:    Returns the minimum value among cells specified by a given set of conditions or criteria.

MINA function

Statistical:    Returns the smallest value in a list of arguments, including numbers, text, and logical values

MINUTE function

Date and time:    Converts a serial number to a minute

MINVERSE function

Math and trigonometry:    Returns the matrix inverse of an array

MIRR function

Financial:    Returns the internal rate of return where positive and negative cash flows are financed at different rates

MMULT function

Math and trigonometry:    Returns the matrix product of two arrays

MOD function

Math and trigonometry:    Returns the remainder from division

MODE function

Compatibility:    Returns the most common value in a data set

In Excel 2007, this is a Statistical function.

MODE.MULT function

Excel 2010

Statistical:    Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data

MODE.SNGL function

Excel 2010

Statistical:    Returns the most common value in a data set

MONTH function

Date and time:    Converts a serial number to a month

MROUND function

Math and trigonometry:    Returns a number rounded to the desired multiple

MULTINOMIAL function

Math and trigonometry:    Returns the multinomial of a set of numbers

MUNIT function

Excel 2013

Math and trigonometry:    Returns the unit matrix or the specified dimension

N function

Information:    Returns a value converted to a number

NA function

Information:    Returns the error value #N/A

NEGBINOM.DIST function

Excel 2010

Statistical:    Returns the negative binomial distribution

NEGBINOMDIST function

Compatibility:    Returns the negative binomial distribution

In Excel 2007, this is a Statistical function.

NETWORKDAYS function

Date and time:    Returns the number of whole workdays between two dates

NETWORKDAYS.INTL function

Excel 2010

Date and time:    Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days

NOMINAL function

Financial:    Returns the annual nominal interest rate

NORM.DIST function

Excel 2010

Statistical:    Returns the normal cumulative distribution

NORMDIST function

Compatibility:    Returns the normal cumulative distribution

In Excel 2007, this is a Statistical function.

NORMINV function

Statistical:    Returns the inverse of the normal cumulative distribution

NORM.INV function

Excel 2010

Compatibility:    Returns the inverse of the normal cumulative distribution

Note: In Excel 2007, this is a Statistical function.

NORM.S.DIST function

Excel 2010

Statistical:    Returns the standard normal cumulative distribution

NORMSDIST function

Compatibility:    Returns the standard normal cumulative distribution

In Excel 2007, this is a Statistical function.

NORM.S.INV function

Excel 2010

Statistical:    Returns the inverse of the standard normal cumulative distribution

NORMSINV function

Compatibility:    Returns the inverse of the standard normal cumulative distribution

In Excel 2007, this is a Statistical function.

NOT function

Logical:    Reverses the logic of its argument

NOW function

Date and time:    Returns the serial number of the current date and time

NPER function

Financial:    Returns the number of periods for an investment

NPV function

Financial:    Returns the net present value of an investment based on a series of periodic cash flows and a discount rate

NUMBERVALUE function

Excel 2013

Text:    Converts text to number in a locale-independent manner

OCT2BIN function

Engineering:    Converts an octal number to binary

OCT2DEC function

Engineering:    Converts an octal number to decimal

OCT2HEX function

Engineering:    Converts an octal number to hexadecimal

ODD function

Math and trigonometry:    Rounds a number up to the nearest odd integer

ODDFPRICE function

Financial:    Returns the price per $100 face value of a security with an odd first period

ODDFYIELD function

Financial:    Returns the yield of a security with an odd first period

ODDLPRICE function

Financial:    Returns the price per $100 face value of a security with an odd last period

ODDLYIELD function

Financial:    Returns the yield of a security with an odd last period

OFFSET function

Lookup and reference:    Returns a reference offset from a given reference

OR function

Logical:    Returns TRUE if any argument is TRUE

PDURATION function

Excel 2013

Financial:    Returns the number of periods required by an investment to reach a specified value

PEARSON function

Statistical:    Returns the Pearson product moment correlation coefficient

PERCENTILE.EXC function

Excel 2010

Statistical:    Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive

PERCENTILE.INC function

Excel 2010

Statistical:    Returns the k-th percentile of values in a range

PERCENTILE function

Compatibility:    Returns the k-th percentile of values in a range

In Excel 2007, this is a Statistical function.

PERCENTRANK.EXC function

Excel 2010

Statistical:    Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set

PERCENTRANK.INC function

Excel 2010

Statistical:    Returns the percentage rank of a value in a data set

PERCENTRANK function

Compatibility:    Returns the percentage rank of a value in a data set

In Excel 2007, this is a Statistical function.

PERMUT function

Statistical:    Returns the number of permutations for a given number of objects

PERMUTATIONA function

Excel 2013

Statistical:    Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects

PHI function

Excel 2013

Statistical:    Returns the value of the density function for a standard normal distribution

PHONETIC function

Text:    Extracts the phonetic (furigana) characters from a text string

PI function

Math and trigonometry:    Returns the value of pi

PMT function

Financial:    Returns the periodic payment for an annuity

POISSON.DIST function

Excel 2010

Statistical:    Returns the Poisson distribution

POISSON function

Compatibility:    Returns the Poisson distribution

In Excel 2007, this is a Statistical function.

POWER function

Math and trigonometry:    Returns the result of a number raised to a power

PPMT function

Financial:    Returns the payment on the principal for an investment for a given period

PRICE function

Financial:    Returns the price per $100 face value of a security that pays periodic interest

PRICEDISC function

Financial:    Returns the price per $100 face value of a discounted security

PRICEMAT function

Financial:    Returns the price per $100 face value of a security that pays interest at maturity

PROB function

Statistical:    Returns the probability that values in a range are between two limits

PRODUCT function

Math and trigonometry:    Multiplies its arguments

PROPER function

Text:    Capitalizes the first letter in each word of a text value

PV function

Financial:    Returns the present value of an investment

QUARTILE function

Compatibility:    Returns the quartile of a data set

In Excel 2007, this is a Statistical function.

QUARTILE.EXC function

Excel 2010

Statistical:    Returns the quartile of the data set, based on percentile values from 0..1, exclusive

QUARTILE.INC function

Excel 2010

Statistical:    Returns the quartile of a data set

QUOTIENT function

Math and trigonometry:    Returns the integer portion of a division

RADIANS function

Math and trigonometry:    Converts degrees to radians

RAND function

Math and trigonometry:    Returns a random number between 0 and 1

RANDARRAY function

Office 365 button

Math and trigonometry:    Returns an array of random numbers between 0 and 1. However, you can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.

RANDBETWEEN function

Math and trigonometry:    Returns a random number between the numbers you specify

RANK.AVG function

Excel 2010

Statistical:    Returns the rank of a number in a list of numbers

RANK.EQ function

Excel 2010

Statistical:    Returns the rank of a number in a list of numbers

RANK function

Compatibility:    Returns the rank of a number in a list of numbers

In Excel 2007, this is a Statistical function.

RATE function

Financial:    Returns the interest rate per period of an annuity

RECEIVED function

Financial:    Returns the amount received at maturity for a fully invested security

REDUCE

Office 365 button

Logical:    Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator

REGISTER.ID function

Add-in and Automation:    Returns the register ID of the specified dynamic link library (DLL) or code resource that has been previously registered

REPLACE, REPLACEB functions

Text:    Replaces characters within text

REPT function

Text:    Repeats text a given number of times

RIGHT, RIGHTB functions

Text:    Returns the rightmost characters from a text value

ROMAN function

Math and trigonometry:    Converts an arabic numeral to roman, as text

ROUND function

Math and trigonometry:    Rounds a number to a specified number of digits

ROUNDDOWN function

Math and trigonometry:    Rounds a number down, toward zero

ROUNDUP function

Math and trigonometry:    Rounds a number up, away from zero

ROW function

Lookup and reference:    Returns the row number of a reference

ROWS function

Lookup and reference:    Returns the number of rows in a reference

RRI function

Excel 2013

Financial:    Returns an equivalent interest rate for the growth of an investment

RSQ function

Statistical:    Returns the square of the Pearson product moment correlation coefficient

RTD function

Lookup and reference:    Retrieves real-time data from a program that supports COM automation

SCAN

Office 365 button

Logical:    Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value

SEARCH, SEARCHB functions

Text:    Finds one text value within another (not case-sensitive)

SEC function

Excel 2013

Math and trigonometry:    Returns the secant of an angle

SECH function

Excel 2013

Math and trigonometry:    Returns the hyperbolic secant of an angle

SECOND function

Date and time:    Converts a serial number to a second

SEQUENCE function

Office 365 button

Math and trigonometry:    Generates a list of sequential numbers in an array, such as 1, 2, 3, 4

SERIESSUM function

Math and trigonometry:    Returns the sum of a power series based on the formula

SHEET function

Excel 2013

Information:    Returns the sheet number of the referenced sheet

SHEETS function

Excel 2013

Information:    Returns the number of sheets in a reference

SIGN function

Math and trigonometry:    Returns the sign of a number

SIN function

Math and trigonometry:    Returns the sine of the given angle

SINH function

Math and trigonometry:    Returns the hyperbolic sine of a number

SKEW function

Statistical:    Returns the skewness of a distribution

SKEW.P function

Excel 2013

Statistical:    Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean

SLN function

Financial:    Returns the straight-line depreciation of an asset for one period

SLOPE function

Statistical:    Returns the slope of the linear regression line

SMALL function

Statistical:    Returns the k-th smallest value in a data set

SORT function

Office 365 button

Lookup and reference:    Sorts the contents of a range or array

SORTBY function

Office 365 button

Lookup and reference:    Sorts the contents of a range or array based on the values in a corresponding range or array

SQRT function

Math and trigonometry:    Returns a positive square root

SQRTPI function

Math and trigonometry:    Returns the square root of (number * pi)

STANDARDIZE function

Statistical:    Returns a normalized value

STOCKHISTORY function

Financial:    Retrieves historical data about a financial instrument

STDEV function

Compatibility:    Estimates standard deviation based on a sample

STDEV.P function

Excel 2010

Statistical:    Calculates standard deviation based on the entire population

STDEV.S function

Excel 2010

Statistical:    Estimates standard deviation based on a sample

STDEVA function

Statistical:    Estimates standard deviation based on a sample, including numbers, text, and logical values

STDEVP function

Compatibility:    Calculates standard deviation based on the entire population

In Excel 2007, this is a Statistical function.

STDEVPA function

Statistical:    Calculates standard deviation based on the entire population, including numbers, text, and logical values

STEYX function

Statistical:    Returns the standard error of the predicted y-value for each x in the regression

SUBSTITUTE function

Text:    Substitutes new text for old text in a text string

SUBTOTAL function

Math and trigonometry:    Returns a subtotal in a list or database

SUM function

Math and trigonometry:    Adds its arguments

SUMIF function

Math and trigonometry:    Adds the cells specified by a given criteria

SUMIFS function

Math and trigonometry:    Adds the cells in a range that meet multiple criteria

SUMPRODUCT function

Math and trigonometry:    Returns the sum of the products of corresponding array components

SUMSQ function

Math and trigonometry:    Returns the sum of the squares of the arguments

SUMX2MY2 function

Math and trigonometry:    Returns the sum of the difference of squares of corresponding values in two arrays

SUMX2PY2 function

Math and trigonometry:    Returns the sum of the sum of squares of corresponding values in two arrays

SUMXMY2 function

Math and trigonometry:    Returns the sum of squares of differences of corresponding values in two arrays

SWITCH function

Office 365 button

2019

Logical:    Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.

SYD function

Financial:    Returns the sum-of-years’ digits depreciation of an asset for a specified period

T function

Text:    Converts its arguments to text

TAN function

Math and trigonometry:    Returns the tangent of a number

TANH function

Math and trigonometry:    Returns the hyperbolic tangent of a number

TAKE

Office 365 button

Lookup and reference:    Returns a specified number of contiguous rows or columns from the start or end of an array

TBILLEQ function

Financial:    Returns the bond-equivalent yield for a Treasury bill

TBILLPRICE function

Financial:    Returns the price per $100 face value for a Treasury bill

TBILLYIELD function

Financial:    Returns the yield for a Treasury bill

T.DIST function

Excel 2010

Statistical:    Returns the Percentage Points (probability) for the Student t-distribution

T.DIST.2T function

Excel 2010

Statistical:    Returns the Percentage Points (probability) for the Student t-distribution

T.DIST.RT function

Excel 2010

Statistical:    Returns the Student’s t-distribution

TDIST function

Compatibility:    Returns the Student’s t-distribution

TEXT function

Text:    Formats a number and converts it to text

TEXTAFTER

Office 365 button

Text:    Returns text that occurs after given character or string

TEXTBEFORE

Office 365 button

Text:    Returns text that occurs before a given character or string

TEXTJOIN

Office 365 button

Text:    Combines the text from multiple ranges and/or strings

TEXTSPLIT

Office 365 button

Text:    Splits text strings by using column and row delimiters

TIME function

Date and time:    Returns the serial number of a particular time

TIMEVALUE function

Date and time:    Converts a time in the form of text to a serial number

T.INV function

Excel 2010

Statistical:    Returns the t-value of the Student’s t-distribution as a function of the probability and the degrees of freedom

T.INV.2T function

Excel 2010

Statistical:    Returns the inverse of the Student’s t-distribution

TINV function

Compatibility:    Returns the inverse of the Student’s t-distribution

TOCOL

Office 365 button

Lookup and reference:    Returns the array in a single column

TOROW

Office 365 button

Lookup and reference:    Returns the array in a single row

TODAY function

Date and time:    Returns the serial number of today’s date

TRANSPOSE function

Lookup and reference:    Returns the transpose of an array

TREND function

Statistical:    Returns values along a linear trend

TRIM function

Text:    Removes spaces from text

TRIMMEAN function

Statistical:    Returns the mean of the interior of a data set

TRUE function

Logical:    Returns the logical value TRUE

TRUNC function

Math and trigonometry:    Truncates a number to an integer

T.TEST function

Excel 2010

Statistical:    Returns the probability associated with a Student’s t-test

TTEST function

Compatibility:    Returns the probability associated with a Student’s t-test

In Excel 2007, this is a Statistical function.

TYPE function

Information:    Returns a number indicating the data type of a value

UNICHAR function

Excel 2013

Text:    Returns the Unicode character that is references by the given numeric value

UNICODE function

Excel 2013

Text:    Returns the number (code point) that corresponds to the first character of the text

UNIQUE function

Office 365 button

Lookup and reference:    Returns a list of unique values in a list or range

UPPER function

Text:    Converts text to uppercase

VALUE function

Text:    Converts a text argument to a number

VALUETOTEXT

Office 365 button

Text:    Returns text from any specified value

VAR function

Compatibility:    Estimates variance based on a sample

In Excel 2007, this is a Statistical function.

VAR.P function

Excel 2010

Statistical:    Calculates variance based on the entire population

VAR.S function

Excel 2010

Statistical:    Estimates variance based on a sample

VARA function

Statistical:    Estimates variance based on a sample, including numbers, text, and logical values

VARP function

Compatibility:    Calculates variance based on the entire population

In Excel 2007, this is a Statistical function.

VARPA function

Statistical:    Calculates variance based on the entire population, including numbers, text, and logical values

VDB function

Financial:    Returns the depreciation of an asset for a specified or partial period by using a declining balance method

VLOOKUP function

Lookup and reference:    Looks in the first column of an array and moves across the row to return the value of a cell

VSTACK

Office 365 button

Look and reference:    Appends arrays vertically and in sequence to return a larger array

WEBSERVICE function

Excel 2013

Web:    Returns data from a web service.

This function is not available in Excel for the web.

WEEKDAY function

Date and time:    Converts a serial number to a day of the week

WEEKNUM function

Date and time:    Converts a serial number to a number representing where the week falls numerically with a year

WEIBULL function

Compatibility:    Calculates variance based on the entire population, including numbers, text, and logical values

In Excel 2007, this is a Statistical function.

WEIBULL.DIST function

Excel 2010

Statistical:    Returns the Weibull distribution

WORKDAY function

Date and time:    Returns the serial number of the date before or after a specified number of workdays

WORKDAY.INTL function

Excel 2010

Date and time:    Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days

WRAPCOLS

Office 365 button

Look and reference:    Wraps the provided row or column of values by columns after a specified number of elements

WRAPROWS

Office 365 button

Look and reference:    Wraps the provided row or column of values by rows after a specified number of elements

XIRR function

Financial:    Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic

XLOOKUP function

Office 365 button

Lookup and reference:    Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn’t exist, then XLOOKUP can return the closest (approximate) match. 

XMATCH function

Office 365 button

Lookup and reference:    Returns the relative position of an item in an array or range of cells. 

XNPV function

Financial:    Returns the net present value for a schedule of cash flows that is not necessarily periodic

XOR function

Excel 2013

Logical:    Returns a logical exclusive OR of all arguments

YEAR function

Date and time:    Converts a serial number to a year

YEARFRAC function

Date and time:    Returns the year fraction representing the number of whole days between start_date and end_date

YIELD function

Financial:    Returns the yield on a security that pays periodic interest

YIELDDISC function

Financial:    Returns the annual yield for a discounted security; for example, a Treasury bill

YIELDMAT function

Financial:    Returns the annual yield of a security that pays interest at maturity

Z.TEST function

Excel 2010

Statistical:    Returns the one-tailed probability-value of a z-test

ZTEST function

Compatibility:    Returns the one-tailed probability-value of a z-test

In Excel 2007, this is a Statistical function.

New Functions XLOOKUP Replaces VLOOKUP, HLOOKUP, and INDEX / MATCH XLOOKUP(lookup_value,lookup_array,return_array,[match_mode],[search_mode]) Logical yes AND Checks whether all conditions are met. TRUE/FALSE AND(logical1,logical2) and function example download IF If condition is met, do something, if not, do something else. IF(logical_test,value_if_true,value_if_false) if function example download IFERROR If result is an error then do something else. IFERROR(VALUE,value_if_error) NOT Changes TRUE to FALSE and FALSE to TRUE. NOT(logical) not function example download OR Checks whether any conditions are met. TRUE/FALSE OR(logical1,logical2) or function example download XOR Checks whether one and only one condition is met. TRUE/FALSE XOR(logical1,logical2) xor function example download Lookup & Reference yes FALSE The logical value: FALSE. FALSE TRUE The logical value: TRUE. TRUE ADDRESS Returns a cell address as text. ADDRESS(row_num,column_num,abs_num,C1,sheet_text) address function example download AREAS Returns the number of areas in a reference. AREAS(reference) CHOOSE Chooses a value from a list based on it’s position number. CHOOSE(index_num,value1,value2) COLUMN Returns the column number of a cell reference. COLUMN(reference) column function example download COLUMNS Returns the number of columns in an array. COLUMNS(array) columns function example download HLOOKUP Lookup a value in the first row and return a value. HLOOKUP(lookup_value,table_array,row_index_num,range_lookup) hlookup function example download HYPERLINK Creates a clickable link. HYPERLINK(link_location,friendly_name) hyperlink function example download INDEX Returns a value based on it’s column and row numbers. INDEX(array,row_num,column_num) index function example download INDIRECT Creates a cell reference from text. INDIRECT(ref_text,C1) indirect function example download LOOKUP Looks up values either horizontally or vertically. LOOKUP(lookup_value,lookup_vector,result_vector) MATCH Searches for a value in a list and returns its position. MATCH(lookup_value,lookup_array,match_type) match function example download OFFSET Creates a reference offset from a starting point. OFFSET(reference,rows,cols,height,width) offset function example download ROW Returns the row number of a cell reference. ROW(reference) row function example download ROWS Returns the number of rows in an array. ROWS(array) rows function example download TRANSPOSE Flips the oriention of a range of cells. TRANSPOSE(array) VLOOKUP Lookup a value in the first column and return a value. VLOOKUP(lookup_value,table_array,col_index_num,range_lookup) vlookup function example download Date & Time yes DATE Returns a date from year, month, and day. DATE(year,month,day) date function example download DATEDIF Number of days, months or years between two dates. DATEDIF DATEVALUE Converts a date stored as text into a valid date DATEVALUE(date_text) datevalue function example download DAY Returns the day as a number (1-31). DAY(serial_number) day function example download DAYS Returns the number of days between two dates. DAYS(end_date,start_date) days function example download DAYS360 Returns days between 2 dates in a 360 day year. DAYS360(start_date,end_date,method) days360 function example download EDATE Returns a date, n months away from a start date. EDATE(start_date,months) edate function example download EOMONTH Returns the last day of the month, n months away date. EOMONTH(start_date,months) eomonth function example download HOUR Returns the hour as a number (0-23). HOUR(serial_number) hour function example download MINUTE Returns the minute as a number (0-59). MINUTE(serial_number) minute function example download MONTH Returns the month as a number (1-12). MONTH(serial_number) month function example download NETWORKDAYS Number of working days between 2 dates. NETWORKDAYS(start_date,end_date,holidays) networkdays function example download NETWORKDAYS.INTL Working days between 2 dates, custom weekends. NETWORKDAYS.INTL(start_date,end_date,weekend,holidays) NOW Returns the current date and time. NOW() SECOND Returns the second as a number (0-59) SECOND(serial_number) second function example download TIME Returns the time from a hour, minute, and second. TIME(hour,minute,second) time function example download TIMEVALUE Converts a time stored as text into a valid time. TIMEVALUE(time_text) timevalue function example download TODAY Returns the current date. TODAY() today function example download WEEKDAY Returns the day of the week as a number (1-7). WEEKDAY(serial_number,return_type) weekday function example download WEEKNUM Returns the week number in a year (1-52). WEEKNUM(serial_number,return_type) weeknum function example download WORKDAY The date n working days from a date. WORKDAY(start_date,days,holidays) workday function example download WORKDAY.INTL The date n working days from a date, custom weekends. WORKDAY.INTL(start_date,days,weekend,holidays) YEAR Returns the year. YEAR(serial_number) year function example download YEARFRAC Returns the fraction of a year between 2 dates. YEARFRAC(start_date,end_date,basis) yearfrac function example download Engineering yes CONVERT Convert number from one unit to another. CONVERT(number,from_unit,to_unit) convert function example download Financial yes FV Calculates the future value. FV(rate,nper,pmt,pv,type) fv function example download PV Calculates the present value. PV(rate,nper,pmt,fv,type) pv function example download NPER Calculates the total number of payment periods. NPER(rate,pmt,pv,fv,type) nper function example download PMT Calculates the payment amount. PMT(rate,nper,pv,fv,type) pmt function example download RATE Calculates the interest Rate. RATE(nper,pmt,pv,fv,type,guess) rate function example download NPV Calculates the net present value. NPV(rate,value1,value2) npv function example download IRR The internal rate of return for a set of periodic CFs. IRR(values,guess) irr function example download XIRR The internal rate of return for a set of non-periodic CFs. XIRR(values,dates,guess) xirr function example download PRICE Calculates the price of a bond. PRICE(settlement,maturity,rate,yld,redemption,FREQUENCY,basis) price function example download YIELD Calculates the bond yield. YIELD(settlement,maturity,rate,pr,redemption,FREQUENCY,basis) yield function example download INTRATE The interest rate of a fully invested security. INTRATE(settlement,maturity,investment,redemption,basis) Information yes CELL Returns information about a cell. CELL(info_type,reference) cell function example download ERROR.TYPE Returns a value representing the cell error. ERROR.TYPE(error_val) ISBLANK Test if cell is blank. TRUE/FALSE ISBLANK(VALUE) isblank function example download ISERR Test if cell value is an error, ignores #N/A. TRUE/FALSE ISERR(VALUE) iserr function example download ISERROR Test if cell value is an error. TRUE/FALSE ISERROR(VALUE) iserror function example download ISEVEN Test if cell value is even. TRUE/FALSE ISEVEN(number) iseven function example download ISFORMULA Test if cell is a formula. TRUE/FALSE ISFORMULA(reference) isformula function example download ISLOGICAL Test if cell is logical (TRUE or FALSE). TRUE/FALSE ISLOGICAL(VALUE) islogical function example download ISNA Test if cell value is #N/A. TRUE/FALSE ISNA(VALUE) isna function example download ISNONTEXT Test if cell is not text (blank cells are not text). TRUE/FALSE ISNONTEXT(VALUE) isnontext function example download ISNUMBER Test if cell is a number. TRUE/FALSE ISNUMBER(VALUE) isnumber function example download ISODD Test if cell value is odd. TRUE/FALSE ISODD(number) ISREF Test if cell value is a reference. TRUE/FALSE ISREF(VALUE) isref function example download ISTEXT Test if cell is text. TRUE/FALSE ISTEXT(VALUE) istext function example download N Converts a value to a number. N(VALUE) NA Returns the error: #N/A. NA() TYPE Returns the type of value in a cell. TYPE(VALUE) Math yes ABS Calculates the absolute value of a number. ABS(number) abs function example download AGGREGATE Define and perform calculations for a database or a list. AGGREGATE(function_num,options,array,k) CEILING Rounds a number up, to the nearest specified multiple. CEILING(number,significance) ceiling function example download COS Returns the cosine of an angle. COS(number) cos function example download DEGREES Converts radians to degrees. DEGREES(angle) degrees function example download DSUM Sums database records that meet certain criteria. DSUM(database,field,criteria) dsum function example download EVEN Rounds to the nearest even integer. EVEN(number) EXP Calculates the exponential value for a given number. EXP(number) exp function example download FACT Returns the factorial. FACT(number) FLOOR Rounds a number down, to the nearest specified multiple. FLOOR(number,significance) floor function example download GCD Returns the greatest common divisor. GCD(number1,number2) INT Rounds a number down to the nearest integer. INT(number) LCM Returns the least common multiple. LCM(number1,number2) LN Returns the natural logarithm of a number. LN(number) ln function example download LOG Returns the logarithm of a number to a specified base. LOG(number,base) log function example download LOG10 Returns the base-10 logarithm of a number. LOG10(number) log10 function example download MOD Returns the remainder after dividing. MOD(number,divisor) mod function example download MROUND Rounds a number to a specified multiple. MROUND(number,multiple) mround function example download ODD Rounds to the nearest odd integer. ODD(number) PI The value of PI. PI() pi function example download POWER Calculates a number raised to a power. POWER(number,power) power function example download PRODUCT Multiplies an array of numbers. PRODUCT(number1,number2) product function example download QUOTIENT Returns the integer result of division. QUOTIENT(numerator,denominator) quotient function example download RADIANS Converts an angle into radians. RADIANS(angle) radians function example download RAND Calculates a random number between 0 and 1. RAND() rand function example download RANDBETWEEN Calculates a random number between two numbers. RANDBETWEEN(bottom,top) randbetween function example download ROUND Rounds a number to a specified number of digits. ROUND(number,num_digits) round function example download ROUNDDOWN Rounds a number down (towards zero). ROUNDDOWN(number,num_digits) rounddown function example download ROUNDUP Rounds a number up (away from zero). ROUNDUP(number,num_digits) roundup function example download SIGN Returns the sign of a number. SIGN(number) SIN Returns the sine of an angle. SIN(number) sin function example download SQRT Calculates the square root of a number. SQRT(number) sqrt function example download SUBTOTAL Returns a summary statistic for a series of data. SUBTOTAL(function_num,REH1) subtotal function example download SUM Adds numbers together. SUM(number1,number2) sum function example download SUMIF Sums numbers that meet a criteria. SUMIF(range,criteria,sum_range) sumif function example download SUMIFS Sums numbers that meet multiple criteria. SUMIFS(sum_range,criteria_range,criteria) SUMPRODUCT Multiplies arrays of numbers and sums the resultant array. SUMPRODUCT(array1,array2,array3) sumproduct function example download TAN Returns the tangent of an angle. TAN(number) tan function example download TRUNC Truncates a number to a specific number of digits. TRUNC(number,num_digits) Stats yes AVERAGE Averages numbers. AVERAGE(number1,number2) average function example download AVERAGEA Averages numbers. Includes text & FALSE =0, TRUE =1. AVERAGEA(value1,value2) averagea function example download AVERAGEIF Averages numbers that meet a criteria. AVERAGEIF(range,criteria,average_range) averageif function example download AVERAGEIFS Averages numbers that meet multiple criteria. AVERAGEIFS(average_range,criteria_range,criteria) CORREL Calculates the correlation of two series. CORREL(array1,array2) correl function example download COUNT Counts cells that contain a number. COUNT(value1,value2) count function example download COUNTA Count cells that are non-blank. COUNTA(value1,value2) counta function example download COUNTBLANK Counts cells that are blank. COUNTBLANK(range) countblank function example download COUNTIF Counts cells that meet a criteria. COUNTIF(range,criteria) countif function example download COUNTIFS Counts cells that meet multiple criteria. COUNTIFS(criteria_range,criteria) FORECAST Predict future y-values from linear trend line. FORECAST(x,known_y’s,known_x’s) forecast function example download FREQUENCY Counts values that fall within specified ranges. FREQUENCY(data_array,bins_array) frequency function example download GROWTH Calculates Y values based on exponential growth. GROWTH(known_ys,known_x,new_x,const) growth function example download INTERCEPT Calculates the Y intercept for a best-fit line. INTERCEPT(known_ys,known_xs) intercept function example download LARGE Returns the kth largest value. LARGE(array,k) large function example download LINEST Returns statistics about a trendline. LINEST(known_ys,known_xs,const,stats) linest function example download MAX Returns the largest number. MAX(number1,number2) max function example download MEDIAN Returns the median number. MEDIAN(number1,number2) median function example download MIN Returns the smallest number. MIN(number1,number2) min function example download MODE Returns the most common number. MODE(number1,number2) mode function example download PERCENTILE Returns the kth percentile. PERCENTILE(array,k) percentile function example download PERCENTILE.INC Returns the kth percentile. Where k is inclusive. PERCENTILE.INC(array,k) PERCENTILE.EXC Returns the kth percentile. Where k is exclusive. PERCENTILE.EXC(array,k) QUARTILE Returns the specified quartile value. QUARTILE(array,quart) quartile function example download QUARTILE.INC Returns the specified quartile value. Inclusive. QUARTILE.INC(array,quart) QUARTILE.EXC Returns the specified quartile value. Exclusive. QUARTILE.EXC(array,quart) RANK Rank of a number within a series. RANK(number,ref,order) rank function example download RANK.AVG Rank of a number within a series. Averages. RANK.AVG(number,ref,order) RANK.EQ Rank of a number within a series. Top Rank. RANK.EQ(number,ref,order) SLOPE Calculates the slope from linear regression. SLOPE(known_ys,known_xs) slope function example download SMALL Returns the kth smallest value. SMALL(array,k) small function example download STDEV Calculates the standard deviation. STDEV(number1,number2) STDEV.P Calculates the SD of an entire population. STDEV.P(number1,number2) STDEV.S Calculates the SD of a sample. STDEV.S(number1,number2) STDEVP Calculates the SD of an entire population STDEVP(number1,number2) TREND Calculates Y values based on a trendline. TREND(known_ys,known_xs,new_xs,const) trend function example download Text yes CHAR Returns a character specified by a code. CHAR(number) char function example download CLEAN Removes all non-printable characters. CLEAN(text) clean function example download CODE Returns the numeric code for a character. CODE(text) code function example download CONCATENATE Combines text together. CONCATENATE(text1,text2) concatenate function example download DOLLAR Converts a number to text in currency format. DOLLAR(number,decimals) EXACT Test if cells are exactly equal. Case-sensitive. TRUE/FALSE EXACT(text1,text2) exact function example download FIND Locates position of text within a cell.Case-sensitive. FIND(find_text,within_text,start_num) find function example download LEFT Truncates text a number of characters from the left. LEFT(text,num_chars) left function example download LEN Counts number of characters in text. LEN(text) len function example download LOWER Converts text to lower case. LOWER(text) lower function example download MID Extracts text from the middle of a cell. MID(text,start_num,num_chars) mid function example download PROPER Converts text to proper case. PROPER(text) proper function example download REPLACE Replaces text based on it’s location. REPLACE(old_text,start_num,num_chars,new_text) REPT Repeats text a number of times. REPT(text,number_times) rept function example download RIGHT Truncates text a number of characters from the right. RIGHT(text,num_chars) right function example download SEARCH Locates position of text within a cell.Not Case-sensitive. SEARCH(find_text,within_text,start_num) search function example download SUBSTITUTE Finds and replaces text. Case-sensitive. SUBSTITUTE(text,old_text,new_text,instance_num) substitute function example download TEXT Converts a value into text with a specific number format. TEXT(VALUE,format_text) text function example download TRIM Removes all extra spaces from text. TRIM(text) trim function example download UPPER Converts text to upper case. UPPER(text) upper function example download VALUE Converts a number stored as text into a number. VALUE(text) value function example download

totn Excel Functions


MS Excel: Formulas and Functions — Listed by Category

Learn how to use all 300+ Excel formulas and functions including worksheet functions entered in the formula bar and VBA functions used in Macros.

Worksheet formulas are built-in functions that are entered as part of a formula in a cell. These are the most basic functions used when learning Excel. VBA functions are built-in functions that are used in Excel’s programming environment called Visual Basic for Applications (VBA).

Below is a list of Excel formulas sorted by category. If you would like an alphabetical list of these formulas, click on the following button:

Sort Alphabetically


(Enter a value in the field above to quickly find functions in the list below)

Lookup/Ref Functions

ADDRESS (WS) Returns a text representation of a cell address
AREAS (WS) Returns the number of ranges in a reference
CHOOSE (WS, VBA) Returns a value from a list of values based on a given position
COLUMN (WS) Returns the column number of a cell reference
COLUMNS (WS) Returns the number of columns in a cell reference
HLOOKUP (WS) Performs a horizontal lookup by searching for a value in the top row of the table and returning the value in the same column based on the index_number
HYPERLINK (WS) Creates a shortcut to a file or Internet address
INDEX (WS) Returns either the value or the reference to a value from a table or range
INDIRECT (WS) Returns the reference to a cell based on its string representation
LOOKUP (WS) Returns a value from a range (one row or one column) or from an array
MATCH (WS) Searches for a value in an array and returns the relative position of that item
OFFSET (WS) Returns a reference to a range that is offset a number of rows and columns
ROW (WS) Returns the row number of a cell reference
ROWS (WS) Returns the number of rows in a cell reference
TRANSPOSE (WS) Returns a transposed range of cells
VLOOKUP (WS) Performs a vertical lookup by searching for a value in the first column of a table and returning the value in the same row in the index_number position
XLOOKUP (WS) Performs a lookup (either vertical or horizontal)

String/Text Functions

ASC (VBA) Returns ASCII value of a character
BAHTTEXT (WS) Returns the number in Thai text
CHAR (WS) Returns the character based on the ASCII value
CHR (VBA) Returns the character based on the ASCII value
CLEAN (WS) Removes all nonprintable characters from a string
CODE (WS) Returns the ASCII value of a character or the first character in a cell
CONCAT (WS) Used to join 2 or more strings together
CONCATENATE (WS) Used to join 2 or more strings together (replaced by CONCAT Function)
CONCATENATE with & (WS, VBA) Used to join 2 or more strings together using the & operator
DOLLAR (WS) Converts a number to text, using a currency format
EXACT (WS) Compares two strings and returns TRUE if both values are the same
FIND (WS) Returns the location of a substring in a string (case-sensitive)
FIXED (WS) Returns a text representation of a number rounded to a specified number of decimal places
FORMAT STRINGS (VBA) Takes a string expression and returns it as a formatted string
INSTR (VBA) Returns the position of the first occurrence of a substring in a string
INSTRREV (VBA) Returns the position of the first occurrence of a string in another string, starting from the end of the string
LCASE (VBA) Converts a string to lowercase
LEFT (WS, VBA) Extract a substring from a string, starting from the left-most character
LEN (WS, VBA) Returns the length of the specified string
LOWER (WS) Converts all letters in the specified string to lowercase
LTRIM (VBA) Removes leading spaces from a string
MID (WS, VBA) Extracts a substring from a string (starting at any position)
NUMBERVALUE (WS) Returns a text to a number specifying the decimal and group separators
PROPER (WS) Sets the first character in each word to uppercase and the rest to lowercase
REPLACE (WS) Replaces a sequence of characters in a string with another set of characters
REPLACE (VBA) Replaces a sequence of characters in a string with another set of characters
REPT (WS) Returns a repeated text value a specified number of times
RIGHT (WS, VBA) Extracts a substring from a string starting from the right-most character
RTRIM (VBA) Removes trailing spaces from a string
SEARCH (WS) Returns the location of a substring in a string
SPACE (VBA) Returns a string with a specified number of spaces
SPLIT (VBA) Used to split a string into substrings based on a delimiter
STR (VBA) Returns a string representation of a number
STRCOMP (VBA) Returns an integer value representing the result of a string comparison
STRCONV (VBA) Returns a string converted to uppercase, lowercase, proper case or Unicode
STRREVERSE (VBA) Returns a string whose characters are in reverse order
SUBSTITUTE (WS) Replaces a set of characters with another
T (WS) Returns the text referred to by a value
TEXT (WS) Returns a value converted to text with a specified format
TEXTJOIN (WS) Used to join 2 or more strings together separated by a delimiter
TRIM (WS, VBA) Returns a text value with the leading and trailing spaces removed
UCASE (VBA) Converts a string to all uppercase
UNICHAR (WS) Returns the Unicode character based on the Unicode number provided
UNICODE (WS) Returns the Unicode number of a character or the first character in a string
UPPER (WS) Convert text to all uppercase
VAL (VBA) Returns the numbers found in a string
VALUE (WS) Converts a text value that represents a number to a number

Date/Time Functions

DATE (WS) Returns the serial date value for a date
DATE (VBA) Returns the current system date
DATEADD (VBA) Returns a date after which a certain time/date interval has been added
DATEDIF (WS) Returns the difference between two date values, based on the interval specified
DATEDIFF (VBA) Returns the difference between two date values, based on the interval specified
DATEPART (VBA) Returns a specified part of a given date
DATESERIAL (VBA) Returns a date given a year, month, and day value
DATEVALUE (WS, VBA) Returns the serial number of a date
DAY (WS, VBA) Returns the day of the month (a number from 1 to 31) given a date value
DAYS (WS) Returns the number of days between 2 dates
DAYS360 (WS) Returns the number of days between two dates based on a 360-day year
EDATE (WS) Adds a specified number of months to a date and returns the result as a serial date
EOMONTH (WS) Calculates the last day of the month after adding a specified number of months to a date
FORMAT DATES (VBA) Takes a date expression and returns it as a formatted string
HOUR (WS, VBA) Returns the hours (a number from 0 to 23) from a time value
ISOWEEKNUM (WS) Returns the ISO week number for a date
MINUTE (WS, VBA) Returns the minutes (a number from 0 to 59) from a time value
MONTH (WS, VBA) Returns the month (a number from 1 to 12) given a date value
MONTHNAME (VBA) Returns a string representing the month given a number from 1 to 12
NETWORKDAYS (WS) Returns the number of work days between 2 dates, excluding weekends and holidays
NETWORKDAYS.INTL (WS) Returns the number of work days between 2 dates, excluding weekends and holidays
NOW (WS, VBA) Returns the current system date and time
SECOND (WS) Returns the seconds (a number from 0 to 59) from a time value
TIME (WS) Returns a decimal number given an hour, minute and second value
TIMESERIAL (VBA) Returns a time given an hour, minute, and second value
TIMEVALUE (WS, VBA) Returns the serial number of a time
TODAY (WS) Returns the current system date
WEEKDAY (WS, VBA) Returns a number representing the day of the week, given a date value
WEEKDAYNAME (VBA) Returns a string representing the day of the week given a number from 1 to 7
WEEKNUM (WS) Returns the week number for a date
WORKDAY (WS) Adds a specified number of work days to a date and returns the result as a serial date
WORKDAY.INTL (WS) Adds a specified number of work days to a date and returns the result as a serial date (customizable weekends)
YEAR (WS, VBA) Returns a four-digit year (a number from 1900 to 9999) given a date value
YEARFRAC (WS) Returns the number of days between 2 dates as a year fraction

Math/Trig Functions

ABS (WS, VBA) Returns the absolute value of a number
ACOS (WS) Returns the arccosine (in radians) of a number
ACOSH (WS) Returns the inverse hyperbolic cosine of a number
AGGREGATE (WS) Apply functions such AVERAGE, SUM, COUNT, MAX or MIN and ignore errors or hidden rows
ASIN (WS) Returns the arcsine (in radians) of a number
ASINH (WS) Returns the inverse hyperbolic sine of a number
ATAN (WS) Returns the arctangent (in radians) of a number
ATAN2 (WS) Returns the arctangent (in radians) of (x,y) coordinates
ATANH (WS) Returns the inverse hyperbolic tangent of a number
ATN (VBA) Returns the arctangent of a number
CEILING (WS) Returns a number rounded up based on a multiple of significance
CEILING.PRECISE (WS) Returns a number rounded up to the nearest integer or to the nearest multiple of significance
COMBIN (WS) Returns the number of combinations for a specified number of items
COMBINA (WS) Returns the number of combinations for a specified number of items and includes repetitions
COS (WS, VBA) Returns the cosine of an angle
COSH (WS) Returns the hyperbolic cosine of a number
DEGREES (WS) Converts radians into degrees
EVEN (WS) Rounds a number up to the nearest even integer
EXP (WS, VBA) Returns e raised to the nth power
FACT (WS) Returns the factorial of a number
FIX (VBA) Returns the integer portion of a number
FLOOR (WS) Returns a number rounded down based on a multiple of significance
FORMAT NUMBERS (VBA) Takes a numeric expression and returns it as a formatted string
INT (WS, VBA) Returns the integer portion of a number
LN (WS) Returns the natural logarithm of a number
LOG (WS) Returns the logarithm of a number to a specified base
LOG (VBA) Returns the natural logarithm of a number
LOG10 (WS) Returns the base-10 logarithm of a number
MDETERM (WS) Returns the matrix determinant of an array
MINVERSE (WS) Returns the inverse matrix for a given matrix
MMULT (WS) Returns the matrix product of two arrays
MOD (WS) Returns the remainder after a number is divided by a divisor
MOD (VBA) Returns the remainder after a number is divided by a divisor
ODD (WS) Rounds a number up to the nearest odd integer
PI (WS) Returns the mathematical constant called pi
POWER (WS) Returns the result of a number raised to a given power
PRODUCT (WS) Multiplies the numbers and returns the product
RADIANS (WS) Converts degrees into radians
RAND (WS) Returns a random number that is greater than or equal to 0 and less than 1
RANDBETWEEN (WS) Returns a random number that is between a bottom and top range
RANDOMIZE (VBA) Used to change the seed value used by the random number generator for the RND function
RND (VBA) Used to generate a random number (integer value)
ROMAN (WS) Converts a number to roman numeral
ROUND (WS) Returns a number rounded to a specified number of digits
ROUND (VBA) Returns a number rounded to a specified number of digits
ROUNDDOWN (WS) Returns a number rounded down to a specified number of digits
ROUNDUP (WS) Returns a number rounded up to a specified number of digits
SGN (VBA) Returns the sign of a number
SIGN (WS) Returns the sign of a number
SIN (WS, VBA) Returns the sine of an angle
SINH (WS) Returns the hyperbolic sine of a number
SQR (VBA) Returns the square root of a number
SQRT (WS) Returns the square root of a number
SUBTOTAL (WS) Returns the subtotal of the numbers in a column in a list or database
SUM (WS) Adds all numbers in a range of cells
SUMIF (WS) Adds all numbers in a range of cells based on one criteria
SUMIFS (WS) Adds all numbers in a range of cells, based on a single or multiple criteria
SUMPRODUCT (WS) Multiplies the corresponding items in the arrays and returns the sum of the results
SUMSQ (WS) Returns the sum of the squares of a series of values
SUMX2MY2 (WS) Returns the sum of the difference of squares between two arrays
SUMX2PY2 (WS) Returns the sum of the squares of corresponding items in the arrays
SUMXMY2 (WS) Returns the sum of the squares of the differences between corresponding items in the arrays
TAN (WS, VBA) Returns the tangent of an angle
TANH (WS) Returns the hyperbolic tangent of a number
TRUNC (WS) Returns a number truncated to a specified number of digits

Statistical Functions

AVEDEV (WS) Returns the average of the absolute deviations of the numbers provided
AVERAGE (WS) Returns the average of the numbers provided
AVERAGEA (WS) Returns the average of the numbers provided and treats TRUE as 1 and FALSE as 0
AVERAGEIF (WS) Returns the average of all numbers in a range of cells, based on a given criteria
AVERAGEIFS (WS) Returns the average of all numbers in a range of cells, based on multiple criteria
BETA.DIST (WS) Returns the beta distribution
BETA.INV (WS) Returns the inverse of the cumulative beta probability density function
BETADIST (WS) Returns the cumulative beta probability density function
BETAINV (WS) Returns the inverse of the cumulative beta probability density function
BINOM.DIST (WS) Returns the individual term binomial distribution probability
BINOM.INV (WS) Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion
BINOMDIST (WS) Returns the individual term binomial distribution probability
CHIDIST (WS) Returns the one-tailed probability of the chi-squared distribution
CHIINV (WS) Returns the inverse of the one-tailed probability of the chi-squared distribution
CHITEST (WS) Returns the value from the chi-squared distribution
COUNT (WS) Counts the number of cells that contain numbers as well as the number of arguments that contain numbers
COUNTA (WS) Counts the number of cells that are not empty as well as the number of value arguments provided
COUNTBLANK (WS) Counts the number of empty cells in a range
COUNTIF (WS) Counts the number of cells in a range, that meets a given criteria
COUNTIFS (WS) Counts the number of cells in a range, that meets a single or multiple criteria
COVAR (WS) Returns the covariance, the average of the products of deviations for two data sets
FORECAST (WS) Returns a prediction of a future value based on existing values provided
FREQUENCY (WS) Returns how often values occur within a set of data. It returns a vertical array of numbers
GROWTH (WS) Returns the predicted exponential growth based on existing values provided
INTERCEPT (WS) Returns the y-axis intersection point of a line using x-axis values and y-axis values
LARGE (WS) Returns the nth largest value from a set of values
LINEST (WS) Uses the least squares method to calculate the statistics for a straight line and returns an array describing that line
MAX (WS) Returns the largest value from the numbers provided
MAXA (WS) Returns the largest value from the values provided (numbers, text and logical values)
MAXIFS (WS) Returns the largest value in a range, that meets a single or multiple criteria
MEDIAN (WS) Returns the median of the numbers provided
MIN (WS) Returns the smallest value from the numbers provided
MINA (WS) Returns the smallest value from the values provided (numbers, text and logical values)
MINIFS (WS) Returns the smallest value in a range, that meets a single or multiple criteria
MODE (WS) Returns most frequently occurring number
MODE.MULT (WS) Returns a vertical array of the most frequently occurring numbers
MODE.SNGL (WS) Returns most frequently occurring number
PERCENTILE (WS) Returns the nth percentile from a set of values
PERCENTRANK (WS) Returns the nth percentile from a set of values
PERMUT (WS) Returns the number of permutations for a specified number of items
QUARTILE (WS) Returns the quartile from a set of values
RANK (WS) Returns the rank of a number within a set of numbers
SLOPE (WS) Returns the slope of a regression line based on the data points identified by known_y_values and known_x_values
SMALL (WS) Returns the nth smallest value from a set of values
STDEV (WS) Returns the standard deviation of a population based on a sample of numbers
STDEVA (WS) Returns the standard deviation of a population based on a sample of numbers, text, and logical values
STDEVP (WS) Returns the standard deviation of a population based on an entire population of numbers
STDEVPA (WS) Returns the standard deviation of a population based on an entire population of numbers, text, and logical values
VAR (WS) Returns the variance of a population based on a sample of numbers
VARA (WS) Returns the variance of a population based on a sample of numbers, text, and logical values
VARP (WS) Returns the variance of a population based on an entire population of numbers
VARPA (WS) Returns the variance of a population based on an entire population of numbers, text, and logical values

Logical Functions

AND (WS) Returns TRUE if all conditions are TRUE
AND (VBA) Returns TRUE if all conditions are TRUE
CASE (VBA) Has the functionality of an IF-THEN-ELSE statement
FALSE (WS) Returns a logical value of FALSE
FOR…NEXT (VBA) Used to create a FOR LOOP
IF (WS) Returns one value if the condition is TRUE or another value if the condition is FALSE
IF (more than 7) (WS) Nest more than 7 IF functions
IF (up to 7) (WS) Nest up to 7 IF functions
IF-THEN-ELSE (VBA) Returns a value if a specified condition evaluates to TRUE or another value if it evaluates to FALSE
IFERROR (WS) Used to return an alternate value if a formula results in an error
IFNA (WS) Used to return an alternate value if a formula results in #N/A error
IFS (WS) Specify multiple IF conditions within 1 function
NOT (WS) Returns the reversed logical value
OR (WS) Returns TRUE if any of the conditions are TRUE
OR (VBA) Returns TRUE if any of the conditions are TRUE
SWITCH (WS) Compares an expression to a list of values and returns the corresponding result
SWITCH (VBA) Evaluates a list of expressions and returns the corresponding value for the first expression in the list that is TRUE
TRUE (WS) Returns a logical value of TRUE
WHILE…WEND (VBA) Used to create a WHILE LOOP

Information Functions

CELL (WS) Used to retrieve information about a cell such as contents, formatting, size, etc.
ENVIRON (VBA) Returns the value of an operating system environment variable
ERROR.TYPE (WS) Returns the numeric representation of an Excel error
INFO (WS) Returns information about the operating environment
ISBLANK (WS) Used to check for blank or null values
ISDATE (VBA) Returns TRUE if the expression is a valid date
ISEMPTY (VBA) Used to check for blank cells or uninitialized variables
ISERR (WS) Used to check for error values except #N/A
ISERROR (WS, VBA) Used to check for error values
ISLOGICAL (WS) Used to check for a logical value (TRUE or FALSE)
ISNA (WS) Used to check for #N/A error
ISNONTEXT (WS) Used to check for a value that is not text
ISNULL (VBA) Used to check for a NULL value
ISNUMBER (WS) Used to check for a numeric value
ISNUMERIC (VBA) Used to check for a numeric value
ISREF (WS) Used to check for a reference
ISTEXT (WS) Used to check for a text value
N (WS) Converts a value to a number
NA (WS) Returns the #N/A error value
TYPE (WS) Returns the type of a value

Financial Functions

ACCRINT (WS) Returns the accrued interest for a security that pays interest on a periodic basis
ACCRINTM (WS) Returns the accrued interest for a security that pays interest at maturity
AMORDEGRC (WS) Returns the linear depreciation of an asset for each accounting period, on a prorated basis
AMORLINC (WS) Returns the depreciation of an asset for each accounting period, on a prorated basis
DB (WS) Returns the depreciation of an asset based on the fixed-declining balance method
DDB (WS, VBA) Returns the depreciation of an asset based on the double-declining balance method
FV (WS, VBA) Returns the future value of an investment
IPMT (WS, VBA) Returns the interest payment for an investment
IRR (WS, VBA) Returns the internal rate of return for a series of cash flows
ISPMT (WS) Returns the interest payment for an investment
MIRR (WS, VBA) Returns the modified internal rate of return for a series of cash flows
NPER (WS, VBA) Returns the number of periods for an investment
NPV (WS, VBA) Returns the net present value of an investment
PMT (WS, VBA) Returns the payment amount for a loan
PPMT (WS, VBA) Returns the payment on the principal for a particular payment
PV (WS, VBA) Returns the present value of an investment
RATE (WS, VBA) Returns the interest rate for an annuity
SLN (WS, VBA) Returns the depreciation of an asset based on the straight-line depreciation method
SYD (WS, VBA) Returns the depreciation of an asset based on the sum-of-years’ digits depreciation method
VDB (WS) Returns the depreciation of an asset based on a variable declining balance depreciation method
XIRR (WS) Returns the internal rate of return for a series of cash flows that may not be periodic

Database Functions

DAVERAGE (WS) Averages all numbers in a column in a list or database, based on a given criteria
DCOUNT (WS) Returns the number of cells in a column or database that contains numeric values and meets a given criteria
DCOUNTA (WS) Returns the number of cells in a column or database that contains nonblank values and meets a given criteria
DGET (WS) Retrieves from a database a single record that matches a given criteria
DMAX (WS) Returns the largest number in a column in a list or database, based on a given criteria
DMIN (WS) Returns the smallest number in a column in a list or database, based on a given criteria
DPRODUCT (WS) Returns the product of the numbers in a column in a list or database, based on a given criteria
DSTDEV (WS) Returns the standard deviation of a population based on a sample of numbers
DSTDEVP (WS) Returns the standard deviation of a population based on the entire population of numbers
DSUM (WS) Sums the numbers in a column or database that meets a given criteria
DVAR (WS) Returns the variance of a population based on a sample of numbers
DVARP (WS) Returns the variance of a population based on the entire population of numbers

Engineering Functions

BIN2DEC (WS) Converts a binary number to a decimal number
BIN2HEX (WS) Converts a binary number to a hexadecimal number
BIN2OCT (WS) Converts a binary number to an octal number
COMPLEX (WS) Converts coefficients (real and imaginary) into a complex number
CONVERT (WS) Convert a number from one measurement unit to another measurement unit

File/Directory Functions

CHDIR (VBA) Used to change the current directory or folder
CHDRIVE (VBA) Used to change the current drive
CURDIR (VBA) Returns the current path
DIR (VBA) Returns the first filename that matches the pathname and attributes specified
FILEDATETIME (VBA) Returns the date and time of when a file was created or last modified
FILELEN (VBA) Returns the size of a file in bytes
GETATTR (VBA) Returns an integer that represents the attributes of a file, folder, or directory
MKDIR (VBA) Used to create a new folder or directory
SETATTR (VBA) Used to set the attributes of a file

Data Type Conv. Functions

CBOOL (VBA) Converts a value to a boolean
CBYTE (VBA) Converts a value to a byte (ie: number between 0 and 255)
CCUR (VBA) Converts a value to currency
CDATE (VBA) Converts a value to a date
CDBL (VBA) Converts a value to a double
CDEC (VBA) Converts a value to a decimal number
CINT (VBA) Converts a value to an integer
CLNG (VBA) Converts a value to a long integer
CSNG (VBA) Converts a value to a single-precision number
CSTR (VBA) Converts a value to a string
CVAR (VBA) Converts a value to a variant

More Lookup Functions

Other

The complete Excel Functions list includes lookup, logic, date and time, text, information, and math functions with examples. Excel Functions are built-in presets, so Excel functions are hard-coded formulas with short, user-friendly names.

The list contains 300+ built-in Excel functions. Furthermore, look at the library of useful advanced functions (UDFs). If you want to jump to a specific category, use the list below; else, use the Search box for the latest tutorials.

  • User-defined functions (must-have)
  • Logical
  • Text
  • Lookup
  • Date and Time
  • Dynamic array
  • Information
  • Math
  • Statistical
  • Financial

Excel Function List

Logical

The functions below use logical tests and logical operators to evaluate a formula. Learn more about Boolean expressions.

LOOKUP

Here is the list of lookup functions in Excel. Of course, we already know that XLOOKUP changes everything. But it is worth keeping in mind the older lookup functions too.

User-defined functions

UDFs are advanced functions.

Date and Time

Date and Time functions help you create calculations based on dates and times.

Text

Text functions in Excel enable you to perform various calculations using strings.

Dynamic Array

Dynamic Arrays are resizable arrays. From now, Excel calculates the array automatically and returns values into multiple cells based on a formula entered in a single cell.

Information

Take a quick overview of information functions in Excel.

Math

Math Functions are great.

Math – Part 2

Financial

Use financial functions if you want.

Financial – Part 2

Statistical

Statistical – Part 2

Trigonometry

Engineering

Database

How to use Excel Functions?

To use a function, type an equal sign (=) in the formula bar or the cell to enter a function you want to use. After that, enter the function’s name and the arguments. There are custom functions in Excel, user-defined functions. If you want to learn more about how to solve complex tasks using UDFs, read our guide.

Below is a brief overview of about 100 important Excel functions you should know, with links to detailed examples. We also have a large list of example formulas, a more complete list of Excel functions, and video training. If you are new to Excel formulas, see this introduction.

Note: Excel now includes Dynamic Array formulas, which offer important new functions.

Date and Time Functions

Excel provides many functions to work with dates and times. 

NOW and TODAY

You can get the current date with the TODAY function and the current date and time with the NOW Function. Technically, the NOW function returns the current date and time, but you can format as time only, as seen below:

NOW and TODAY functions

TODAY() // returns current date
NOW() // returns current time

Note: these are volatile functions and will recalculate with every worksheet change. If you want a static value, use date and time shortcuts.

DAY, MONTH, YEAR, and DATE

You can use the DAY, MONTH, and YEAR functions to disassemble any date into its raw components, and the DATE function to put things back together again.

Functions to disassemble and reassemble dates

=DAY("14-Nov-2018") // returns 14
=MONTH("14-Nov-2018") // returns 11
=YEAR("14-Nov-2018") // returns 2018
=DATE(2018,11,14) // returns 14-Nov-2018

HOUR, MINUTE, SECOND, and TIME

Excel provides a set of parallel functions for times. You can use the HOUR, MINUTE, and SECOND functions to extract pieces of a time, and you can assemble a TIME from individual components with the TIME function.

Time function examples

=HOUR("10:30") // returns 10
=MINUTE("10:30") // returns 30
=SECOND("10:30") // returns 0
=TIME(10,30,0) // returns 10:30

DATEDIF and YEARFRAC

You can use the DATEDIF function to get time between dates in years, months, or days. DATEDIF can also be configured to get total time in «normalized» denominations, i.e. «2 years and 6 months and 27 days».

DATEDIF function example

Use YEARFRAC to get fractional years:

YEARFRAC function example

=YEARFRAC("14-Nov-2018","10-Jun-2021") // returns 2.57

EDATE and EOMONTH

A common task with dates is to shift a date forward (or backward) by a given number of months. You can use the EDATE and EOMONTH functions for this. EDATE moves by month and retains the day. EOMONTH works the same way, but always returns the last day of the month.

EDATE and EOMONTH function examples

EDATE(date,6) // 6 months forward
EOMONTH(date,6) // 6 months forward (end of month)

WORKDAY and NETWORKDAYS

To figure out a date n working days in the future, you can use the WORKDAY function. To calculate the number of workdays between two dates, you can use NETWORKDAYS.

WORKDAY function example

WORKDAY(start,n,holidays) // date n workdays in future

Video: How to calculate due dates with WORKDAY

NETWORKDAYS function example

NETWORKDAYS(start,end,holidays) // number of workdays between dates

Note: Both functions automatically skip weekends (Saturday and Sunday) and will also skip holidays, if provided. If you need more flexibility on what days are considered weekends, see the WORKDAY.INTL function and NETWORKDAYS.INTL function. 

WEEKDAY and WEEKNUM

To figure out the day of week from a date, Excel provides the WEEKDAY function. WEEKDAY returns a number between 1-7 that indicates Sunday, Monday, Tuesday, etc. Use the WEEKNUM function to get the week number in a given year.

WEEKDAY and WEEKNUM function examples

=WEEKDAY(date) // returns a number 1-7
=WEEKNUM(date) // returns week number in year

Engineering

CONVERT

Most Engineering functions are pretty technical…you’ll find a lot of functions for complex numbers in this section. However, the CONVERT function is quite useful for everyday unit conversions. You can use CONVERT to change units for distance, weight, temperature, and much more.

CONVERT function example

=CONVERT(72,"F","C") // returns 22.2

Information Functions

ISBLANK, ISERROR, ISNUMBER, and ISFORMULA

Excel provides many functions for checking the value in a cell, including ISNUMBER,  ISTEXT, ISLOGICAL, ISBLANK, ISERROR, and ISFORMULA  These functions are sometimes called the «IS» functions, and they all return TRUE or FALSE based on a cell’s contents.

ISNUMBER ISTEXT ISLOGICAL ISBLANK ISERROR ISFORMULA

Excel also has ISODD and ISEVEN functions that will test a number to see if it’s even or odd.

By the way, the green fill in the screenshot above is applied automatically with a conditional formatting formula.

Logical Functions

Excel’s logical functions are a key building block of many advanced formulas. Logical functions return the boolean values TRUE or FALSE. If you need a primer on logical formulas, this video goes through many examples.

AND, OR and NOT

The core of Excel’s logical functions are the AND function, the OR function, and the NOT function. In the screen below, each of these function is used to run a simple test on the values in column B:

AND, OR, and NOT functions

=AND(B5>3,B5<9)
=OR(B5=3,B5=9)
=NOT(B5=2)
  • Video: How to build logical formulas
  • Guide: 50 examples of formula criteria

IFERROR and IFNA

The IFERROR function and IFNA function can be used as a simple way to trap and handle errors. In the screen below, VLOOKUP is used to retrieve cost from a menu item. Column F contains just a VLOOKUP function, with no error handling. Column G shows how to use IFNA with VLOOKUP to display a custom message when an unrecognized item is entered.

IFNA function with VLOOKUP example

=VLOOKUP(E5,menu,2,0) // no error trapping
=IFNA(VLOOKUP(E5,menu,2,0),"Not found") // catch errors

Whereas IFNA only catches an #N/A error, the IFERROR function will catch any formula error.

IF and IFS functions

The IF function is one of the most used functions in Excel. In the screen below, IF checks test scores and assigns «pass» or «fail»:

IF function example

Multiple IF functions can be nested together to perform more complex logical tests.

New in Excel 2019 and Excel 365, the IFS function can run multiple logical tests without nesting IFs.

IFS function example

=IFS(C5<60,"F",C5<70,"D",C5<80,"C",C5<90,"B",C5>=90,"A")

Lookup and Reference Functions

VLOOKUP and HLOOKUP

Excel offers a number of functions to lookup and retrieve data. Most famous of all is VLOOKUP:

VLOOKUP function example

=VLOOKUP(C5,$F$5:$G$7,2,TRUE)

More: 23 things to know about VLOOKUP.

HLOOKUP works like VLOOKUP, but expects data arranged horizontally:

HLOOKUP function example

=HLOOKUP(C5,$G$4:$I$5,2,TRUE)

INDEX and MATCH

For more complicated lookups, INDEX and MATCH offers more flexibility and power:

INDEX and MATCH function example

=INDEX(C5:E12,MATCH(H4,B5:B12,0),MATCH(H5,C4:E4,0))

Both the INDEX function and the MATCH function are powerhouse functions that turn up in all kinds of formulas.

More: How to use INDEX and MATCH

LOOKUP

The LOOKUP function has default behaviors that make it useful when solving certain problems. LOOKUP assumes values are sorted in ascending order and always performs an approximate match. When LOOKUP can’t find a match, it will match the next smallest value. In the example below we are using LOOKUP to find the last entry in a column:

LOOKUP function example - last non-empty cell

ROW and COLUMN

You can use the ROW function and COLUMN function to find row and column numbers on a worksheet. Notice both ROW and COLUMN return values for the current cell if no reference is supplied:

ROW and COLUMN function example

The row function also shows up often in advanced formulas that process data with relative row numbers.

ROWS and COLUMNS

The ROWS function and COLUMNS function provide a count of rows in a reference. In the screen below, we are counting rows and columns in an Excel Table named «Table1».

ROWS and COLUMNS function example

Note ROWS returns a count of data rows in a table, excluding the header row. By the way, here are 23 things to know about Excel Tables.

HYPERLINK

You can use the HYPERLINK function to construct a link with a formula. Note HYPERLINK lets you build both external links and internal links:

HYPERLINK function example

=HYPERLINK(C5,B5)

GETPIVOTDATA

The GETPIVOTDATA function is useful for retrieving information from existing pivot tables.

GETPIVOTDATA function example

=GETPIVOTDATA("Sales",$B$4,"Region",I6,"Product",I7)

CHOOSE

The CHOOSE function is handy any time you need to make a choice based on a number:

CHOOSE function example

=CHOOSE(2,"red","blue","green") // returns "blue"

Video: How to use the CHOOSE function

TRANSPOSE

The TRANSPOSE function gives you an easy way to transpose vertical data to horizontal, and vice versa.

TRANSPOSE function example

{=TRANSPOSE(B4:C9)}

Note: TRANSPOSE is a formula and is, therefore, dynamic. If you just need to do a one-time transpose operation, use Paste Special instead.

OFFSET

The OFFSET function is useful for all kinds of dynamic ranges. From a starting location, it lets you specify row and column offsets, and also the final row and column size. The result is a range that can respond dynamically to changing conditions and inputs. You can feed this range to other functions, as in the screen below, where OFFSET builds a range that is fed to the SUM function:

OFFSET function example

=SUM(OFFSET(B4,1,I4,4,1)) // sum of Q3

INDIRECT

The INDIRECT function allows you to build references as text. This concept is a bit tricky to understand at first, but it can be useful in many situations. Below, we are using INDIRECT to get values from cell A1 in 5 different worksheets. Each reference is dynamic. If a sheet name changes, the reference will update.

INDIRECT function example

=INDIRECT(B5&"!A1") // =Sheet1!A1

The INDIRECT function is also used to «lock» references so they won’t change, when rows or columns are added or deleted. For more details, see linked examples at the bottom of the INDIRECT function page.

Caution: both OFFSET and INDIRECT are volatile functions and can slow down large or complicated spreadsheets.

STATISTICAL Functions

COUNT and COUNTA

You can count numbers with the COUNT function and non-empty cells with COUNTA. You can count blank cells with COUNTBLANK, but in the screen below we are counting blank cells with COUNTIF, which is more generally useful.

COUNT and COUNTA function examples

=COUNT(B5:F5) // count numbers
=COUNTA(B5:F5) // count numbers and text
=COUNTIF(B5:F5,"") // count blanks

COUNTIF and COUNTIFS

For conditional counts, the COUNTIF function can apply one criteria. The COUNTIFS function can apply multiple criteria at the same time:

COUNTIF and COUNTIFS function examples

=COUNTIF(C5:C12,"red") // count red
=COUNTIF(F5:F12,">50") // count total > 50
=COUNTIFS(C5:C12,"red",D5:D12,"TX") // red and tx
=COUNTIFS(C5:C12,"blue",F5:F12,">50") // blue > 50

Video: How to use the COUNTIF function

SUM, SUMIF, SUMIFS

To sum everything, use the SUM function. To sum conditionally, use SUMIF or SUMIFS. Following the same pattern as the counting functions, the SUMIF function can apply only one criteria while the SUMIFS function can apply multiple criteria.

SUM, SUMIFS, and SUMIFS function examples

=SUM(F5:F12) // everything
=SUMIF(C5:C12,"red",F5:F12) // red only
=SUMIF(F5:F12,">50") // over 50
=SUMIFS(F5:F12,C5:C12,"red",D5:D12,"tx") // red & tx
=SUMIFS(F5:F12,C5:C12,"blue",F5:F12,">50") // blue & >50

Video: How to use the SUMIF function

AVERAGE, AVERAGEIF, and AVERAGEIFS

Following the same pattern, you can calculate an average with AVERAGE, AVERAGEIF, and AVERAGEIFS.

AVERAGE, AVERAGEIF, and AVERAGEIFS function examples

=AVERAGE(F5:F12) // all
=AVERAGEIF(C5:C12,"red",F5:F12) // red only
=AVERAGEIFS(F5:F12,C5:C12,"red",D5:D12,"tx") // red and tx

MIN, MAX, LARGE, SMALL

You can find largest and smallest values with MAX and MIN, and nth largest and smallest values with LARGE and SMALL. In the screen below, data is the named range C5:C13, used in all formulas.

MAX, MIN, LARGE, and SMALL function examples

=MAX(data) // largest
=MIN(data) // smallest
=LARGE(data,1) // 1st largest
=LARGE(data,2) // 2nd largest
=LARGE(data,3) // 3rd largest
=SMALL(data,1) // 1st smallest
=SMALL(data,2) // 2nd smallest
=SMALL(data,3) // 3rd smallest

Video: How to find the nth smallest or largest value

MINIFS, MAXIFS

The MINIFS and MAXIFS. These functions let you find minimum and maximum values with conditions:

MINIFS and MAXIFS function examples

=MAXIFS(D5:D15,C5:C15,"female") // highest female
=MAXIFS(D5:D15,C5:C15,"male") // highest male
=MINIFS(D5:D15,C5:C15,"female") // lowest female
=MINIFS(D5:D15,C5:C15,"male") // lowest male

Note: MINIFS and MAXIFS are new in Excel via Office 365 and Excel 2019.

MODE

The MODE function returns the most commonly occurring number in a range:

MODE function example

=MODE(B5:G5) // returns 1

RANK

To rank values largest to smallest, or smallest to largest, use the RANK function:

RANK function example

Video: How to rank values with the RANK function

MATH Functions

ABS

To change negative values to positive use the ABS function.

ABS function example

=ABS(-134.50) // returns 134.50

RAND and RANDBETWEEN

Both the RAND function and RANDBETWEEN function can generate random numbers on the fly. RAND creates long decimal numbers between zero and 1. RANDBETWEEN generates random integers between two given numbers.

RAND and RANDBETWEEN function examples

=RAND() // between zero and 1
=RANDBETWEEN(1,100) // between 1 and 100

ROUND, ROUNDUP, ROUNDDOWN, INT

To round values up or down, use the ROUND function. To force rounding up to a given number of digits, use ROUNDUP. To force rounding down, use ROUNDDOWN. To discard the decimal part of a number altogether, use the INT function.

ROUND, ROUNDUP, ROUNDDOWN, INT function examples

=ROUND(11.777,1) // returns 11.8
=ROUNDUP(11.777) // returns 11.8
=ROUNDDOWN(11.777,1) // returns 11.7
=INT(11.777) // returns 11

MROUND, CEILING, FLOOR

To round values to the nearest multiple use the MROUND function. The FLOOR function and CEILING function also round to a given multiple. FLOOR forces rounding down, and CEILING forces rounding up.

MROUND, CEILING, FLOOR functions

=MROUND(13.85,.25) // returns 13.75
=CEILING(13.85,.25) // returns 14
=FLOOR(13.85,.25) // returns 13.75

MOD

The MOD function returns the remainder after division. This sounds boring and geeky, but MOD turns up in all kinds of formulas, especially formulas that need to do something «every nth time». In the screen below, you can see how MOD returns zero every third number when the divisor is 3:

MOD function example

SUMPRODUCT

The SUMPRODUCT function is a powerful and versatile tool when dealing with all kinds of data. You can use SUMPRODUCT to easily count and sum based on criteria, and you can use it in elegant ways that just don’t work with COUNTIFS and SUMIFS. In the screen below, we are using SUMPRODUCT to count and sum orders in March. See the SUMPRODUCT page for details and links to many examples.

SUMPRODUCT function example

=SUMPRODUCT(--(MONTH(B5:B12)=3)) // count March
=SUMPRODUCT(--(MONTH(B5:B12)=3),C5:C12) // sum March

SUBTOTAL

The SUBTOTAL function is an «aggregate function» that can perform a number of operations on a set of data. All told, SUBTOTAL can perform 11 operations, including SUM, AVERAGE, COUNT, MAX, MIN, etc. (see this page for the full list). The key feature of SUBTOTAL is that it will ignore rows that have been «filtered out» of an Excel Table, and, optionally, rows that have been manually hidden. In the screen below, SUBTOTAL is used to count and sum only the 7 visible rows in the table:

SUBTOTAL function example

=SUBTOTAL(3,B5:B14) // returns 7
=SUBTOTAL(9,F5:F14) // returns 9.54

AGGREGATE

Like SUBTOTAL, the AGGREGATE function can also run a number of aggregate operations on a set of data and can optionally ignore hidden rows. The key differences are that AGGREGATE can run more operations (19 total) and can also ignore errors.

In the screen below, AGGREGATE is used to perform MIN, MAX, LARGE and SMALL operations while ignoring errors. Normally, the error in cell B9 would prevent these functions from returning a result. See this page for a full list of operations AGGREGATE can perform.

AGGREGATE function example

=AGGREGATE(4,6,values) // MAX ignore errors, returns 100
=AGGREGATE(5,6,values) // MIN ignore errors, returns 75

TEXT Functions

LEFT, RIGHT, MID

To extract characters from the left, right, or middle of text, use LEFT, RIGHT, and MID functions:

LEFT, RIGHT, MID function examples

=LEFT("ABC-1234-RED",3) // returns "ABC"
=MID("ABC-1234-RED",5,4) // returns "1234"
=RIGHT("ABC-1234-RED",3) // returns "RED"

LEN

The LEN function will return the length of a text string. LEN shows up in a lot of formulas that count words or characters.

LEN function example

FIND, SEARCH

To look for specific text in a cell, use the FIND function or SEARCH function. These functions return the numeric position of matching text, but SEARCH allows wildcards and FIND is case-sensitive. Both functions will throw an error when text is not found, so wrap in the ISNUMBER function to return TRUE or FALSE (example here).

FIND and SEARCH function examples

=FIND("Better the devil you know","devil") // returns 12
=SEARCH("This is not my beautiful wife","bea*") // returns 12

REPLACE, SUBSTITUTE

To replace text by position, use the REPLACE function. To replace text by matching, use the SUBSTITUTE function. In the first example, REPLACE removes the two asterisks (**) by replacing the first two characters with an empty string («»). In the second example, SUBSTITUTE removes all hash characters (#) by replacing «#» with «».

REPLACE and SUBSTITUTE function examples

=REPLACE("**Red",1,2,"") // returns "Red"
=SUBSTITUTE("##Red##","#","") // returns "Red"

CODE, CHAR

To figure out the numeric code for a character, use the CODE function. To translate the numeric code back to a character, use the CHAR function. In the example below, CODE translates each character in column B to its corresponding code. In column F, CHAR translates the code back to a character.

CODE and CHAR function examples

=CODE("a") // returns 97
=CHAR(97) // returns "a"

Video: How to use the CODE and CHAR functions

TRIM, CLEAN

To get rid of extra space in text, use the TRIM function. To remove line breaks and other non-printing characters, use CLEAN.

TRIM and CLEAN function examples

=TRIM(A1) // remove extra space
=CLEAN(A1) // remove line breaks

Video: How to clean text with TRIM and CLEAN

CONCAT, TEXTJOIN, CONCATENATE

New in Excel  via Office 365 are CONCAT and TEXTJOIN. The CONCAT function lets you concatenate (join) multiple values, including a range of values without a delimiter. The TEXTJOIN function does the same thing, but allows you to specify a delimiter and can also ignore empty values.

CONCAT and TEXTJOIN function examples

=TEXTJOIN(",",TRUE,B4:H4) // returns "red,blue,green,pink,black"
=CONCAT(B7:H7) // returns "8675309"

Excel also provides the CONCATENATE function, but it doesn’t offer special features. I wouldn’t bother with it and would instead concatenate directly with the ampersand (&) character in a formula.

EXACT

The EXACT function allows you to compare two text strings in a case-sensitive manner.

EXACT function example

UPPER, LOWER, PROPER

To change the case of text, use the UPPER, LOWER, and PROPER function

UPPER, LOWER, PROPER function examples

=UPPER("Sue BROWN") // returns "SUE BROWN"
=LOWER("Sue BROWN") // returns "sue brown"
=PROPER("Sue BROWN") // returns "Sue Brown"

Video: How to change case with formulas

TEXT

Last but definitely not least is the TEXT function. The text function lets you apply number formatting to numbers (including dates, times, etc.) as text. This is especially useful when you need to embed a formatted number in a message, like «Sale ends on [date]».

TEXT function example

=TEXT(B5,"$#,##0.00") 
=TEXT(B6,"000000")
="Save "&TEXT(B7,"0%")
="Sale ends "&TEXT(B8,"mmm d")

More: Detailed examples of custom number formatting.

Dynamic Array functions

Dynamic arrays are new in Excel 365, and are a major upgrade to Excel’s formula engine. As part of the dynamic array update, Excel includes new functions which directly leverage dynamic arrays to solve problems that are traditionally hard to solve with conventional formulas. If you are using Excel 365, make sure you are aware of these new functions:

Function Purpose
FILTER Filter data and return matching records
RANDARRAY Generate array of random numbers
SEQUENCE Generate array of sequential numbers
SORT Sort range by column
SORTBY Sort range by another range or array
UNIQUE Extract unique values from a list or range
XLOOKUP Modern replacement for VLOOKUP
XMATCH Modern replacement for the MATCH function

Video: New dynamic array functions in Excel (about 3 minutes).

Quick navigation

ABS, AGGREGATE, AND, AVERAGE, AVERAGEIF, AVERAGEIFS, CEILING, CHAR, CHOOSE, CLEAN, CODE, COLUMN, COLUMNS, CONCAT, CONCATENATE, CONVERT, COUNT, COUNTA, COUNTBLANK, COUNTIF, COUNTIFS, DATE, DATEDIF, DAY, EDATE, EOMONTH, EXACT, FIND, FLOOR, GETPIVOTDATA, HLOOKUP, HOUR, HYPERLINK, IF, IFERROR, IFNA, IFS, INDEX, INDIRECT, INT, ISBLANK, ISERROR, ISEVEN, ISFORMULA, ISLOGICAL, ISNUMBER, ISODD, ISTEXT, LARGE, LEFT, LEN, LOOKUP, LOWER, MATCH, MAX, MAXIFS, MID, MIN, MINIFS, MINUTE, MOD, MODE, MONTH, MROUND, NETWORKDAYS, NOT, NOW, OFFSET, OR, PROPER, RAND, RANDBETWEEN, RANK, REPLACE, RIGHT, ROUND, ROUNDDOWN, ROUNDUP, ROW, ROWS, SEARCH, SECOND, SMALL, SUBSTITUTE, SUBTOTAL, SUM, SUMIF, SUMIFS, SUMPRODUCT, TEXT, TEXTJOIN, TIME, TODAY, TRANSPOSE, TRIM, UPPER, VLOOKUP, WEEKDAY, WEEKNUM, WORKDAY, YEAR, YEARFRAC 

Понравилась статья? Поделить с друзьями:
  • All excel functions and examples
  • All excel formula in excel sheet
  • All excel formula 2007
  • All excel files extensions
  • All excel files are locked