QUARTILE Function
Return a quartile of a data set. array holds the values and k selects the quartile, truncated to an integer: 0 (the smallest value), 1 (the first quartile, 25%), 2 (the median), 3 (the third quartile, 75%) or 4 (the largest value). A k outside 0 to 4 returns #NUM!. QUARTILE calculates the same as QUARTILE.INC.
Syntax
QUARTILE(array, k)
Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=QUARTILE(A1:A5,2)
When A1:A5 holds the values 1 to 5, the formula returns 3, the median.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.