AVEDEV function
This article describes the formula syntax and usage of the AVEDEV function in Microsoft Excel.
Description
Returns the average of the absolute deviations of data points from their mean. AVEDEV is a measure of the variability in a data set.
Syntax
AVEDEV(number1, [number2], ...)
The AVEDEV function syntax has the following arguments:

Number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want the average of the absolute deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.
Remarks

AVEDEV is influenced by the unit of measurement in the input data.

Arguments must either be numbers or be names, arrays, or references that contain numbers.

Logical values and text representations of numbers that you type directly into the list of arguments are counted.

If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.

The equation for average deviation is:
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Data 
Description 
4 
Average of the absolute deviations of the numbers in cells A2:A8 from their mean (1.020408) 
5 

6 

7 

5 

4 

3 

Formula 
Result 
=AVEDEV(A2:A8) 
1.020408 