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], ...)| Argument | What it means | |
|---|---|---|
number1 | Required | The first number, cell or range to include. |
number2, ... | Optional | Up 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?
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Ticket | Hours to resolve | ||
| 2 | T-301 | 4 | 2 | |
| 3 | T-302 | 6 | ||
| 4 | T-303 | 3 | ||
| 5 | T-304 | 9 | ||
| 6 | T-305 | 8 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Bottle | Fill (ml) | ||
| 2 | 1 | 500 | 1.2 | |
| 3 | 2 | 502 | ||
| 4 | 3 | 498 | ||
| 5 | 4 | 501 | ||
| 6 | 5 | 499 |
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.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Czech | PRŮMODCHYLKA |
| Danish | MAD |
| Dutch | GEM.DEVIATIE |
| Finnish | KESKIPOIKKEAMA |
| French | ECART.MOYEN |
| German | MITTELABW |
| Hungarian | ÁTL.ELTÉRÉS |
| Italian | MEDIA.DEV |
| Norwegian (Bokmål) | GJENNOMSNITTSAVVIK |
| Polish | ODCH.ŚREDNIE |
| Portuguese (Brazil) | DESV.MÉDIO |
| Portuguese (Portugal) | DESV.MÉDIO |
| Russian | СРОТКЛ |
| Spanish | DESVPROM |
| Swedish | MEDELAVV |
| Turkish | ORTSAP |