Excel Statistical Functions: Full List
Features of !SEMTools
↑ Навигация по задачам в Excel и возможностям надстройки !SEMTools ↑

Statistical functions in Excel are a powerful toolkit for data analysis. They calculate averages, the median, the standard deviation and many other statistics, and they are used everywhere, from financial analysis to scientific research. Some cover basic calculations, others are designed for serious statistical analysis.

Below are the most popular functions with examples on one small dataset, a few tips on choosing between similar functions, ways to get statistics without any formulas, and the full list of Excel statistical functions.

Sample data

All examples below use this table: regions in column A, weekly sales in column B and the week number in column C.

RowA: RegionB: SalesC: Week
2East1201
3West852
4East2003
5North854
6West1505
7East956
8North607
9West1108

These are the statistical functions people search for most often. The result column shows what each formula returns on the sample data.

FunctionWhat it doesExampleResult
COUNTCounts the cells with numbers in a range.=COUNT(B2:B9)8
COUNTIFCounts the cells that meet one condition.=COUNTIF(A2:A9,"East")3
COUNTIFSCounts the cells that meet several conditions.=COUNTIFS(A2:A9,"East",B2:B9,">100")2
COUNTACounts non-empty cells, whatever they contain.=COUNTA(A2:A9)8
AVERAGEThe arithmetic mean, one of the most used functions in data analysis.=AVERAGE(B2:B9)113.125
AVERAGEIFThe mean of the cells that meet a condition.=AVERAGEIF(A2:A9,"West",B2:B9)115
MEDIANThe middle value of the sorted numbers: the “center” of the data, not skewed by outliers.=MEDIAN(B2:B9)102.5
MAX, MINThe largest and the smallest value.=MAX(B2:B9)200
MAXIFS, MINIFSThe largest or smallest value among the cells that meet one or more conditions.=MAXIFS(B2:B9,A2:A9,"West")150
LARGE, SMALLThe k-th largest and the k-th smallest value.=LARGE(B2:B9,2)150
MODE.SNGLThe most frequent value.=MODE.SNGL(B2:B9)85
STDEV.SThe standard deviation of a sample: how much the values vary.=STDEV.S(B2:B9)44.2
VAR.SThe variance of a sample.=VAR.S(B2:B9)1956.7
FREQUENCYThe distribution of values across bins, returned as a vertical array.=FREQUENCY(B2:B9,{100;150})4; 3; 1
RANK.EQThe rank of a number in a list.=RANK.EQ(B4,B2:B9)1
PERCENTILE.INCThe k-th percentile, for example the value below which 90% of the data lies.=PERCENTILE.INC(B2:B9,0.9)165
TRIMMEANThe mean without the extreme values: here 25% of the points, one from each end.=TRIMMEAN(B2:B9,0.25)107.5
FORECAST.LINEARPredicts a future value based on a linear trend. Here: sales in week 9.=FORECAST.LINEAR(9,B2:B9,C2:C9)89.3
CORRELThe correlation coefficient between two data sets, from −1 to 1.=CORREL(B2:B9,C2:C9)−0.29
LINEST, INTERCEPT, SLOPEThe parameters of a linear regression line: its slope and the point where it crosses the Y axis.=SLOPE(B2:B9,C2:C9)−5.3

FREQUENCY returns several values at once: in Excel 365 they spill down automatically, in older versions select three cells and confirm with Ctrl+Shift+Enter as an array formula. The bins {100;150} mean “up to 100”, “101 to 150” and “over 150”.

How to choose between similar functions

  • AVERAGE or MEDIAN? The average reacts to outliers, the median doesn’t. In the sample, one strong week of 200 pulls the average to 113.1, while the median is 102.5. For salaries, prices and order values, the median often tells the truth better.
  • STDEV.S or STDEV.P? Use .S (sample) when your data is a part of all possible observations, which is almost always the case. Use .P (population) only when you have every value there is. On the sample data, it’s 44.2 vs 41.4. The same goes for VAR.S and VAR.P.
  • Functions ending in A, like AVERAGEA, MAXA and STDEVA, count text as 0 and TRUE as 1. The regular versions simply ignore text and logical values, which is usually what you want.
  • STDEV, VAR, MODE, RANK, PERCENTILE, QUARTILE and other functions without a dot are the legacy versions. They still work for compatibility, but in new workbooks use the versions with a dot: STDEV.S, MODE.SNGL, RANK.EQ and so on.
  • MAXIFS and MINIFS are available from Excel 2019. In older versions, use an array formula like =MAX(IF(A2:A9=”West”,B2:B9)).

To round the results, wrap the formula in ROUND, for example =ROUND(STDEV.S(B2:B9),1). And for sums by condition, see the separate articles on SUMIFS and SUMPRODUCT.

Statistics without formulas

