Formualizer Docs

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

ArgumentTypeRequiredDefault
arraynumber (range)Required—
knumber (range)Required—

Remarks

  • k must satisfy 0 < 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)

Input cells
A
110
220
330
440
550

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?.

FAQ

Why does PERCENTILE.EXC reject k=0 or k=1?

Exclusive percentile uses the n+1 basis and requires strictly 0 < k < 1.

Implementation

Engine source

On this page