Statistical function

PERCENTRANK.INC function

Returns the rank of a value in a data set as a percentage from 0 to 1 inclusive, e.g. which percentile a salary or score is at.

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

PERCENTRANK.INC(array, x, [significance])
ArgumentWhat it means
arrayRequiredThe range of numbers.
xRequiredThe value to rank, between the minimum and maximum of array.
significanceOptionalNumber of significant digits to keep (default 3). Extra digits are truncated.

Returns: A number from 0 (the minimum) to 1 (the maximum).

How PERCENTRANK.INC works

How does one salary, score or sales figure compare with the rest? PERCENTRANK.INC answers in percentage terms: 0 for the lowest value, 1 for the highest, 0.5 for the exact middle. It is the reverse of PERCENTILE.INC, and the same calculation as the older PERCENTRANK.

For a value that appears in the data the rule is: rank = (number of values smaller than x) / (n − 1). For a value that falls between two data points Excel interpolates linearly between their ranks. Then comes a detail many people miss: the result is truncated (cut off, not rounded) to significance digits, 3 by default. 1/3 shows as 0.333 and 0.6666… as 0.666. Values outside the data's range return #N/A.

Examples

1Where a score stands

E2fx=PERCENTRANK.INC(A2:C4, 72)
ABCDE
1Test scores
24867810.5
3557288
4617594

Result: 0.5

Nine scores; four are below 72. Rank = 4 / (9 − 1) = 0.5: the score sits exactly in the middle (50% when formatted as a percentage).

2Interpolating between scores

E2fx=PERCENTRANK.INC(A2:C4, 70)
ABCDE
1Test scores
24867810.45
3557288
4617594

Result: 0.45

67 has rank 3/8 = 0.375 and 72 has 0.5. 70 is 3/5 of the way, giving 0.375 + 0.6 × 0.125 = 0.45.

3Truncation with significance 2

E2fx=PERCENTRANK.INC(A2:C4, 69, 2)
ABCDE
1Test scores
24867810.42
3557288
4617594

Result: 0.42

The exact rank of 69 is 0.425. With two significant digits it is truncated to 0.42, not rounded to 0.43.

4Salary position with a repeating fraction

D2fx=PERCENTRANK.INC(B2:B5, B3)
ABCD
1EmployeeSalary
2Ana320000.333
3Ben41000
4Chloe47000
5Dev60000

Result: 0.333

One salary is lower than Ben's, so 1 / (4 − 1) = 0.3333…, truncated to 3 digits: 0.333.

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

Common errors and how to fix them

ErrorWhy it happensFix
#N/Ax is outside the range of the data.Rank only values between MIN and MAX of the array.
#NUM!significance is below 1, or the array has no numbers.Use significance ≥ 1.

Tips

  • Format as a percentage: 0.333 shows as 33.3%.
  • Tied values all get the same rank, based on how many values are strictly smaller.
  • For an ordinal position (1st, 2nd, …) use RANK.EQ instead.

Google Sheets

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

PERCENTRANK.INC 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
DanishPROCENTPLADS.MEDTAG
DutchPROCENTRANG.INC
FinnishPROSENTTIJÄRJESTYS.SIS
FrenchRANG.POURCENTAGE.INCLURE
GermanQUANTILSRANG.INKL
HungarianSZÁZALÉKRANG.TARTALMAZ
ItalianINC.PERCENT.RANGO
Norwegian (Bokmål)PROSENTDEL.INK
PolishPROC.POZ.PRZEDZ.ZAMK
Portuguese (Brazil)ORDEM.PORCENTUAL.INC
Portuguese (Portugal)ORDEM.PERCENTUAL.INC
RussianПРОЦЕНТРАНГ.ВКЛ
SpanishRANGO.PERCENTIL.INC
SwedishPROCENTRANG.INK
TurkishYÜZDERANK.DHL