Documentation/How Tos/Calc: HARMEAN function

From OpenOffice.org Wiki

Jump to: navigation, search


HARMEAN

Returns the harmonic mean of the arguments.

Syntax:

HARMEAN(number1; number2; ... number30)

number1 to number30 are up to 30 numbers or ranges containing numbers. Numbers must not be zero.
The harmonic mean of a1, a2, ... an is defined as
Image:Calc_harmean_formula.png.

Example:

HARMEAN(2; 4; 4)

returns 3, calculated as 3/(1/2 + 1/4 + 1/4).

See also:

AVERAGE, GEOMEAN

Statistical functions

Functions listed alphabetically, Functions listed by category

Issues:

  • Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.
Personal tools
Create a book