Formualizer Docs

QUARTILE.EXC

Returns an exclusive quartile value for a data set.

QUARTILE.EXC applies exclusive percentile interpolation and supports quartiles 1 through 3.

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

=QUARTILE.EXC(array, quart)

Arguments

ArgumentTypeRequiredDefault
arraynumber (range)Required—
quartnumber (range)Required—

Remarks

  • Valid quartile index values are 1, 2, and 3.

Error cases

  • Returns #NUM! for invalid quartile index values.
  • Returns #NUM! when the input is too small for exclusive quartile interpolation.

Examples

Find the first quartile of five ordered values.

Formula =QUARTILE.EXC({10,20,30,40,50},1)

Expected result 15

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

Find the corresponding upper quartile.

Formula =QUARTILE.EXC({10,20,30,40,50},3)

Expected result 45

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

The second quartile is the median of this sample.

Formula =QUARTILE.EXC({10,20,30,40,50},2)

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

Quartile five is outside the supported range.

Formula =QUARTILE.EXC({10,20,30,40,50},5)

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

First exclusive quartile from direct values

Formula =QUARTILE.EXC({1,2,3,4,5,6,7,8},1)

Expected result 2.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?.

Third exclusive quartile from a range

Formula =QUARTILE.EXC(A1:A8,3)

Input cells
A
110
220
330
440
550
660
770
880

Expected result 67.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?.

FAQ

Why can QUARTILE.EXC return #NUM! on small datasets?

Exclusive quartiles need enough data for valid interior rank interpolation.

Implementation

Engine source

On this page