Difference between revisions of "Documentation/How Tos/Calc: AVERAGEA function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
Line 2: Line 2:
 
{{Documentation/CalcFunc StatisticalTOC
 
{{Documentation/CalcFunc StatisticalTOC
 
|ShowPrevNext=block
 
|ShowPrevNext=block
|PrevPage=Documentation/How_Tos/Calc:_AVERAGE_functions
+
|PrevPage=Documentation/How_Tos/Calc:_AVERAGE_function
 
|NextPage=Documentation/How_Tos/Calc:_COUNT_function
 
|NextPage=Documentation/How_Tos/Calc:_COUNT_function
 
}}__NOTOC__
 
}}__NOTOC__

Latest revision as of 13:17, 2 February 2024



AVERAGEA

Returns the average of the arguments, including text (valued as 0).

Syntax:

AVERAGEA(value1; value2; ... value30)

value1 to value30 are up to 30 values or ranges, which may include numbers, text and logical values. Text is evaluated as 0. Logical values are evaluated as 1 (TRUE) and 0 (FALSE).


Example:

AVERAGEA(2; 6; 4)

returns 4, the average of the three numbers in the list.

AVERAGEA(B1:B3)

where cells B1, B2, B3 contain 4, 2, and apple returns 2, the average of 4 and 2 and 0.

AVERAGEA(2; TRUE)

returns 1.5, the average of 2 and 1.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_AVERAGEA_function&oldid=260013"
Views
Personal tools
Navigation
Tools