Statistical function

AVEDEV function

Returns the average absolute distance of numbers from their mean, a simple and easy-to-explain measure of how spread out data is.

Available in All versions of Excel, Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

AVEDEV(number1, [number2], ...)
ArgumentWhat it means
number1RequiredThe first number, cell or range to include.
number2, ...OptionalUp to 254 further numbers or ranges.

Returns: A non-negative number in the same units as the data: the mean absolute deviation.

How AVEDEV works

AVEDEV answers the question "on a typical day, how far is a value from the average?" It first works out the mean of your numbers, then measures how far each number sits from that mean (ignoring whether it is above or below), and finally averages those distances. The answer is in the same units as your data, so if you feed it delivery times in hours you get back hours.

Because it never squares anything, AVEDEV is much easier to explain to a manager than STDEV.S: "our ticket resolution time is usually within 2 hours of the average" is a sentence anyone understands. It also reacts less violently to one extreme value than the standard deviation does. Text, logical values and empty cells inside a range are ignored; zeros are counted as real values.

Use it for quick quality checks (how consistent is a machine, a supplier, a team?) or whenever you need a plain-language spread figure. For formal statistics, such as confidence intervals or hypothesis tests, you will still need the standard deviation, because those formulas are built on it.

Examples

1How consistent are support ticket times?

D2fx=AVEDEV(B2:B6)
ABCD
1TicketHours to resolve
2T-30142
3T-3026
4T-3033
5T-3049
6T-3058

Result: 2

The mean is 6 hours. The distances from 6 are 2, 0, 3, 3 and 2, which add up to 10. Ten divided by five tickets gives 2, so a ticket typically takes about 2 hours more or less than average.

2Check a filling machine

D2fx=AVEDEV(B2:B6)
ABCD
1BottleFill (ml)
215001.2
32502
43498
54501
65499

Result: 1.2

The average fill is exactly 500 ml and the bottles miss it by 0, 2, 2, 1 and 1 ml. On average the machine is off by 1.2 ml, a figure you can compare week by week or against a second machine.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#DIV/0!No numbers were found in the arguments (for example the range holds only text).Check that the cells contain real numbers, not numbers stored as text.
#VALUE!A text value typed directly as an argument cannot be read as a number.Pass cell ranges, or convert text with VALUE.

Tips

  • AVEDEV is always smaller than or equal to the standard deviation of the same data. If the two are very different, a few outliers are pulling the standard deviation up.
  • To get the average distance from a target rather than from the mean, use =AVERAGE(ABS(B2:B6-500)) (Microsoft 365; older versions need Ctrl+Shift+Enter).

Google Sheets

AVEDEV also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

AVEDEV in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechPRŮMODCHYLKA
DanishMAD
DutchGEM.DEVIATIE
FinnishKESKIPOIKKEAMA
FrenchECART.MOYEN
GermanMITTELABW
HungarianÁTL.ELTÉRÉS
ItalianMEDIA.DEV
Norwegian (Bokmål)GJENNOMSNITTSAVVIK
PolishODCH.ŚREDNIE
Portuguese (Brazil)DESV.MÉDIO
Portuguese (Portugal)DESV.MÉDIO
RussianСРОТКЛ
SpanishDESVPROM
SwedishMEDELAVV
TurkishORTSAP