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.
Syntax =QUARTILE.INC(array, quart)
=QUARTILE.INC(B2:B5,1)Arguments
| Name | Required | What to pass |
|---|---|---|
| array | Required | The numbers. Text and blanks are ignored. |
| quart | Required | 0 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
| A | B | |
|---|---|---|
| 1 | Month | Bill |
| 2 | Jan | 143.60 |
| 3 | Feb | 96.20 |
| 4 | Mar | 118.45 |
| 5 | Apr | 88.10 |
| 6 | First quartile | 94.175 |
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.