AVEDEV function
AVEDEV measures how spread out values are by averaging how far each one sits from the mean, ignoring direction. It is a simple, outlier-tolerant alternative to standard deviation.
Example
Read it as a sentence: find how far the numbers in A1:A8 are from their average on average, which gives 1.5.
Excel shows 1.5
A
1
2
2
4
3
4
4
4
5
5
6
5
7
7
8
9
Data
Syntax
AVEDEV(number1, [number2], ...)
Arguments in [square brackets] are optional.
-
number1(required) - First number, array or range.
-
number2(optional) - Further numbers, arrays or ranges.
Returns: The average absolute distance of the values from their mean.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=AVEDEV({2,4,4,4,5,5,7,9}) | 1.5 | Array constant |
=AVEDEV(10,"20",TRUE) | 6.444444444 | Direct args: number, text-number, TRUE |
=AVEDEV(5) | 0 | Single number |
=AVEDEV({1,"2",TRUE,3}) | 1 | Array with text and boolean |
=AVEDEV(Data!A1:A8) | 1.5 | Range of numbers |
=AVEDEV(Data!B1:B8) | 11.11111111 | Mixed range: num, text-number, TRUE, blank, text, FALSE |
=AVEDEV(10,"abc") | #VALUE! | Direct arg: non-numeric text |
=AVEDEV(Data!C1:C5) | #N/A | Range containing #N/A |
The Data sheet these formulas read
A cell that starts with = holds that formula.
A
B
C
1
2
10
1
2
4
20
2
3
4
TRUE
=NA()
4
4
4
5
5
abc
5
6
5
30
7
7
FALSE
8
9
40
Data
Watch out for
- Text, logicals and blanks inside a range are ignored.
- Not the same as standard deviation; it does not square the gaps.
Where it works
- Excel
- AVEDEV is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Statistical functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .