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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:HARMEAN function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_GEOMEAN_function
 +
|NextPage=Documentation/How_Tos/Calc:_MEDIAN_function
 +
}}__NOTOC__
  
 
== HARMEAN ==
 
== HARMEAN ==
Line 17: Line 22:
 
: returns <tt>'''3'''</tt>, calculated as 3/(1/2 + 1/4 + 1/4).
 
: returns <tt>'''3'''</tt>, calculated as 3/(1/2 + 1/4 + 1/4).
  
{{Documentation/SeeAlso|
+
===Issues: ===
 +
* Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values.
 +
 
 +
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: AVERAGE function|AVERAGE]]
 
* [[Documentation/How_Tos/Calc: AVERAGE function|AVERAGE]]
 
* [[Documentation/How_Tos/Calc: GEOMEAN function|GEOMEAN]]
 
* [[Documentation/How_Tos/Calc: GEOMEAN function|GEOMEAN]]
Line 25: Line 33:
 
* [[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]]}}
 
+
[[Category: Documentation/Reference/Calc/Statistical functions]]
===Issues: ===
+
* Calc assumes that logical values are <tt>'''1'''</tt> (<tt>'''TRUE'''</tt>) and <tt>'''0'''</tt> (<tt>'''FALSE'''</tt>). Excel ignores logical values.
+

Latest revision as of 13:24, 2 February 2024



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
Calc harmean formula.png.

Example:

HARMEAN(2; 4; 4)

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

Issues:

  • Calc assumes that logical values are 1 (TRUE) and 0 (FALSE). Excel ignores logical values.



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