Excel functions

Statistical functions

Statistical functions summarise data. Some are everyday tools (COUNT, COUNTIFS, AVERAGEIFS, MAX, MEDIAN, RANK.EQ, LARGE); others answer analysis questions such as spread (STDEV.S), relationships (CORREL, SLOPE), forecasts (FORECAST.LINEAR, TREND) and probabilities (NORM.DIST, T.TEST).

Start with these

AVERAGEReturns the arithmetic mean of numbers: add them up and divide by how many there are. Blank cells and text are skipped; zeros count.AVERAGEIFAverages only the cells that meet one condition, such as all orders from one region or all invoices above a certain amount.AVERAGEIFSAverages the cells that meet several conditions at once, for example sales of one product in one region, or invoices between two dates.CORRELReturns the correlation coefficient between two sets of numbers, from −1 to +1, showing how strongly they move together in a straight line.COUNTCounts how many cells contain numbers (including dates and times). Text, blanks, TRUE/FALSE and errors are not counted.COUNTACounts all cells that are not empty, whatever they contain: numbers, text, dates, TRUE/FALSE, errors or even empty text returned by a formula.COUNTBLANKCounts the empty cells in a range, including cells whose formula returns empty text (""). Zeros are not blank.COUNTIFCounts the cells in a range that meet one condition, such as invoices marked "Paid", scores above 50 or emails containing "@gmail".COUNTIFSCounts the rows that meet several conditions at once, such as deals that are in the North region and won and worth at least 2,000.FORECAST.LINEARPredicts a future value by fitting a straight line through known data, e.g. next month's sales from the past six months.FREQUENCYCounts how many values fall into each band (bin) of a range, such as grade bands or order sizes, and returns the counts as a vertical list.LARGEReturns the k-th largest value in a range, e.g. the highest, second-highest or third-highest sale.MAXReturns the largest number in a set of values, such as the highest sale, the top score or the latest date.MAXIFSReturns the largest number among the rows that meet one or more conditions, e.g. the biggest sale in the North region.MEDIANReturns the middle value of a set of numbers, a typical value that, unlike the average, is not pulled by extreme outliers.MINReturns the smallest number in a set of values, such as the lowest price, the lowest score or the earliest date.MINIFSReturns the smallest number among the rows that meet one or more conditions, e.g. the cheapest quote for a given item.MODE.SNGLReturns the most frequently occurring number in a range, such as the most common order size or the most popular rating.NORM.DISTReturns the normal (bell curve) distribution for a value, given a mean and standard deviation: a probability or a density.NORM.INVReturns the value below which a given share of a normal distribution falls, e.g. the score that marks the top 10%.PERCENTILE.INCReturns the k-th percentile of a data set (k from 0 to 1 inclusive), e.g. the delivery time that 90% of orders beat.QUARTILE.INCReturns a quartile of a data set (0 = min, 1 = 25th percentile, 2 = median, 3 = 75th percentile, 4 = max) using the inclusive method.RANK.EQReturns the rank of a number in a list, such as a rep's place in a sales league; ties share the highest rank.SLOPEReturns the slope of the best-fit straight line through your data: how much y changes on average when x rises by one.SMALLReturns the k-th smallest value in a range, such as the lowest, second-lowest or third-lowest bid or time.STDEV.PReturns the standard deviation of an entire population, a measure of how spread out every value is around the average.STDEV.SEstimates the standard deviation of a population from a sample, showing how much values typically vary from the average.TRENDFits a straight line (least squares) to known data and returns predicted y-values for new x-values, e.g. next months' sales.

All 111 statistical functions

Other categories

Lookup & referenceLogicalTextDate & timeMath & trigFinancialInformationDatabaseEngineeringCompatibilityWebCubeAI & Python