Function · Ranking and percentiles

Excel QUARTILE.INC function

The Excel QUARTILE.INC function returns a quartile of a list. The first quartile of the four utility bills is $94.175. The second is the median, $107.325.

Excel 2010 and later, including Microsoft 365 and Excel for the web. The older name QUARTILE still calculates. Also in Google Sheets.

Syntax =QUARTILE.INC(array, quart)

QUARTILE.INC
=QUARTILE.INC(B2:B5,1)

Arguments

NameRequiredWhat to pass
arrayRequiredThe numbers. Text and blanks are ignored.
quartRequired0 for the minimum, 1 for the first quartile, 2 for the median, 3 for the third quartile, and 4 for the maximum.

Examples

First quartile of the four bills

=QUARTILE.INC(B2:B5,1)

Result $94.175

=QUARTILE.INC(B2:B5,1)B6
Utilities
AB
1MonthBill
2Jan143.60
3Feb96.20
4Mar118.45
5Apr88.10
6First quartile94.175
A picture of the sheet, not a live calculator. Position (4−1)×0.25 is 0.75 of the way from $88.10 to $96.20.

QUARTILE.INC splits the sorted list at quarters, and it includes the ends. For $88.10, $96.20, $118.45, and $143.60, quart 1 is $94.175. That is three quarters of the way from the smallest bill to the next one: the position is (4−1) × 0.25 = 0.75, and 88.10 + 0.75 × (96.20 − 88.10) = 94.175. Quart 2 is $107.325, identical to the median. Quart 0 and quart 4 are the minimum and the maximum.

The result is an interpolated number, so it may be a dollar amount nobody was billed. That is expected with four points. The older QUARTILE name does this same calculation. PERCENTILE.INC with k of 0.25 is the same call as quart 1. QUARTILE.EXC accepts quart 1, 2, and 3. Quart 0 and quart 4 are #NUM! on that function.