<< Click to Display Table of Contents >> AVERAGEA (arithmetic mean) |
Syntax:
AVERAGEA(Value1 [, Value2, Value3 ...])
Description:
The AVERAGEA function is almost identical to the AVERAGE function (see note). It returns the arithmetic mean of the given values.
Number1, Number2, etc. are single values, cell ranges, or arrays containing the values to be evaluated.
Note:
Unlike the AVERAGE function, AVERAGEA also evaluates logical values and text: FALSE evaluates as 0. TRUE evaluates as 1. Text evaluates as 0.
Empty cells, however, are also ignored here.
Example:
AVERAGEA(1, 2, 6) equals (1+2+6) / 3, which is 3.
If the cells A1:A4 contain the values 0, 1, 4 and TRUE:
AVERAGEA(A1:A4) equals (0+1+4+1) / 4, which is 1.5. The logical value TRUE is interpreted as 1 here.
For comparison:
AVERAGE(A1:A4) equals (0+1+4) / 3, thus returns 1.66667. The logical value is ignored here.
See also: