- number1 - First value or reference.
- number2 - [optional] Second value or reference.
How to use
The Excel AVEDEV function calculates the average of absolute deviations from the mean in a given set of data.
Variance and standard deviation functions deal with negative deviations by squaring deviations before they are averaged. AVEDEV handles negative values by working only with absolute values. This average is called the average absolute deviation. It's an easy way to show variability in a data set, but not as common as variance and standard deviation. One advantage of AVEDEV is that units remain unchanged. If values are centimeters, the absolute average deviation is in centimeters as well.
AVEDEV takes multiple arguments in the form number1, number2, number3, etc. up to 255 total. Arguments can be a hardcoded constant, a cell reference, or a range. Empty cells, and cells that contain text or logical values are ignored.
In the example shown, the formula in G5 is:
The formulas in C5 and D5 are, respectively:
=B5-$G$4 // deviation =ABS(C5) // absolute deviation
The value in D12 (2) is simply the average of D5:D10, and agrees with the value returned by AVEDEV in G5.
- Arguments can be numbers, names, arrays, or references that contain numbers.
- Empty cells, and cells that contain text or logical values are ignored.