Function · Ranking and percentiles
Excel PERCENTILE.INC function
The Excel PERCENTILE.INC function returns the value at a percent of the way through a sorted list. The 50% point of the four utility bills is $107.325, the same as the median.
Syntax =PERCENTILE.INC(array, k)
=PERCENTILE.INC(B2:B5,0.5)Arguments
| Name | Required | What to pass |
|---|---|---|
| array | Required | The numbers. Text and blanks are ignored. |
| k | Required | The position, from 0 through 1. 0 is the minimum, 0.5 is the median, and 1 is the maximum. |
Examples
Halfway through the four bills
=PERCENTILE.INC(B2:B5,0.5)Result $107.325
| A | B | |
|---|---|---|
| 1 | Month | Bill |
| 2 | Jan | 143.60 |
| 3 | Feb | 96.20 |
| 4 | Mar | 118.45 |
| 5 | Apr | 88.10 |
| 6 | 50th percentile | 107.325 |
PERCENTILE.INC walks a sorted list and stops at a fraction of the way from the smallest to the largest. At 0.5 it stops in the middle. For these four bills that middle is the average of $96.20 and $118.45, which is $107.325, the same number MEDIAN returns. At 0 it is April’s $88.10. At 1 it is January’s $143.60.
The k argument is a fraction. 0.9 means 90%. The number 90 is outside 0 through 1 and returns #NUM!. When the stop falls between two bills, Excel interpolates. It does not snap to the nearer bill. The INC in the name means both endpoints are legal. The older PERCENTILE name does the same calculation and still works. QUARTILE.INC is this function at 0, 0.25, 0.5, 0.75, and 1. PERCENTILE.EXC leaves 0 and 1 out, and on a short list it can also reject a k that this function accepts.