PERCENTRANK.EXC
Returns the exclusive percentile rank of x within a numeric data array.
PERCENTRANK.EXC uses an open ranking scale that excludes exact 0 and 1 endpoints.
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
=PERCENTRANK.EXC(array, x, [significance])
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
array | number (range) | Required | — |
x | number (range) | Required | — |
significance | number (range) | Optional | — |
Remarks
- Output is based on position divided by
n + 1, with interpolation between points. - Optional
significancedefaults to3and must be at least1.
Error cases
xmust lie within the observed min/max range; otherwise returns#N/A.- Returns
#NUM!for invalid setup such as empty numeric input.
Examples
Find the percentile rank of an observation in the sample.
Formula =PERCENTRANK.EXC({10,20,30,40,50},30)
Expected result 0.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?.
Interpolate between two observations and request five digits of significance.
Formula =PERCENTRANK.EXC({10,20,30,40,50},25,5)
Expected result 0.41666
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 the rank of the smallest observed value.
Formula =PERCENTRANK.EXC({10,20,30,40,50},10)
Expected result 0.166
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 value below every observation is outside the input data.
Formula =PERCENTRANK.EXC({10,20,30,40,50},5)
Expected result #N/A
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?.
Exact exclusive percentile rank
Formula =PERCENTRANK.EXC({1,2,3,4,5},3)
Expected result 0.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?.
Interpolated exclusive percentile rank
Formula =PERCENTRANK.EXC({1,2,3,4,5},2.5)
Expected result 0.416
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?.