How to Percentile Inc Function in Excel
Learn multiple Excel methods to calculate percentiles using the inclusive approach with step-by-step examples and practical applications.
How to Percentile Inc Function in Excel
Why This Task Matters in Excel
Accurately gauging how a single value compares to the rest of a data set is indispensable in every data-driven profession. Whether you are benchmarking student test scores, ranking sales performance, examining athletic statistics, or managing quality-control metrics on a production line, you eventually need to know “What score places someone in the top 10 percent of all scores?” or “Which revenue figure represents the 25th percentile of all monthly sales?”
Percentile calculations allow you to slice numerical data into equal portions, revealing how far along the distribution a given observation sits. Managers translate percentiles into bonuses, educators identify struggling students, market analysts spot outliers, and healthcare professionals evaluate patient growth metrics. All of these are real-world cases where the ability to pinpoint the n-th percentile is directly tied to strategic decisions.
Excel is ideally suited to this task for several reasons:
- Built-in percentile functions eliminate statistical complexity—no need to derive formulas manually.
- Workbooks can house raw data, percentile outputs, charts, and interactive dashboards side by side, streamlining analytical workflows.
- Automatic recalculation guarantees updated percentiles each time new data arrives.
- Excel integrates with Power Query, Power Pivot, and PivotTables so large data sets remain manageable.
Failing to master percentile functions can mean basing decisions on averages alone—an approach that hides extremities, masks inequality, and often misleads stakeholders. Percentiles expose distributional nuances such as skewness and clustering. Once you know how to compute them in Excel you can move seamlessly into more advanced analytics such as quartile analysis, decile banding, and conditional formatting that highlights data above the 90th percentile. Percentile skills also pave the way for topics like statistical process control, performance scorecards, and predictive modeling that feed directly into Excel-centric workflows.
Best Excel Approach
For inclusive percentile calculations, Excel offers two dedicated worksheet functions introduced in Excel 2010:
- PERCENTILE.INC – Calculates the k-th percentile where both endpoints (0 percent and 100 percent) are considered valid percentiles.
- PERCENTILE.EXC – Uses an exclusive definition that excludes the two endpoints when interpolating.
Because most business and academic standards treat the minimum as the 0 percentile and the maximum as the 100 percentile, PERCENTILE.INC is the go-to method. It is more intuitive for non-statisticians and aligns with the definitions used by calculators, textbooks, and public databases.
Syntax:
=PERCENTILE.INC(array, k)
Parameter details
array– The complete list or range of numeric values you want to analyze. Non-numeric content or blanks are ignored.k– The percentile expressed as a decimal fraction between 0 and 1, inclusive. For example, 0.25 returns the 25th percentile. You may supply a reference to a cell that contains this fraction, or compute it inside the formula (e.g., 10/100).
When should you use this approach?
- Whenever you want to include the minimum and maximum as potentially valid percentile results.
- When your organization’s policy documents or industry regulations mention standard percentiles (10th, 25th, 50th, 90th) without specifying an exclusive method.
- If you have sample sizes under 10 data points—the exclusive variant may return errors in those cases.
Alternatives exist: QUARTILE.INC (for quartiles only), the legacy PERCENTILE (old but still available), or array formulas that sort data and interpolate manually. For most modern use cases, PERCENTILE.INC remains the clearest and most accurate.
Parameters and Inputs
Before diving into examples, understand how inputs affect results:
arrayshould be a contiguous numeric range such as [B2:B101]. Remove text labels or convert them to numbers. Hidden rows are still included—use filters if you must exclude them.- Dynamic ranges: Use structured references like Sales[Revenue] or dynamic arrays with the
UNIQUEorFILTERfunctions to feed PERCENTILE.INC automatically. kmust satisfy 0 ≤ k ≤ 1. Enter 0.75 to obtain the 75th percentile; enter 1 to obtain the maximum, or 0 for the minimum.- Decimal precision: Provide at least two decimal places when calculating unusual percentiles (e.g., 0.3333) to reduce rounding errors.
- Data preparation: Remove error values (such as
#DIV/0!) from the range. PERCENTILE.INC ignores blanks but not outright errors. - Edge cases:
– Ifarraycontains fewer than (n = 1/k) unique points, the inclusive percentile still returns an interpolated value, so you rarely face errors.
– Ifkis outside the valid range, Excel returns#NUM!. Validate user-entered percentiles withIFguards or Data Validation rules.
– If your dataset is a mix of dates and numbers, remember that Excel stores dates as serial numbers. You can compute date percentiles directly, but format the output cell as a date.
Step-by-Step Examples
Example 1: Basic Scenario – Test Scores
Imagine a teacher with 20 student scores in [C2:C21] who wants to place each student relative to the 90th percentile.
Sample data (first five rows):
| Row | Score |
|---|---|
| 2 | 68 |
| 3 | 75 |
| 4 | 81 |
| 5 | 88 |
| 6 | 94 |
Steps
- Select cell [E2] to hold the threshold.
- Enter:
=PERCENTILE.INC(C2:C21,0.9)
- Press Enter. Excel returns a value, say 92.4, indicating that any score above 92.4 is within the top 10 percent.
- To flag each student, put in [D2]:
=IF(C2>=$E$2,"Top 10%","Below")
Copy down to [D21].
5. For visual emphasis, apply Conditional Formatting > Highlight Cells Rules > Greater Than, referencing cell [E2] to shade the top scorers.
Why it works: PERCENTILE.INC interpolates between the sorted positions such that exactly 10 percent of observations fall above the returned value. Using $E$2 locks the threshold cell for easy copy-down.
Variations
- Change 0.9 to 0.5 to find the median.
- Replace the hard-coded 0.9 with a cell [H1] so you can examine multiple percentiles side by side.
Troubleshooting
If you see #NUM!, confirm k is between 0 and 1. If results appear incorrect, check for hidden rows or unintentional text values (e.g., “88 ” with a trailing space).
Example 2: Real-World Application – Sales Performance Banding
A national sales manager has quarterly revenue figures for 500 reps stored in a Table named tblSales with columns RepID, Region, and Q2Revenue. The goal is to segment reps into percentile bands to assign tiered bonuses.
Steps
- Calculate breakpoints at the 70th, 85th, and 95th percentiles in a summary table:
| Cell | Formula |
|---|---|
| [K2] | =PERCENTILE.INC(tblSales[Q2Revenue],0.70) |
| [K3] | =PERCENTILE.INC(tblSales[Q2Revenue],0.85) |
| [K4] | =PERCENTILE.INC(tblSales[Q2Revenue],0.95) |
- Add a helper column inside
tblSalescalledBonusTier:
=IFS(
[@Q2Revenue] >= $K$4,"Platinum",
[@Q2Revenue] >= $K$3,"Gold",
[@Q2Revenue] >= $K$2,"Silver",
TRUE,"Bronze"
)
- Because the Table is structured, any new rows auto-populate.
- Create a PivotTable summarizing counts per
RegionandBonusTier, enabling management to see, for example, how many Platinum reps work in the Southeast. - Link the percentile inputs 0.70, 0.85, 0.95 to slicers or an Excel form control so leadership can experiment with alternative band definitions during meetings.
Business impact:
- Automates bonus thresholds—no manual lookup each quarter.
- Maintains transparency; reps can see exactly where they stand.
- Supports dynamic workforce scaling; as headcount grows, percentiles adjust automatically.
Performance considerations: With 500 rows the workbook remains lightweight, but for tens of thousands of rows use Data Model PivotTables or Power Pivot so calculations stay responsive.
Example 3: Advanced Technique – Rolling Percentile on Dynamic Window
In manufacturing quality control, engineers watch a rolling 30-day window of production defect rates. The workbook logs daily defect counts in column [B]; dates reside in [A]. The quality team wants the 95th percentile of defect counts for the last 30 days only, recalculated as each new day is logged.
Formula:
=LET(
todayDate, MAX(A:A),
window, FILTER(B:B, (A:A >= todayDate-29) * (A:A <= todayDate)),
PERCENTILE.INC(window, 0.95)
)
Explanation
LETassignstodayDateto the most recent date in the log, making the logic resilient even if a row is added out of order.FILTERextracts the last 30 dates. The asterisk performs an AND operation for both boundaries.windowis the resulting array of counts—no auxiliary columns needed.PERCENTILE.INCthen evaluates only this subset.
Edge cases handled
- If fewer than 30 days exist (e.g., at project launch),
FILTERstill returns the available rows, and PERCENTILE.INC remains valid. - The dynamic array spills automatically; if the window range is empty (should never happen if at least one row exists) Excel returns a
#CALC!error; wrap inIFERRORfor safety.
Performance tips
In versions prior to Office 365 where FILTER is unavailable, approximate with SUMPRODUCT + INDEX or a helper column. For 100,000+ records, import data into Power Query and perform a Group By with Table.Buffer to pre-filter before loading back to the sheet.
Tips and Best Practices
- Store Percentiles in Named Ranges – Assign names like
p90Scoreto keep formulas readable and reference them across multiple sheets. - Use Tables for Auto-Expanding Arrays – Convert raw data to an Excel Table so PERCENTILE.INC always captures new rows without editing formulas.
- Separate Percentile and Flag Logic – Compute percentiles once in a dedicated sheet; reference them elsewhere to avoid redundant calculations.
- Protect Input Cells – Lock or color-code the
kinput cells to prevent accidental deletion or invalid entries. - Combine with Conditional Formatting – Shade values above the 95th percentile instantly so stakeholders grasp distribution at a glance.
- Document Your Method – Add comments noting that you used the inclusive method—many auditors and coworkers assume exclusive by default.
Common Mistakes to Avoid
- Supplying
kas a whole number (e.g., 90 instead of 0.9) – Results in#NUM!or wildly wrong outputs. Divide by 100 or remind users thatkis a decimal fraction. - Mixing Data Types – A stray text entry like “N/A” inside the numeric range converts the whole column to text, leading to a
#VALUE!error. Apply Data Validation to enforce numeric input. - Forgetting Absolute References – When copying formulas down, always lock the percentile cell with `
How to Percentile Inc Function in Excel
Why This Task Matters in Excel
Accurately gauging how a single value compares to the rest of a data set is indispensable in every data-driven profession. Whether you are benchmarking student test scores, ranking sales performance, examining athletic statistics, or managing quality-control metrics on a production line, you eventually need to know “What score places someone in the top 10 percent of all scores?” or “Which revenue figure represents the 25th percentile of all monthly sales?”
Percentile calculations allow you to slice numerical data into equal portions, revealing how far along the distribution a given observation sits. Managers translate percentiles into bonuses, educators identify struggling students, market analysts spot outliers, and healthcare professionals evaluate patient growth metrics. All of these are real-world cases where the ability to pinpoint the n-th percentile is directly tied to strategic decisions.
Excel is ideally suited to this task for several reasons:
- Built-in percentile functions eliminate statistical complexity—no need to derive formulas manually.
- Workbooks can house raw data, percentile outputs, charts, and interactive dashboards side by side, streamlining analytical workflows.
- Automatic recalculation guarantees updated percentiles each time new data arrives.
- Excel integrates with Power Query, Power Pivot, and PivotTables so large data sets remain manageable.
Failing to master percentile functions can mean basing decisions on averages alone—an approach that hides extremities, masks inequality, and often misleads stakeholders. Percentiles expose distributional nuances such as skewness and clustering. Once you know how to compute them in Excel you can move seamlessly into more advanced analytics such as quartile analysis, decile banding, and conditional formatting that highlights data above the 90th percentile. Percentile skills also pave the way for topics like statistical process control, performance scorecards, and predictive modeling that feed directly into Excel-centric workflows.
Best Excel Approach
For inclusive percentile calculations, Excel offers two dedicated worksheet functions introduced in Excel 2010:
- PERCENTILE.INC – Calculates the k-th percentile where both endpoints (0 percent and 100 percent) are considered valid percentiles.
- PERCENTILE.EXC – Uses an exclusive definition that excludes the two endpoints when interpolating.
Because most business and academic standards treat the minimum as the 0 percentile and the maximum as the 100 percentile, PERCENTILE.INC is the go-to method. It is more intuitive for non-statisticians and aligns with the definitions used by calculators, textbooks, and public databases.
Syntax:
CODE_BLOCK_0
Parameter details
array– The complete list or range of numeric values you want to analyze. Non-numeric content or blanks are ignored.k– The percentile expressed as a decimal fraction between 0 and 1, inclusive. For example, 0.25 returns the 25th percentile. You may supply a reference to a cell that contains this fraction, or compute it inside the formula (e.g., 10/100).
When should you use this approach?
- Whenever you want to include the minimum and maximum as potentially valid percentile results.
- When your organization’s policy documents or industry regulations mention standard percentiles (10th, 25th, 50th, 90th) without specifying an exclusive method.
- If you have sample sizes under 10 data points—the exclusive variant may return errors in those cases.
Alternatives exist: QUARTILE.INC (for quartiles only), the legacy PERCENTILE (old but still available), or array formulas that sort data and interpolate manually. For most modern use cases, PERCENTILE.INC remains the clearest and most accurate.
Parameters and Inputs
Before diving into examples, understand how inputs affect results:
arrayshould be a contiguous numeric range such as [B2:B101]. Remove text labels or convert them to numbers. Hidden rows are still included—use filters if you must exclude them.- Dynamic ranges: Use structured references like Sales[Revenue] or dynamic arrays with the
UNIQUEorFILTERfunctions to feed PERCENTILE.INC automatically. kmust satisfy 0 ≤ k ≤ 1. Enter 0.75 to obtain the 75th percentile; enter 1 to obtain the maximum, or 0 for the minimum.- Decimal precision: Provide at least two decimal places when calculating unusual percentiles (e.g., 0.3333) to reduce rounding errors.
- Data preparation: Remove error values (such as
#DIV/0!) from the range. PERCENTILE.INC ignores blanks but not outright errors. - Edge cases:
– Ifarraycontains fewer than (n = 1/k) unique points, the inclusive percentile still returns an interpolated value, so you rarely face errors.
– Ifkis outside the valid range, Excel returns#NUM!. Validate user-entered percentiles withIFguards or Data Validation rules.
– If your dataset is a mix of dates and numbers, remember that Excel stores dates as serial numbers. You can compute date percentiles directly, but format the output cell as a date.
Step-by-Step Examples
Example 1: Basic Scenario – Test Scores
Imagine a teacher with 20 student scores in [C2:C21] who wants to place each student relative to the 90th percentile.
Sample data (first five rows):
| Row | Score |
|---|---|
| 2 | 68 |
| 3 | 75 |
| 4 | 81 |
| 5 | 88 |
| 6 | 94 |
Steps
- Select cell [E2] to hold the threshold.
- Enter: CODE_BLOCK_1
- Press Enter. Excel returns a value, say 92.4, indicating that any score above 92.4 is within the top 10 percent.
- To flag each student, put in [D2]: CODE_BLOCK_2 Copy down to [D21].
- For visual emphasis, apply Conditional Formatting > Highlight Cells Rules > Greater Than, referencing cell [E2] to shade the top scorers.
Why it works: PERCENTILE.INC interpolates between the sorted positions such that exactly 10 percent of observations fall above the returned value. Using $E$2 locks the threshold cell for easy copy-down.
Variations
- Change 0.9 to 0.5 to find the median.
- Replace the hard-coded 0.9 with a cell [H1] so you can examine multiple percentiles side by side.
Troubleshooting
If you see #NUM!, confirm k is between 0 and 1. If results appear incorrect, check for hidden rows or unintentional text values (e.g., “88 ” with a trailing space).
Example 2: Real-World Application – Sales Performance Banding
A national sales manager has quarterly revenue figures for 500 reps stored in a Table named tblSales with columns RepID, Region, and Q2Revenue. The goal is to segment reps into percentile bands to assign tiered bonuses.
Steps
- Calculate breakpoints at the 70th, 85th, and 95th percentiles in a summary table:
| Cell | Formula |
|---|---|
| [K2] | =PERCENTILE.INC(tblSales[Q2Revenue],0.70) |
| [K3] | =PERCENTILE.INC(tblSales[Q2Revenue],0.85) |
| [K4] | =PERCENTILE.INC(tblSales[Q2Revenue],0.95) |
- Add a helper column inside
tblSalescalledBonusTier:
CODE_BLOCK_3
- Because the Table is structured, any new rows auto-populate.
- Create a PivotTable summarizing counts per
RegionandBonusTier, enabling management to see, for example, how many Platinum reps work in the Southeast. - Link the percentile inputs 0.70, 0.85, 0.95 to slicers or an Excel form control so leadership can experiment with alternative band definitions during meetings.
Business impact:
- Automates bonus thresholds—no manual lookup each quarter.
- Maintains transparency; reps can see exactly where they stand.
- Supports dynamic workforce scaling; as headcount grows, percentiles adjust automatically.
Performance considerations: With 500 rows the workbook remains lightweight, but for tens of thousands of rows use Data Model PivotTables or Power Pivot so calculations stay responsive.
Example 3: Advanced Technique – Rolling Percentile on Dynamic Window
In manufacturing quality control, engineers watch a rolling 30-day window of production defect rates. The workbook logs daily defect counts in column [B]; dates reside in [A]. The quality team wants the 95th percentile of defect counts for the last 30 days only, recalculated as each new day is logged.
Formula:
CODE_BLOCK_4
Explanation
LETassignstodayDateto the most recent date in the log, making the logic resilient even if a row is added out of order.FILTERextracts the last 30 dates. The asterisk performs an AND operation for both boundaries.windowis the resulting array of counts—no auxiliary columns needed.PERCENTILE.INCthen evaluates only this subset.
Edge cases handled
- If fewer than 30 days exist (e.g., at project launch),
FILTERstill returns the available rows, and PERCENTILE.INC remains valid. - The dynamic array spills automatically; if the window range is empty (should never happen if at least one row exists) Excel returns a
#CALC!error; wrap inIFERRORfor safety.
Performance tips
In versions prior to Office 365 where FILTER is unavailable, approximate with SUMPRODUCT + INDEX or a helper column. For 100,000+ records, import data into Power Query and perform a Group By with Table.Buffer to pre-filter before loading back to the sheet.
Tips and Best Practices
- Store Percentiles in Named Ranges – Assign names like
p90Scoreto keep formulas readable and reference them across multiple sheets. - Use Tables for Auto-Expanding Arrays – Convert raw data to an Excel Table so PERCENTILE.INC always captures new rows without editing formulas.
- Separate Percentile and Flag Logic – Compute percentiles once in a dedicated sheet; reference them elsewhere to avoid redundant calculations.
- Protect Input Cells – Lock or color-code the
kinput cells to prevent accidental deletion or invalid entries. - Combine with Conditional Formatting – Shade values above the 95th percentile instantly so stakeholders grasp distribution at a glance.
- Document Your Method – Add comments noting that you used the inclusive method—many auditors and coworkers assume exclusive by default.
Common Mistakes to Avoid
- Supplying
kas a whole number (e.g., 90 instead of 0.9) – Results in#NUM!or wildly wrong outputs. Divide by 100 or remind users thatkis a decimal fraction. - Mixing Data Types – A stray text entry like “N/A” inside the numeric range converts the whole column to text, leading to a
#VALUE!error. Apply Data Validation to enforce numeric input. - Forgetting Absolute References – When copying formulas down, always lock the percentile cell with to avoid each row referencing a different percentile inadvertently.
- Using PERCENTILE.INC on Filtered Views without SUBTOTAL – Hidden rows are still counted. If you need filter-aware percentiles, build a helper column with
SUBTOTALor use theAGGREGATEfunction in combination withFILTER. - Ignoring Outliers – Extreme values may distort percentiles. Inspect data with a Box-and-Whisker chart before finalizing thresholds, or remove outliers with robust rules.
Alternative Methods
| Method | Syntax | Pros | Cons |
|---|---|---|---|
| PERCENTILE.INC | =PERCENTILE.INC(range,k) | Modern, includes endpoints, accepts arrays | Only available in Excel 2010+ |
| PERCENTILE.EXC | =PERCENTILE.EXC(range,k) | Preferred by some statisticians | Cannot calculate 0th or 100th percentile; errors for small sample sizes |
| QUARTILE.INC | =QUARTILE.INC(range,quart) | Quick quartile output | Limited to quartiles (0,1,2,3,4) |
| Legacy PERCENTILE | =PERCENTILE(range,k) | Backward compatibility with Excel 2007 | Same as inclusive but marked for deprecation |
| Manual SORT & INTERPOLATE | Sort + arithmetic | Transparent, independent of version | Labor intensive, error-prone, volatile if data changes |
| PivotTable Percentile | Field Settings > Summarize by | No formulas, easy drag-drop | Only one percentile at a time; cannot use result in further formulas |
When to switch
- Use PERCENTILE.EXC when you want an unbiased estimator for sampled data where endpoints should be excluded.
- Choose PivotTables when you need one-off exploratory analysis rather than live formulas.
- Employ manual methods inside VBA or Power Query if you require custom percentile definitions not supported by Excel’s built-ins.
FAQ
When should I use this approach?
Deploy PERCENTILE.INC whenever you need a percentile that treats both the smallest and largest observations as valid percentile candidates—common in finance, education, and HR performance reviews. It is especially appropriate when your audience expects the maximum to equal the 100th percentile.
Can this work across multiple sheets?
Yes. Reference ranges on other sheets, such as =PERCENTILE.INC('Raw Data'!D2:D1000,0.9). Ensure the external sheet is open; otherwise, links may break. Alternatively, consolidate ranges with CHOOSE or dynamic arrays like =PERCENTILE.INC(LET(rng1,'Sheet1'!D:D,rng2,'Sheet2'!D:D, VSTACK(rng1,rng2)),0.9) in Office 365.
What are the limitations?
PERCENTILE.INC ignores non-numeric values but stops at the first encountered error. It cannot apply weightings; each observation is treated equally. It also evaluates hidden rows, so a filtered list might yield misleading results. Use FILTER to limit input before calling the function.
How do I handle errors?
Wrap your formula in IFERROR:
=IFERROR(PERCENTILE.INC(range,k),"Check data")
Audit the range for #VALUE! or #DIV/0! cells. Guard user input with Data Validation (decimal between 0 and 1) to prevent #NUM!. In structured workflows, add a dashboard warning if COUNT(range) falls below a reasonable sample threshold.
Does this work in older Excel versions?
Excel 2010 and later support PERCENTILE.INC. In Excel 2007 or 2003, fall back to the legacy PERCENTILE function, which follows the same inclusive algorithm. Macros or compatibility packs can translate formulas when upgrading.
What about performance with large datasets?
Up to roughly 100,000 rows, performance is instantaneous. For larger data sets:
- Place raw data in an Excel Table so calculations recalc efficiently.
- Switch workbook calculation to manual during data imports.
- Use Power Pivot measures (
PERCENTILEX.INC) or DAX’sPERCENTILE.INCto push computation into the VertiPaq engine. - Avoid volatile functions like
NOW()feeding cascadedLETstatements; they force unnecessary recalculation.
Conclusion
Mastering PERCENTILE.INC equips you to benchmark data accurately, whether you are rewarding top performers, flagging at-risk students, or maintaining product quality thresholds. The function’s simplicity hides robust mathematics, integrating seamlessly with Tables, dynamic arrays, and dashboards. By combining inclusive percentiles with Conditional Formatting, PivotTables, and error-proof setups, you deliver clear, actionable insights. Keep experimenting—move from percentiles to deciles, incorporate rolling windows, and explore DAX measures in Power Pivot. Proficiency here strengthens your overall Excel analytics toolkit and positions you to tackle increasingly sophisticated statistical challenges with confidence.
Related Articles
How to Show the 10 Most Common Text Values in Excel
Learn multiple Excel methods to list the 10 most frequent text values—complete with step-by-step examples, business use cases, and expert tips.
How to Abbreviate Names Or Words in Excel
Learn multiple Excel methods to abbreviate names or words with step-by-step examples and practical applications.
How to Abbreviate State Names in Excel
Learn multiple Excel methods to abbreviate state names with step-by-step examples, professional tips, and real-world applications.