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)| Argument | What it means | |
|---|---|---|
array | Required | The range of numbers. |
k | Required | The 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Delivery hours | |||
| 2 | 12 | 22 | 15.5 | |
| 3 | 15 | 25 | ||
| 4 | 17 | 31 | ||
| 5 | 20 | 40 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Delivery hours | |||
| 2 | 12 | 22 | #NUM! | |
| 3 | 15 | 25 | ||
| 4 | 17 | 31 | ||
| 5 | 20 | 40 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Delivery hours | |||
| 2 | 12 | 22 | 21 | |
| 3 | 15 | 25 | ||
| 4 | 17 | 31 | ||
| 5 | 20 | 40 |
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.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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 isCOUNT(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.
| Language | Function name |
|---|---|
| Czech | PERCENTIL.EXC |
| Danish | FRAKTIL.UDELAD |
| Dutch | PERCENTIEL.EXC |
| Finnish | PROSENTTIPISTE.ULK |
| French | CENTILE.EXCLURE |
| German | QUANTIL.EXKL |
| Hungarian | PERCENTILIS.KIZÁR |
| Italian | ESC.PERCENTILE |
| Norwegian (Bokmål) | PERSENTIL.EKS |
| Polish | PERCENTYL.PRZEDZ.OTW |
| Portuguese (Brazil) | PERCENTIL.EXC |
| Portuguese (Portugal) | PERCENTIL.EXC |
| Russian | ПРОЦЕНТИЛЬ.ИСКЛ |
| Spanish | PERCENTIL.EXC |
| Swedish | PERCENTIL.EXK |
| Turkish | YÜZDEBİRLİK.HRC |