PERCENTILE.INC
Returns the k-th percentile of a data set using inclusive interpolation.
PERCENTILE.INC accepts percentile values from 0 through 1 and interpolates between
sorted values as needed.
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.INC(array, k)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
array | number (range) | Required | — |
k | number (range) | Required | — |
Remarks
kmust be in the inclusive range[0, 1].- Alias
PERCENTILEis supported.
Error cases
- Returns
#NUM!for empty numeric input or invalid percentile arguments.
Examples
Find the value at the fiftieth percentile.
Formula =PERCENTILE.INC({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.INC({10,20,30,40,50},0.3)
Expected result 22
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.INC({10,20,30,40,50},0.2)
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?.
A percentile above one is outside the probability interval.
Formula =PERCENTILE.INC({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?.
Inclusive 25th percentile from direct values
Formula =PERCENTILE.INC({1,2,3,4,5},0.25)
Expected result 2
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?.
Inclusive median-style interpolation from a range
Formula =PERCENTILE.INC(A1:A4,0.5)
| A | |
|---|---|
| 1 | 10 |
| 2 | 20 |
| 3 | 30 |
| 4 | 40 |
Expected result 25
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
What k range is valid for PERCENTILE.INC?
k must be between 0 and 1 inclusive; outside that range returns #NUM!.