Excel Functions
Excel Functions
Text Functions
Information Functions
Lookup and Reference Functions
Statistical Functions
Financial Functions
Cube Functions
Excel Text Functions
Functions to Remove Extra Characters
CLEAN Removes all non-printable characters from a supplied text string
TRIM Removes duplicate spaces, and spaces at the start and end of a text string
BAHTTEXT Converts a number, plus the suffix "Baht" into Thai text
Converts all characters in a supplied text string to proper case (i.e. letters that
PROPER do not follow another letter are upper case and all other characters are lower
case)
UPPER Converts all characters in a supplied text string to upper case
Replacing / Substituting Parts of a Text String
Replaces all or part of a text string with another string (from a user supplied
REPLACE position)
Substitutes all occurrences of a search text string, within an original text string,
SUBSTITUTE with the supplied replacement text
Returns a logical value that is the opposite of a user supplied logical value or
expression
NOT
(ie. returns FALSE is the supplied argument is TRUE and returns TRUE if the
supplied argument is FALSE)
Tests if an initial supplied value (or expression) returns an error (EXCEPT for the
ISERR #N/A error) and if so, returns TRUE; Otherwise returns FALSE
Tests if an initial supplied value (or expression) returns the Excel #N/A error and
ISNA if so, returns TRUE; Otherwise returns FALSE
Tests a supplied value and returns an integer relating to the supplied value's
ERROR.TYPE error type
Tests if a supplied value is a number, and if so, returns TRUE; Otherwise, returns
ISNUMBER FALSE.
Tests if a supplied number (or expression) is an even number, and if so, returns
ISEVEN TRUE; Otherwise, returns FALSE.
Tests if a supplied number (or expression) is an odd number, and if so, returns
ISODD TRUE; Otherwise, returns FALSE.
Converts a non-number value to a number, a date to a serial number, the logical
N value TRUE to 1 and all other values to 0.
Converts a text string showing a date, to an integer that represents the date in
DATEVALUE Excel's date-time code
Converts a text string showing a time, to a decimal that represents the time in
TIMEVALUE Excel
ISOWEEKNUM Returns the ISO week number of the year for a given date (New in Excel 2013)
WEEKDAY Returns an integer representing the day of the week for a supplied date
ROW Returns the row number of a supplied range, or of the current cell
COLUMN Returns the column number of a supplied range, or of the current cell
ROWS Returns the number of rows in a supplied range
COLUMNS Returns the number of columns in a supplied range
AREAS Returns the number of areas in a supplied range
GCD Returns the Greatest Common Divisor of two or more supplied numbers
LCM Returns the Least Common Multiple of two or more supplied numbers
QUOTIENT Returns the integer portion of a division between two supplied numbers
MOD Returns the remainder from a division between two supplied numbers
Performs a specified calculation (eg. the sum, product, average, etc.) for a list or
AGGREGATE database, with the option to ignore hidden rows and error values (New in Excel
2010)
Performs a specified calculation (eg. the sum, product, average, etc.) for a
SUBTOTAL supplied set of values
Rounding Functions
Rounds a number away from zero (ie. rounds a positive number up and a
CEILING negative number down), to a multiple of significance
CEILING.PRECISE Rounds a number up, regardless of the sign of the number, to a multiple of
significance (New in Excel 2010)
Rounds a number up, regardless of the sign of the number, to a multiple of
ISO.CEILING significance. (New in Excel 2010)
Rounds a number up to the nearest integer or to the nearest multiple of
CEILING.MATH significance (New in Excel 2013)
Rounds a number away from zero (ie. rounds a positive number up and a
EVEN negative number down), to the next even number
Rounds a number towards zero, (ie. rounds a positive number down and a
FLOOR negative number up), to a multiple of significance
Rounds a number down, regardless of the sign of the number, to a multiple of
FLOOR.PRECISE significance (New in Excel 2010)
Rounds a number down, to the nearest integer or to the nearest multiple of
FLOOR.MATH significance (New in Excel 2013)
INT Rounds a number down to the next integer
MROUND Rounds a number up or down, to the nearest multiple of significance
Rounds a number away from zero (ie. rounds a positive number up and a
ODD negative number down), to the next odd number
ROUND Rounds a number up or down, to a given number of digits
Rounds a number towards zero, (ie. rounds a positive number down and a
ROUNDDOWN negative number up), to a given number of digits
Rounds a number away from zero (ie. rounds a positive number up and a
ROUNDUP negative number down), to a given number of digits
Truncates a number towards zero (ie. rounds a positive number down and a
TRUNC negative number up), to the next integer.
Matrix Functions
MDETERM Returns the matrix determinant of a supplied array
MINVERSE Returns the matrix inverse of a supplied array
MMULT Returns the matrix product of two supplied arrays
MUNIT Returns the unit matrix for a specified dimension (New in Excel 2013)
Random Numbers
RAND Returns a random number between 0 and 1
RANDBETWEEN Returns a random number between two given integers
Excel Statistical Functions
Count & Frequency
COUNT Returns the number of numerical values in a supplied set of cells or values
COUNTIF Returns the number of cells (of a supplied range), that satisfy a given criteria
Returns the number of cells (of a supplied range), that satisfy a set of given
COUNTIFS criteria (New in Excel 2007)
Returns an array showing the number of values from a supplied array, which fall
FREQUENCY into specified ranges
Returns the largest value from a list of supplied values, counting text and the
MAXA logical value FALSE as the value 0 and counting the logical value TRUE as the
value 1
Returns the smallest value from a list of supplied values, counting text and the
MINA logical value FALSE as the value 0 and counting the logical value TRUE as the
value 1
Returns the Kth LARGEST value from a list of supplied numbers, for a given
LARGE value K
Returns the Kth SMALLEST value from a list of supplied numbers, for a given
SMALL value K
Returns the K'th percentile of values in a supplied range, where K is in the range
PERCENTILE 0 - 1 (inclusive) (Replaced by PERCENTILE.INC function in Excel 2010)
Returns the K'th percentile of values in a supplied range, where K is in the range
PERCENTILE.INC 0 - 1 (inclusive) (New in Excel 2010 - replaces PERCENTILE function)
Returns the K'th percentile of values in a supplied range, where K is in the range
PERCENTILE.EXC 0 - 1 (exclusive) (New in Excel 2010)
Returns the statistical rank of a given value, within a supplied array of values (if
RANK.AVG more than one value has same rank, the average rank is returned) (New in Excel
2010)
Returns the rank of a value in a data set, as a percentage (0 - 1 inclusive)
PERCENTRANK (Replaced by PERCENTRANK.INC function in Excel 2010)
Averages
Returns the Average of a list of supplied numbers, counting text and the logical
AVERAGEA value FALSE as the value 0 and counting the logical value TRUE as the value 1
Calculates the Average of the cells in a supplied range, that satisfy a given
AVERAGEIF criteria (New in Excel 2007)
Calculates the Average of the cells in a supplied range, that satisfy multiple
AVERAGEIFS criteria (New in Excel 2007)
MEDIAN Returns the Median (the middle value) of a list of supplied numbers
Returns the Mode (the most frequently occurring value) of a list of supplied
MODE numbers (Replaced by MODE.SNGL function in Excel 2010)
Returns the Mode (the most frequently occurring value) of a list of supplied
MODE.SNGL numbers (New in Excel 2010 - replaces MODE function)
Returns a vertical array of the most frequently occurring values in an array or
MODE.MULT range of data (New in Excel 2010)
AVEDEV Returns the average of the absolute deviations of data points from their mean
Returns the sum of the squares of the deviations of a set of data points from
DEVSQ their sample mean
Returns population covariance (ie. the average of the products of deviations for
COVARIANCE.P each pair within two supplied data sets) (New in Excel 2010 - replaces COVAR
function)
Returns sample covariance (ie. the average of the products of deviations for
COVARIANCE.S each pair within two supplied data sets) (New in Excel 2010)
Confidence Intervals
CONFIDENCE Returns the confidence interval for a population mean, using a normal
distribution (Replaced by CONFIDENCE.NORM function in Excel 2010)
Returns the confidence interval for a population mean, using a normal
CONFIDENCE.NORM
distribution (New in Excel 2010 - replaces CONFIDENCE function)
Returns the confidence interval for a population mean, using a Student's t
CONFIDENCE.T distribution (New in Excel 2010)
Predicts a future point on a linear trend line fitted to a supplied set of x- and y-
FORECAST values
Calculates the best fit regression line, through a supplied series of x- and y-
INTERCEPT values and returns the value at which this line intercepts the y-axis
Returns statistical information describing the trend of the line of best fit,
LINEST through a supplied series of x- and y- values
Returns the slope of the linear regression line through a supplied series of x-
SLOPE and y- values
Calculates the trend line through a given set of y-values and returns additional
TREND y-values for a supplied set of new x-values
Returns numbers in a exponential growth trend, based on a set of supplied x-
GROWTH and y- values
Returns the parameters of an exponential trend for a supplied set of x- and y-
LOGEST values
Returns the standard error of the predicted y-value for each x in the regression
STEYX line for a set of supplied x- and y- values
Permutations
RECEIVED Calculates the amount received at maturity for a fully invested Security
XNPV Calculates the net present value for a schedule of cash flows
Price Functions
DISC Calculates the discount rate for a security
PRICE Calculates the price per $100 face value of a security that pays periodic interest
PRICEDISC Calculates the price per $100 face value of a discounted security
Calculates the price per $100 face value of a security that pays interest at
PRICEMAT maturity
ODDFPRICE Calculates the price per $100 face value of a security with an odd first period
ODDLPRICE Calculates the price per $100 face value of a security with an odd last period
TBILLPRICE Calculates the price per $100 face value for a treasury bill
Calculates the depreciation of an asset for a specified period, using the double-
DDB declining balance method, or some other user-specified method
SYD Returns the sum-of-years' digits depreciation of an asset for a specified period
BITLSHIFT Returns a number shifted left by a specified number of bits (New in Excel 2013)
Cube Functions
CUBEKPIMEMBER Returns a Key Performance Indicator (KPI) property and displays the KPI name
in the cell (New in Excel 2007)
CUBEMEMBER Returns a member or tuple from the cube (New in Excel 2007)
CUBEMEMBERPROPERTY
Returns the value of a member property from the cube (New in Excel 2007)
CUBERANKEDMEMBER
Returns the nth, or ranked, member in a set (New in Excel 2007)
FILTERXML Returns data from XML content, using a specified XPath (New in Excel 2013)
Excel Operators
Although the Excel Operators are not, strictly speaking, Excel Functions, they are frequently used with Excel Functions and as a
Excel Operators
or
LEFT Returns a specified number of characters from the start of a supplied text string
RIGHT Returns a specified number of characters from the end of a supplied text string
Information Functions
Conditional Functions
Tests a user-defined condition and returns one result if the condition is TRUE,
IF and another result if the condition is FALSE
Tests if an initial supplied value (or expression) returns an error, and if so,
IFERROR returns a supplied value; Otherwise the function returns the initial value. (New
in Excel 2007)
Tests if an expression returns the #N/A error and if so, returns an alternative
IFNA specified value; Otherwise the function returns the value of the supplied
expression (New in Excel 2013)
Tests if a supplied value is a logical value, and if so, returns TRUE; Otherwise,
ISLOGICAL returns FALSE
Tests if a supplied value is text, and if so, returns TRUE; Otherwise, returns
ISTEXT FALSE
Tests if a supplied value is text, and if it is NOT, returns TRUE; Otherwise, returns
ISNONTEXT FALSE
Tests if a supplied value is a reference, and if so, returns TRUE; Otherwise,
ISREF returns FALSE
Tests if a supplied cell contains a formula and if so, returns TRUE; Otherwise,
ISFORMULA returns FALSE (New in Excel 2013)
CELL Returns information about the contents, formatting or location of a given cell
SHEET Returns the sheet number relating to a supplied reference (New in Excel 2013)
a clear understanding of the way Excel stores Dates and Times - For details, see the Excel Dates and Times pages.
Performing Calculations with Dates
Returns a date that is the specified number of months before or after an initial
EDATE supplied start date
Returns a date that is the last day of the month which is a specified number of
EOMONTH months before or after an initial supplied start date
Returns a date that is a supplied number of working days (excluding weekends
WORKDAY & holidays) ahead of a given start date
Returns a date that is a supplied number of working days (excluding weekends
WORKDAY.INTL & holidays) ahead of a given start date, using supplied parameters to specify
weekend days (New in Excel 2010)
DAYS Calculates the number of days between 2 dates (New in Excel 2013)
Calculates the number of days between 2 dates, based on a 360-day year (12 x
DAYS360 30 months)
NETWORKDAYS Returns the number of whole networkdays (excluding weekends & holidays),
between two supplied dates
Returns the number of whole networkdays (excluding weekends & holidays),
NETWORKDAYS.INTLbetween two supplied dates, using parameters to specify weekend days (New in
Excel 2010)
Calculates the fraction of the year represented by the number of whole days
YEARFRAC between two dates
ADDRESS Returns a reference, in text format, for a supplied row and column number
Returns a reference to a cell (or range of cells) for requested rows and columns
INDEX within a supplied range
INDIRECT Returns a cell or range reference that is represented by a supplied text string
RTD Retrieves real-time data from a program that supports COM automation
Conditional Sums
SUMIF Adds the cells in a supplied range, that satisfy a given criteria
Adds the cells in a supplied range, that satisfy multiple criteria (New in Excel
SUMIFS 2007)
Trigonometry Functions
BINOM.DIST.RANGE Returns the probability of a trial result using a binomial distribution (New in
Excel 2013)
Returns the negative binomial distribution (Replaced by NEGBINOM.DIST
NEGBINOMDIST function in Excel 2010)
Returns the smallest value for which the cumulative binomial distribution is
CRITBINOM greater than or equal to a criterion value (Replaced by BINOM.INV function in
Excel 2010)
Returns the smallest value for which the cumulative binomial distribution is
BINOM.INV greater than or equal to a criterion value (New in Excel 2010 - replaces
CRITBINOM function)
Returns the right-tailed probability of the chi-squared distribution (Replaced by
CHIDIST CHISQ.DIST.RT function in Excel 2010)
Returns the right-tailed probability of the chi-squared distribution (New in Excel
CHISQ.DIST.RT 2010 - replaces CHIDIST function)
Returns the chi-squared distribution (probability density or cumulative
CHISQ.DIST distribution function) (New in Excel 2010)
Returns the chi-squared statistical test for independence (New in Excel 2010 -
CHISQ.TEST replaces CHITEST function)
Returns the right-tailed F probability distribution for two data sets (Replaced by
FDIST F.DIST.RT function in Excel 2010)
Returns the right-tailed F probability distribution for two data sets (New in Excel
F.DIST.RT 2010 - replaces FDIST function)
Returns the F probability distribution (probability density or cumulative
F.DIST distribution function) (New in Excel 2010)
Returns the inverse of the right-tailed F probability distribution for two data sets
FINV (Replaced by F.INV.RT function in Excel 2010)
Returns the inverse of the right-tailed F probability distribution for two data sets
F.INV.RT (New in Excel 2010 - replaces FINV function)
F.INV Returns the inverse of the Cumulative F distribution (New in Excel 2010)
Returns the result of an F-Test for 2 supplied data sets (Replaced by F.TEST
FTEST function in Excel 2010)
Returns the result of an F-Test for 2 supplied data sets (New in Excel 2010 -
F.TEST replaces FTEST function)
Returns the gamma distribution (Replaced by GAMMA.DIST function in Excel
GAMMADIST 2010)
Returns the gamma distribution (New in Excel 2010 - replaces GAMMADIST
GAMMA.DIST function)
Returns the inverse gamma cumulative distribution (Replaced by GAMMA.INV
GAMMAINV function in Excel 2010)
Returns the inverse gamma cumulative distribution (New in Excel 2010 -
GAMMA.INV replaces GAMMAINV function)
GAMMA Return the gamma function value for a supplied number (New in Excel 2013)
GAMMALN Calculates the natural logarithm of the gamma function for a supplied value
GAMMALN.PRECISEReturns the natural logarithm of the gamma function for a supplied value (New
in Excel 2010)
Calculates the probability that a member of a standard normal population will
GAUSS fall between the mean and z standard deviations from the mean (New in Excel
2013)
Returns the hypergeometric distribution (Replaced by HYPGEOM.DIST function
HYPGEOMDIST in Excel 2010)
Returns the inverse of the lognormal distribution (New in Excel 2010 - replaces
LOGNORM.INV LOGINV function)
Returns the inverse of the normal cumulative distribution (New in Excel 2010 -
NORM.INV replaces NORMINV function)
Returns the standard normal cumulative distribution (Replaced by NORM.S.DIST
NORMSDIST function in Excel 2010)
RSQ Returns the square of the Pearson product moment correlation coefficient
PHI Returns the value of the density function for a standard normal distribution, for
a supplied number (New in Excel 2013)
Returns the Poisson distribution (Replaced by POISSON.DIST function in Excel
POISSON 2010)
Returns the Poisson distribution (New in Excel 2010 - replaces POISSON
POISSON.DIST function)
PROB Returns the probablity that values in a supplied range are within given limits
T.INV Returns the left-tailed inverse of the Student's T-distribution (New in Excel 2010)
Returns the probability associated with a Student's T-Test (New in Excel 2010 -
T.TEST replaces TTEST function)
Returns the Weibull distribution (Replaced by WEIBULL.DIST function in Excel
WEIBULL 2010)
Returns the Weibull distribution (New in Excel 2010 - replaces WEIBULL
WEIBULL.DIST function)
Returns the one-tailed probability value of a z-test (Replaced by Z.TEST function
ZTEST in Excel 2010)
Returns the one-tailed probability value of a z-test (New in Excel 2010 - replaces
Z.TEST ZTEST function)
Database Functions
Calculates the product of values in a field of a list or database, that satisfy
DPRODUCT specified conditions
Calculates the standard deviation (based on a sample of a population) of values
DSTDEV in a field of a list or database, that satisfy specified conditions
Calculates the standard deviation (based on an entire population) of values in a
DSTDEVP field of a list or database, that satisfy specified conditions
Calculates the sum of values in a field of a list or database, that satisfy specified
DSUM conditions
Calculates the variance (based on a sample of a population) of values in a field
DVAR of a list or database, that satisfy specified conditions
Calculates the variance (based on an entire population) of values in a field of a
DVARP list or database, that satisfy specified conditions
Payment Functions
CUMIPMT Calculates the cumulative interest paid between two specified periods
ACCRINTM Calculates the accrued interest for a security that pays interest at maturity
EFFECT Calculates the effective annual interest rate
Calculates the interest rate required to pay off a specified amount of a loan, or
RATE reach a target amount on an investment over a given period
Calculates an equivalent interest rate for the growth of an investment (New in
RRI Excel 2013)
Yield Functions
YIELD Calculates the yield of a security that pays periodic interest
YIELDMAT Calculates the annual yield of a security that pays interest at maturity
ODDFYIELD Calculates the yield of a security with an odd first period
Duration Functions
Calculates the number of days from the beginning of the coupon period to the
COUPDAYBS settlement date
Calculates the number of days in the coupon period that contains the
COUPDAYS settlement date
Calculates the number of days from the settlement date to the next coupon
COUPDAYSNC date
COUPNCD Returns the next coupon date after the settlement date
Returns the number of coupons payable between the settlement date and
COUPNUM maturity date
COUPPCD Returns the previous coupon date, before the settlement date
COMPLEX Converts user-supplied real and imaginary coefficients into a complex number
IMARGUMENT Returns the argument Θ (an angle expressed in radians) of a complex number
IMCOSH Returns the hyperbolic cosine of a complex number (New in Excel 2013)
IMCSCH Returns the hyperbolic cosecant of a complex number (New in Excel 2013)
IMSECH Returns the hyperbolic secant of a complex number (New in Excel 2013)
IMSINH Returns the hyperbolic sine of a complex number (New in Excel 2013)
IMSQRT Returns the square root of a complex number
IMSUB Subtracts two complex numbers
IMSUM Calculates the sum of two complex numbers
Cube Functions
Defines a calculated set of members or tuples by sending a set expression to the
CUBESET cube on the server, which creates the set, and then returns that set to Microsoft
Office Excel (New in Excel 2007)
CUBESETCOUNT Returns the number of items in a set (New in Excel 2007)
CUBEVALUE Returns an aggregated value from the cube (New in Excel 2007)
Web Functions
WEBSERVICE Returns data from a web service on the Internet or Intranet (New in Excel 2013)
ntly used with Excel Functions and as a part of Excel Formulas. Therefore we have provided a brief explanation of Excel Operators in the fo
05 Analysis Services or later data source.