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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m (Robot: Automated text replacement %s)
Line 16: Line 16:
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|
* [[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]]
* [[Documentation/How_Tos/Calc: HARMEAN function|HARMEAN]],
+
* [[Documentation/How_Tos/Calc: HARMEAN function|HARMEAN]]
* [[Documentation/How_Tos/Calc: MEDIAN function|MEDIAN]],
+
* [[Documentation/How_Tos/Calc: MEDIAN function|MEDIAN]]
 
* [[Documentation/How_Tos/Calc: MODE function|MODE]]
 
* [[Documentation/How_Tos/Calc: MODE function|MODE]]
  

Revision as of 14:44, 26 February 2009


TRIMMEAN

Returns the mean of a set of numbers, ignoring a proportion of high and low values.

Syntax:

TRIMMEAN(numberlist; fraction)

numberlist is a range or array of numbers, not necessarily in order. TRIMMEAN returns the mean, ignoring a fraction (0 <= fraction < 1) of the outermost values in numberlist.
Specifically, where n is the count of numbers in numberlist, the highest and lowest INT(n * fraction / 2) values are ignored.

Example:

TRIMMEAN(A1:A100; 0.1)

returns the mean of the values in cells A1:A100, ignoring the lowest 5 values and the highest 5 values.

Template:Documentation/SeeAlso

Personal tools