PERCENTRANK.INC in Excel: Inclusive Percentile Ranks and Interpolation
Compare PERCENTRANK.INC with legacy PERCENTRANK, including default precision, interpolated ranks and inclusive versus exclusive migration.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: PERCENTRANK.INC(array,x,[significance]) asks where a value stands on an inclusive 0–1 scale. It returns a fraction suitable for percentage formatting; it does not return the measurement at a chosen percentile.
Availability and version history
- Introduced: the Microsoft function catalogue marks PERCENTRANK.INC as an Excel 2010 addition; an exact first build or preview date is not established here.
- Availability: official help lists Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016.
- Checked: October 14, 2026; official PERCENTRANK.INC reference. Documentation and independently modeled examples; no native Excel execution or broader platform certification.
Syntax and output precision
=PERCENTRANK.INC(array, x, [significance])
The dataset and target value are required. The optional significance controls the returned precision; Microsoft describes its default as three digits, 0.xxx. Changing the cell’s display format does not change this argument or recover precision already omitted from a result.
The examples use distinct, increasing numeric observations. For an observed value at one-based position i among n such values, the inclusive fraction is (i-1)/(n-1). Microsoft documents interpolation when the target falls between observed values. Duplicate-rank conventions are deliberately outside this distinct-value audit model.
Example 1: locate every observed value
Enter 10, 20, 40, 80 and 160 in A2:A6. Put this in B2 and fill down:
=PERCENTRANK.INC($A$2:$A$6,A2)
Expected fractions are 0, 0.25, 0.5, 0.75 and 1. Formatted as percentages, they read 0%, 25%, 50%, 75% and 100%. The maximum receives 100% under this inclusive convention.
These are relative positions within this chosen five-record comparison group. A 75% rank does not mean that the measurement itself is 75% of the maximum: 80/160 is only 50%.
Example 2: interpolate a target absent from the data
=PERCENTRANK.INC(A2:A6,30)
Expected result: 0.375, or 37.5%. The target 30 lies halfway between 20 and 40, whose ranks are 0.25 and 0.5. The interpolated fraction is 0.25+0.5*(0.5-0.25)=0.375.
The output is not the count of records below 30 divided by five. That different calculation is 2/5=0.4. Choose the function that implements the intended reporting definition.
Advanced example: verify a percentile/rank round trip
For this strictly increasing dataset, PERCENTILE.INC at probability 0.375 returns 30. Using that value in PERCENTRANK.INC returns 0.375.
=PERCENTILE.INC(A2:A6,0.375)
=PERCENTRANK.INC(A2:A6,30,6)
The first output is in measurement units; the second is a fraction. Here the result terminates exactly at three decimal places, so the default precision already represents it. This example does not prove exact inverse behavior for ties, all sample sizes or fractions shortened by the significance setting.
Advanced example: changing the comparison group
Keep the original A2:A6 unchanged. In C2:C7 enter 10, 20, 40, 80, 160 and 320.
=PERCENTRANK.INC(C2:C7,80)
Expected fraction: 0.6, compared with 0.75 in the original group. The observed value 80 did not change; its relative position did. When filling a report down, lock the intended comparison range rather than accidentally creating a changing benchmark.
An ordinal RANK.AVG result answers a different question and uses its own handling of ties. Do not relabel an ordinary rank as a percentile without defining a conversion.
Errors and precision limits
Microsoft documents #NUM! for an empty dataset or significance<1. The page does not establish a complete error matrix for out-of-range targets, singleton groups, noninteger significance or mixed error values; those are held rather than inferred from another spreadsheet.
The published examples include shortened fractional results, so do not treat default output precision as a rounding-free mathematical inverse. Inspect the significance argument and the cell format separately. Compare with PERCENTRANK.EXC when an exclusive plotting-position convention is required.
References and verification
Expected results are independent statistical/arithmetic models or explicitly documented rules, not captured native output. Examples use English function names and comma separators. Datasets and reporting policies are fictional.
Legacy PERCENTRANK compatibility contract
=PERCENTRANK(array,x,[significance]) requires array and x. Omitted significance means three digits in the returned fraction (0.xxx), not merely a display format. The documented errors are #NUM! for an empty array or significance below 1. A target between observations is interpolated. The renamed counterpart is PERCENTRANK.INC; PERCENTRANK.EXC changes plotting positions.
Original legacy example and independent check
In a fresh worksheet enter 5, 11, 23, 47, 95 in A2:A6. =PERCENTRANK(A2:A6,17) has independent target 0.375: ranks at 11 and 23 are 1/4 and 2/4, and 17 lies halfway between them. =PERCENTRANK(A2:A6,17,6) has the same target because 0.375 terminates exactly. Formatting this fraction as a percentage gives 37.5%; it does not mean that 37.5% of the records are strictly smaller than 17 (that proportion is 2/5).
Precision and tie traps
Preserve any explicit significance argument during migration. Microsoft’s published repeating-fraction examples show shortened results such as 0.555 for 5/9; increasing display decimals cannot recover discarded precision. This distinct-value calculation intentionally does not establish duplicate-target, all-equal, singleton, out-of-range-x or noninteger-significance behavior. Do not generalize the distinct formula (i-1)/(n-1) to tied targets or replace it with a RANK.AVG conversion. Keep a tie-heavy workbook’s existing outputs as regression cases and check them in the target Excel version before changing its percentile convention. These are independent numeric targets, not native output.
Compatibility and verification scope
Checked October 19, 2026 against the Microsoft legacy PERCENTRANK reference. Its current Applies To list includes Microsoft 365 (Windows/Mac), Excel 2024 and 2021 (Windows/Mac), 2019 and 2016. The Excel 2010 function-change reference places the renamed counterpart in that transition and retains old names for backward compatibility. This does not date the original legacy function’s introduction. Compatibility status is not retirement: no removal release or last-working build is established here. Keep old-workbook compatibility needs in view, test before migration, and do not assume identical numerical behavior across versions. This addition is a documentation review with independent calculations; it supplies no native Excel evidence.