Get the average of a group of numbers and text
=AVERAGEA(value1, [value2], ...)
| Parameter | Description |
|---|---|
value1 |
A value or reference to a value that can be evaluated as a number. |
value2 |
[optional] A value or reference to a value that can be evaluated as a number. |
To average values in the range A1:A10, including logical the logical values TRUE (1) and FALSE (0) and numbers entered as text, use AVERAGEA like this
=AVERAGEA(A1:A10) // average numbers, logicals, numbers as text
One confusing aspect of the AVERAGE function compared to the AVERAGEA function is that both functions will evaluate logicals and numbers entered as te
=AVERAGE(TRUE,2) // returns 1.5
=AVERAGEA(TRUE,2) // returns 1.5
=AVERAGE("3",2) // returns 2.5
=AVERAGEA("3",2) // returns 2.5