Syntax
| Parameter | Description |
|---|---|
| array | Parameter of the QUARTILE function. |
| quart | Parameter of the QUARTILE function. |
Examples
First quartile of scores
=QUARTILE(B2:B200, 1)
Interquartile range (IQR)
=QUARTILE(B2:B200, 3) - QUARTILE(B2:B200, 1)
Five-number summary
=QUARTILE(A1:A100, {0,1,2,3,4})
Common Errors
Returned when quart is not 0, 1, 2, 3, or 4, or when the array is empty.
Occurs if quart is not a number.
Tips
Use QUARTILE with quart values 0 through 4 to get all five values needed for a box-and-whisker plot.
QUARTILE(data,1) equals PERCENTILE(data,0.25), QUARTILE(data,2) equals MEDIAN(data), and QUARTILE(data,3) equals PERCENTILE(data,0.75).
Calculate IQR = Q3 - Q1, then flag values below Q1 - 1.5*IQR or above Q3 + 1.5*IQR as outliers. This is the standard Tukey fence method.
Try QUARTILE in Viztab
Import your data and use QUARTILE with 370+ other formulas. No signup required.
Open Viztab