You don’t always need a formula to look at the numbers:

  • The status bar. Select a range and look at the bottom of the window: Excel shows the Average, Count and Sum. Right-click the status bar to add Minimum, Maximum and Numerical Count.
  • The Analysis ToolPak. Turn it on in File → Options → Add-ins → Excel Add-ins → Analysis ToolPak. Data → Data Analysis → Descriptive Statistics then gives a whole report at once: mean, median, mode, standard deviation, variance, kurtosis, skewness, range, min, max and count.
  • Pivot tables summarize large tables by groups: sum, count, average, max, min, standard deviation. A quick way to build one is shown in the article on how to count unique values.

And there are metrics Excel has no single function for at all: the number of occurrences of each value right next to it, the occurrence number, the share of the total, the cumulative share and ABC analysis. With formulas, each of them means a helper column, a formula with absolute references and filling it down. In my !SEMTools add-in, these are statistical metrics procedures: select the column, click, and the result appears right next to the data.

Count occurrences, shares, cumulative shares and ABC classes for a whole column in a couple of clicks, without helper formulas.
!SEMTools solves this and hundreds of other tasks right in Excel!

Full list of Excel statistical functions

Here is the full alphabetical list of statistical functions with a short description. All of them are available in the current version of Excel (Microsoft 365).

The Version column shows the Excel version in which the function first appeared. If it’s empty, the function is available in all versions.

