Statistical function

PERCENTILE.EXC function

Returns the k-th percentile of data using the exclusive method, where k must lie strictly inside the data's range of ranks.

Available in Excel 2010 and later, Microsoft 365, Excel for the web, Excel for Mac 2011 and later

Excel 2010 and laterWorks in Google Sheets

Syntax

PERCENTILE.EXC(array, k)
ArgumentWhat it means
arrayRequiredThe range of numbers.
kRequiredThe percentile as a decimal, e.g. 0.9 for the 90th percentile. Must be between 1/(n+1) and n/(n+1), where n is the number of values.

Returns: The value at the k-th percentile, interpolated between data points when needed.

How PERCENTILE.EXC works

A percentile tells you the value below which a given share of the data falls: the 90th percentile of delivery times is the time that 90% of deliveries beat. Excel offers two methods. PERCENTILE.EXC (exclusive) treats the data as a sample from a larger population and assumes the true minimum and maximum lie beyond what you observed, so it never lets the 0th or 100th percentile be the smallest or largest data point.

Here is the exact rule. Sort the n values and compute the position k × (n + 1). If the position is a whole number, the result is that value; otherwise Excel interpolates linearly between the two neighbouring values. If the position is below 1 or above n, there is not enough data to estimate that percentile and the function returns #NUM!. With 8 values, anything below the 11.1th or above the 88.9th percentile fails. This method matches the default of many statistics packages (e.g. Minitab, SPSS); PERCENTILE.INC matches the classic Excel method.

Examples

1Lower quartile of delivery times

D2fx=PERCENTILE.EXC(A2:B5, 0.25)
ABCD
1Delivery hours
2122215.5
31525
41731
52040

Result: 15.5

Sorted: 12, 15, 17, 20, 22, 25, 31, 40 (n = 8). Position = 0.25 × 9 = 2.25, so the result is the 2nd value plus a quarter of the way to the 3rd: 15 + 0.25 × (17 − 15) = 15.5. PERCENTILE.INC would give 16.5.

2Percentile too extreme for the data

D2fx=PERCENTILE.EXC(A2:B5, 0.9)
ABCD
1Delivery hours
21222#NUM!
31525
41731
52040

Result: #NUM!

Position = 0.9 × 9 = 8.1, which is beyond the 8th (largest) value. Eight data points are not enough to estimate the 90th percentile with the exclusive method, so Excel returns #NUM!. PERCENTILE.INC would return 33.7.

3Median with the exclusive method

D2fx=PERCENTILE.EXC(A2:B5, 0.5)
ABCD
1Delivery hours
2122221
31525
41731
52040

Result: 21

Position = 0.5 × 9 = 4.5, halfway between 20 and 22, so 21, the same as MEDIAN. The 50th percentile is identical in both methods.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!k is too small or too large for the amount of data (position below 1 or above n), or k is outside 0–1, or the array is empty.Use more data, choose a less extreme k, or switch to PERCENTILE.INC.
#VALUE!k is text.Use a number such as 0.9 or a cell containing 90%.

Tips

  • The smallest valid k is 1/(COUNT(array)+1) and the largest is COUNT(array)/(COUNT(array)+1).
  • Enter k as 0.9 or 90%; both mean the 90th percentile.
  • Use the same method consistently across reports, because EXC and INC give different answers on small samples.

Google Sheets

PERCENTILE.EXC also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

PERCENTILE.EXC in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechPERCENTIL.EXC
DanishFRAKTIL.UDELAD
DutchPERCENTIEL.EXC
FinnishPROSENTTIPISTE.ULK
FrenchCENTILE.EXCLURE
GermanQUANTIL.EXKL
HungarianPERCENTILIS.KIZÁR
ItalianESC.PERCENTILE
Norwegian (Bokmål)PERSENTIL.EKS
PolishPERCENTYL.PRZEDZ.OTW
Portuguese (Brazil)PERCENTIL.EXC
Portuguese (Portugal)PERCENTIL.EXC
RussianПРОЦЕНТИЛЬ.ИСКЛ
SpanishPERCENTIL.EXC
SwedishPERCENTIL.EXK
TurkishYÜZDEBİRLİK.HRC