The Excel AVERAGE function returns the arithmetic mean of a list of supplied numbers.
The syntax of the function is :
where the number arguments are a set of one or more numeric values, or arrays of numeric values, for which you want to calculate the average - these values can be supplied directly to the function, or as one or more cells or ranges of cells containing numeric values.
In Excel 2007 & Excel 2010, you can provide up to 255 number arguments to the Average function, but in Excel 2003, the function can only accept up to 30 arguments. However, each argument can consist of an array of values or a range of cells, each of which can contain many values.
The Excel Average Function is very similar to the Excel Averagea Function. The only difference between these two functions is the way in which logical values, or text values within arrays or references are treated in the calculation of the arithmetic mean. This is shown in the table below:
The following spreadsheet shows the Excel Average function used to calculate the arithmetic mean of the set of values in cells A1-A5. Although the same 5 values are provided to each of the functions in cells B1-B4, in each case, the values are provided to the function in different ways.
Further examples of the Excel Average function can be found on the Microsoft Office website.
The most common error from the Excel Average function is the #DIV/0! error :
|#DIV/0!||-||Occurs if the values to be averaged are all non-numeric|