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.

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

Syntax =PERCENTILE.INC(array, k)

PERCENTILE.INC
=PERCENTILE.INC(B2:B5,0.5)

Arguments

NameRequiredWhat to pass
arrayRequiredThe numbers. Text and blanks are ignored.
kRequiredThe 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

=PERCENTILE.INC(B2:B5,0.5)B6
Utilities
AB
1MonthBill
2Jan143.60
3Feb96.20
4Mar118.45
5Apr88.10
650th percentile107.325
A picture of the sheet, not a live calculator. k is 0.5, not 50. A percent-formatted cell that displays 50% is also fine, because it is stored as 0.5.

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.