FunctionVersionWhat it does
AVEDEVReturns the average of the absolute deviations of data points from their mean.
AVERAGEReturns the average of its arguments.
AVERAGEAReturns the average of its arguments, including numbers, text and logical values.
AVERAGEIFReturns the average of the cells that meet a condition.
AVERAGEIFSReturns the average of the cells that meet multiple conditions.
BETA.DIST2010Returns the beta cumulative distribution function.
BETA.INV2010Returns the inverse of the cumulative distribution function for a specified beta distribution.
BINOM.DIST2010Returns the individual term binomial distribution probability.
BINOM.DIST.RANGE2013Returns the probability of a trial result using a binomial distribution.
BINOM.INV2010Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.
CHISQ.DIST2010Returns the left-tailed probability of the chi-squared distribution.
CHISQ.DIST.RT2010Returns the right-tailed probability of the chi-squared distribution.
CHISQ.INV2010Returns the inverse of the left-tailed probability of the chi-squared distribution.
CHISQ.INV.RT2010Returns the inverse of the right-tailed probability of the chi-squared distribution.
CHISQ.TEST2010Returns the test for independence.
CONFIDENCE.NORM2010Returns the confidence interval for a population mean.
CONFIDENCE.T2010Returns the confidence interval for a population mean, using a Student’s t distribution.
CORRELReturns the correlation coefficient between two data sets.
COUNTCounts how many numbers are in the list of arguments.
COUNTACounts how many values are in the list of arguments.
COUNTBLANKCounts the number of blank cells within a range.
COUNTIFCounts the number of cells within a range that meet the given criteria.
COUNTIFSCounts the number of cells within a range that meet multiple criteria.
COVARIANCE.P2010Returns the population covariance, the average of the products of paired deviations.
COVARIANCE.S2010Returns the sample covariance, the average of the products of deviations for each data point pair in two data sets.
DEVSQReturns the sum of squares of deviations.
EXPON.DIST2010Returns the exponential distribution.
F.DIST2010Returns the F probability distribution.
F.DIST.RT2010Returns the right-tailed F probability distribution.
F.INV2010Returns the inverse of the F probability distribution.
F.INV.RT2010Returns the inverse of the right-tailed F probability distribution.
F.TEST2010Returns the result of an F-test.
FISHERReturns the Fisher transformation.
FISHERINVReturns the inverse of the Fisher transformation.
FORECASTReturns a value along a linear trend. In Excel 2016 it was replaced by FORECAST.LINEAR but is still available for compatibility.
FORECAST.ETS2016Returns a future value based on existing (historical) values by using the AAA version of the Exponential Smoothing (ETS) algorithm.
FORECAST.ETS.CONFINT2016Returns a confidence interval for the forecast value at the specified target date.
FORECAST.ETS.SEASONALITY2016Returns the length of the repetitive pattern Excel detects for the specified time series.
FORECAST.ETS.STAT2016Returns a statistical value as a result of time series forecasting.
FORECAST.LINEAR2016Returns a future value based on existing values.
FREQUENCYReturns a frequency distribution as a vertical array.
GAMMA2013Returns the Gamma function value.
GAMMA.DIST2010Returns the gamma distribution.
GAMMA.INV2010Returns the inverse of the gamma cumulative distribution.
GAMMALNReturns the natural logarithm of the gamma function, Γ(x).
GAMMALN.PRECISE2010Returns the natural logarithm of the gamma function, Γ(x).
GAUSS2013Returns 0.5 less than the standard normal cumulative distribution.
GEOMEANReturns the geometric mean.
GROWTHReturns values along an exponential trend.
HARMEANReturns the harmonic mean.
HYPGEOM.DIST2010Returns the hypergeometric distribution.
INTERCEPTReturns the intercept of the linear regression line.
KURTReturns the kurtosis of a data set.
LARGEReturns the k-th largest value in a data set.
LINESTReturns the parameters of a linear trend.
LOGESTReturns the parameters of an exponential trend.
LOGNORM.DIST2010Returns the cumulative lognormal distribution.
LOGNORM.INV2010Returns the inverse of the lognormal cumulative distribution.
MAXReturns the maximum value in a list of arguments.
MAXAReturns the maximum value in a list of arguments, including numbers, text and logical values.
MAXIFS2019Returns the maximum value among cells specified by a given set of conditions or criteria.
MEDIANReturns the median of the given numbers.
MINReturns the minimum value in a list of arguments.
MINAReturns the smallest value in a list of arguments, including numbers, text and logical values.
MINIFS2019Returns the minimum value among cells specified by a given set of conditions or criteria.
MODE.MULT2010Returns a vertical array of the most frequently occurring, or repetitive, values in an array or range of data.
MODE.SNGL2010Returns the most common value in a data set.
NEGBINOM.DIST2010Returns the negative binomial distribution.
NORM.DIST2010Returns the normal cumulative distribution.
NORM.INV2010Returns the inverse of the normal cumulative distribution.
NORM.S.DIST2010Returns the standard normal cumulative distribution.
NORM.S.INV2010Returns the inverse of the standard normal cumulative distribution.
PEARSONReturns the Pearson product moment correlation coefficient.
PERCENTILE.EXC2010Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.
PERCENTILE.INC2010Returns the k-th percentile of values in a range.
PERCENTRANK.EXC2010Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set.
PERCENTRANK.INC2010Returns the percentage rank of a value in a data set.
PERMUTReturns the number of permutations for a given number of objects.
PERMUTATIONA2013Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
PHI2013Returns the value of the density function for a standard normal distribution.
POISSON.DIST2010Returns the Poisson distribution.
PROBReturns the probability that values in a range are between two limits.
QUARTILE.EXC2010Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
QUARTILE.INC2010Returns the quartile of a data set.
RANK.AVG2010Returns the rank of a number in a list of numbers; tied values get the average rank.
RANK.EQ2010Returns the rank of a number in a list of numbers; tied values get the top rank.
RSQReturns the square of the Pearson product moment correlation coefficient.
SKEWReturns the skewness of a distribution.
SKEW.P2013Returns the skewness of a distribution based on a population: a measure of the asymmetry of a distribution around its mean.
SLOPEReturns the slope of the linear regression line.
SMALLReturns the k-th smallest value in a data set.
STANDARDIZEReturns a normalized value.
STDEV.P2010Calculates standard deviation based on the entire population.
STDEV.S2010Estimates standard deviation based on a sample.
STDEVAEstimates standard deviation based on a sample, including numbers, text and logical values.
STDEVPACalculates standard deviation based on the entire population, including numbers, text and logical values.
STEYXReturns the standard error of the predicted y-value for each x in the regression.
T.DIST2010Returns the left-tailed Student’s t-distribution.
T.DIST.2T2010Returns the two-tailed Student’s t-distribution.
T.DIST.RT2010Returns the right-tailed Student’s t-distribution.
T.INV2010Returns the t-value of the Student’s t-distribution as a function of the probability and the degrees of freedom.
T.INV.2T2010Returns the inverse of the two-tailed Student’s t-distribution.
T.TEST2010Returns the probability associated with a Student’s t-test.
TRENDReturns values along a linear trend.
TRIMMEANReturns the mean of the interior of a data set.
VAR.P2010Calculates variance based on the entire population.
VAR.S2010Estimates variance based on a sample.
VARAEstimates variance based on a sample, including numbers, text and logical values.
VARPACalculates variance based on the entire population, including numbers, text and logical values.
WEIBULL.DIST2010Returns the Weibull distribution.
Z.TEST2010Returns the one-tailed probability value of a z-test.

Summary

Statistical functions are used in all kinds of fields, from business analysis and accounting to engineering and research. They let you quickly analyze large amounts of data and make decisions based on that analysis.

I hope you found the function you were looking for on this page. COUNT, AVERAGE, MEDIAN, MAX and MIN cover most everyday tasks, the IF and IFS versions add conditions, and the rest of the list is for real statistical analysis. For shares, cumulative shares and ABC classes, try the !SEMTools procedures: select the column and get the result in a couple of clicks. All function guides are collected in the Excel functions section.