Difference between revisions of "Documentation/How Tos/Calc: AVERAGE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
m (→Issues:) |
||
Line 35: | Line 35: | ||
===Issues: === | ===Issues: === | ||
− | * Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values. | + | * Calc assumes that [[Documentation/How_Tos/Calc: Logical functions#Logical values overview|logical values]] are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values. |
Revision as of 09:14, 5 October 2008
AVERAGE
Returns the average of the arguments, ignoring text.
Syntax:
AVERAGE(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers.
Example:
AVERAGE(2; 6; 4)
- returns 4, the average of the three numbers in the list.
AVERAGE(B1:B3)
- where cells B1, B2, B3 contain 1, 3, and apple returns 2, the average of 1 and 3. Text is ignored.
See also:
AVERAGEA, GEOMEAN, HARMEAN, MEDIAN, MODE, TRIMMEAN, AVEDEV, SUM, COUNT, DAVERAGE
Functions listed alphabetically, Functions listed by category
Issues:
- Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.