AVERAGEA
Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Calculates the average (arithmetic mean) of the values in the list of arguments. Unlike the AVERAGE functions, text and logical values such as TRUE and FALSE are included in the calculation.
Syntax
AVERAGEA ( value1 ,value2, ...)
Value1, value2,... are 1 to 30 arguments for which you want the average.
Remarks
Arguments that contain text evaluate as 0 (zero). Empty text ("") evaluates as 0 (zero). If the calculation must not include text values in the average, use the AVERAGE function.
Arguments that contain TRUE evaluate as 1; arguments that contain FALSE evaluate as 0 (zero).
Example
Col1 |
Col2 |
Col3 |
Col4 |
Col5 |
Col6 |
Formula |
Description (Result) |
---|---|---|---|---|---|---|---|
10 |
7 |
9 |
2 |
0 |
=AVERAGEA([Col1],[Col2],[Col3],[Col4],[Col5]) |
Average of the numbers (5.6) |
|
10 |
10 |
9 |
2 |
1 |
=AVERAGEA([Col1],[Col2],[Col3],[Col4],[Col6]) |
Average of the numbers, and the empty argument (7.75) |