Returns the value at a given percentile of a data set.
Sample usage
PERCENTILE(A2:A100,A2)
PERCENTILE(A2:A100,0.67)
Syntax
PERCENTILE(data, percentile)
-
data
– The array or range containing the data set to consider. -
percentile
– The percentile for which the value within data will be calculated and returned.
Notes
-
The value returned by
PERCENTILE
is not necessarily a member of data as this function interpolates between values to calculate the alpha percentile. -
The 50th percentile (that is, setting
percentile
to 0.5) is equivalent to using MEDIAN with the same data set.
See also
SMALL
: Returns the nth smallest element from a data set, where n is user-defined.
RANK
: Returns the rank of a specified value in a data set.
QUARTILE
: Returns a value nearest to a specified quartile of a data set.
PERCENTRANK
: Returns the percentage rank (percentile) of a specified value in a data set.
MINA
: Returns the minimum numerical value in a data set.
MIN
: Returns the minimum value in a numerical data set.
MEDIAN
: Returns the median value in a numerical data set.
MAXA
: Returns the maximum numerical value in a data set.
MAX
: Returns the maximum value in a numerical data set.
LARGE
: Returns the nth largest element from a data set, where n is user-defined.
AVERAGEA
: Returns the numerical average value in a data set.
AVERAGE
: The AVERAGE function returns the numerical average value in a dataset, ignoring text.