Syntax
| Parameter | Description |
|---|---|
| array | Parameter of the PERCENTILE function. |
| k | Parameter of the PERCENTILE function. |
Examples
90th percentile salary
=PERCENTILE(B2:B500, 0.9)
25th percentile response time
=PERCENTILE(D2:D1000, 0.25)
Median via percentile
=PERCENTILE(A1:A100, 0.5)
Common Errors
Returned when k is less than 0 or greater than 1, or when the array is empty.
Occurs if k is not a number.
Tips
PERCENTILE(data, 0) returns the minimum value and PERCENTILE(data, 1) returns the maximum. This inclusive behavior is why it is equivalent to PERCENTILE.INC.
PERCENTILE interpolates when the percentile falls between two data points. The result may not be an actual value in your data set.
Values above the 95th or 99th percentile are often treated as outliers. Use PERCENTILE to find these cutoff points programmatically.
Try PERCENTILE in Viztab
Import your data and use PERCENTILE with 370+ other formulas. No signup required.
Open Viztab