PERCENTILE.EXC
Returns the k-th percentile of a data set using exclusive interpolation.
PERCENTILE.EXC uses the n+1 rank basis and excludes the exact endpoints 0 and 1.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=PERCENTILE.EXC(array, k)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
array | number (range) | Required | — |
k | number (range) | Required | — |
Remarks
kmust satisfy0 < k < 1.
Error cases
- Returns
#NUM!when the percentile falls outside the valid rank range for the data size. - Returns
#NUM!for empty numeric input.
Examples
Find the value at the fiftieth percentile.
Formula =PERCENTILE.EXC({10,20,30,40,50},0.5)
Expected result 30
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Choose a percentile between observed ranks to see interpolation.
Formula =PERCENTILE.EXC({10,20,30,40,50},0.3)
Expected result 18
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate near the lower end of the sample.
Formula =PERCENTILE.EXC({10,20,30,40,50},0.2)
Expected result 12
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A percentile above one is outside the probability interval.
Formula =PERCENTILE.EXC({10,20,30,40,50},1.1)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Exclusive 25th percentile from direct values
Formula =PERCENTILE.EXC({1,2,3,4,5},0.25)
Expected result 1.5
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Exclusive percentile from a range
Formula =PERCENTILE.EXC(A1:A5,0.6)
| A | |
|---|---|
| 1 | 10 |
| 2 | 20 |
| 3 | 30 |
| 4 | 40 |
| 5 | 50 |
Expected result 36
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Why does PERCENTILE.EXC reject k=0 or k=1?
Exclusive percentile uses the n+1 basis and requires strictly 0 < k < 1.