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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
 
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
 
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Statistical_functions|<div style="font-size: 140%;">Statistical Functions]]
 
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Statistical_functions|<div style="font-size: 140%;">Statistical Functions]]
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_TRIMMEAN_function
+
|ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_MODE_function
 
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_HARMEAN_function
 
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_HARMEAN_function
 
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Spreadsheet_functions
 
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Spreadsheet_functions

Revision as of 22:34, 1 June 2013


MEDIAN

Returns the median of a set of numbers.

Syntax:

MEDIAN(number1; number2; ... number30)

number1 to number30 are up to 30 numbers or ranges containing numbers.
MEDIAN returns the median (middle value) of the numbers. If the count of numbers is odd, this is the exact middle value. If the count of numbers is even, the average of the two middle values is returned.

Example:

MEDIAN(1; 5; 9; 20; 21)

returns 9, the number exactly in the middle.

MEDIAN(1; 5; 9; 20)

returns 7, which is the average of 5 and 9, the two numbers in the middle.
Template:Documentation/SeeAlso
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_MEDIAN_function&oldid=225865"
Views
Personal tools
Navigation
Print/export
Tools