Difference between revisions of "Documentation/How Tos/Calc: GEOMEAN function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
m |
||
Line 15: | Line 15: | ||
<tt>'''GEOMEAN(1; 2; 4)'''</tt> | <tt>'''GEOMEAN(1; 2; 4)'''</tt> | ||
: returns <tt>'''2'''</tt>, calculated as (1 * 2 * 4)<sup>1/3</sup>. | : returns <tt>'''2'''</tt>, calculated as (1 * 2 * 4)<sup>1/3</sup>. | ||
+ | |||
+ | ===Issues: === | ||
+ | * Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values. | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
Line 24: | Line 27: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | |||
− | |||
− |
Revision as of 10:32, 2 March 2009
GEOMEAN
Returns the geometric mean of the arguments.
Syntax:
GEOMEAN(number1; number2; ... number30)
- number1 to number30 are up to 30 numbers or ranges containing numbers. Numbers must not be zero.
- The geometric mean of a1, a2, ... an is defined as (a1 . a2. ... . an)1/n.
Example:
GEOMEAN(1; 2; 4)
- returns 2, calculated as (1 * 2 * 4)1/3.
Issues:
- Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.