AVERAGEA function
First
The first parameter.
Other
Additional parameters.
Returns
The average of the parameters.
Returns the average (arithmetic mean) of the parameters. AVERAGEA(2, "6", 4)AVERAGEA(2; "6"; 4) returns 4.
AVERAGEA accepts numbers, logical values and text strings representing numbers. AVERAGE, by contrast, only accepts numbers. TRUE is interpreted as 1, FALSE is interpreted as 0, colors are ignored and text strings are parsed as though TONUMBER is used.
AVERAGEA takes the language of the app into account when converting text strings to numbers. When AVERAGEA is used with an app whose language is set to German, for instance, text strings representing numbers should use a comma (",") as a decimal separator. When AVERAGEA is used with an app whose language is set to UK English, for instance, a decimal point (".") should be used. Thousands separators may not be used.
Use TRIMMEAN to discard a percentage of the smallest and largest elements of the array before calculating the average.
Examples
Returns 4, the average of the three parameters.
Returns 1.5, the average of the four given values. TRUE is interpreted as 1.
Returns 4, the average of the three given numbers. Blank values are ignored.