The Excel AVERAGEA function returns the average of a group of supplied values. Unlike AVERAGE, AVERAGEA will also evaluate the logical values TRUE and FALSE, and numbers represented as text, whereas AVERAGE just skips these values during calculation
Syntax:= AVERAGEA(value1, [value2], …)
The AVERAGEA function syntax has the following arguments:
- Value1, value2, … Value1 is required, subsequent values are optional. 1 to 255 cells, ranges of cells, or values for which you want the average.
Example: Let’s look at some Excel AVERAGEA function examples and explore how to use the AVERAGEA function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following AVERAGEA examples would return:
- AVERAGEA evaluates TRUE as 1 and FALSE as zero.
- The arguments can be numbers, names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
- Arguments that contain TRUE are evaluated as 1 and arguments that contain FALSE are evaluated as 0 (zero).
- If an argument is an array or reference, only values in that array or reference are used. Empty cells and text values in the array or reference are ignored.
- The formula will return errors when the arguments are error values or text that cannot be translated into numbers.
- If we do not wish to include logical values and text representations of numbers in a reference as part of the calculation, it would be better to use the AVERAGE function.
- Differences between AVERAGE and AVERAGEA Functions: