Difference between revisions of "Documentation/How Tos/Calc: QUARTILE function"
From Apache OpenOffice Wiki
		< Documentation | How Tos
		
		
OOoWikiBot (talk | contribs) m (Robot: Automated text replacement %s)  | 
				m  | 
				||
| Line 33: | 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]]  | + | [[Category: Documentation/Reference/Calc/Statistical functions]]  | 
Revision as of 12:51, 17 May 2010
QUARTILE
Returns a specified quartile in a list of numbers.
Syntax:
QUARTILE(numberlist; q)
- QUARTILE returns the value below which q quarters of the numbers in numberlist lie. q may be 0 (to return the minimum value), 1 (to return the value below which a quarter of values lie), 2 (to return the median value), 3 (to return the value below which three quarters of values lie) or 4 (to return the maximum value). numberlist is a range or array of numbers, not necessarily in order.
 
- QUARTILE calculates a return value in the same way as PERCENTILE
 
Example:
QUARTILE(A2:A99; 3)
- where cells A2:A99 contain scores from a test, returns the score below which 75% of the scores lie.
 
The next two examples illustrate the calculation, but are not intended to show practical application:
QUARTILE({3; 4; 9; 11; 12}; 2)
- returns 9, the median value of the list.
 
QUARTILE({9; 3; 7; 8}; 1)
- returns 6. The calculation is the same as for PERCENTILE({9; 3; 7; 8}; 0.25).