Statistical function

PERCENTRANK.EXC function

Returns the rank of a value in a data set as a percentage strictly between 0 and 1, using the exclusive method.

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.EXC(array, x, [significance])
ArgumentWhat it means
arrayRequiredThe range of numbers.
xRequiredThe value whose rank you want. It must lie between the smallest and largest value in array.
significanceOptionalThe number of significant digits to keep. Default 3. Extra digits are truncated, not rounded.

Returns: A number strictly between 0 and 1.

How PERCENTRANK.EXC works

PERCENTRANK.EXC is the reverse of PERCENTILE.EXC: instead of turning a percentage into a value, it tells you where a value stands as a percentage. A score with a percent rank of 0.5 sits in the middle of the group. The exclusive method assumes your data is a sample, so even the smallest value gets a rank above 0 and the largest a rank below 1.

The rule: for a value that appears in the data, rank = (number of values smaller than x + 1) / (n + 1). For a value between two data points, Excel interpolates linearly between their ranks. The result is then truncated to significance digits (3 by default), so 0.4666… becomes 0.466, not 0.467. If x is below the minimum or above the maximum, you get #N/A.

Examples

1Percent rank of a score in the data

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

Result: 0.5

Four of the nine scores are below 72, so the rank is (4 + 1) / (9 + 1) = 0.5.

2A value between two data points

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

Result: 0.46

70 is not in the data. 67 has rank 0.4 and 72 has rank 0.5; 70 is 3/5 of the way between them, so 0.4 + 0.6 × 0.1 = 0.46.

3Fewer digits are truncated

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

Result: 0.4

With significance 1, 0.46 is cut to 0.4, not rounded up to 0.5.

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

Common errors and how to fix them

ErrorWhy it happensFix
#N/Ax is smaller than the minimum or larger than the maximum of array.Only rank values inside the data's range.
#NUM!significance is less than 1, or the array is empty.Use a significance of 1 or more.

Tips

  • Format the result as a percentage to read 0.5 as 50%.
  • If you want rounding rather than truncation, use a large significance and wrap it: =ROUND(PERCENTRANK.EXC(r,x,10),2).

Google Sheets

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

PERCENTRANK.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
DanishPROCENTPLADS.UDELAD
DutchPROCENTRANG.EXC
FinnishPROSENTTIJÄRJESTYS.ULK
FrenchRANG.POURCENTAGE.EXCLURE
GermanQUANTILSRANG.EXKL
HungarianSZÁZALÉKRANG.KIZÁR
ItalianESC.PERCENT.RANGO
Norwegian (Bokmål)PROSENTDEL.EKS
PolishPROC.POZ.PRZEDZ.OTW
Portuguese (Brazil)ORDEM.PORCENTUAL.EXC
Portuguese (Portugal)ORDEM.PERCENTUAL.EXC
RussianПРОЦЕНТРАНГ.ИСКЛ
SpanishRANGO.PERCENTIL.EXC
SwedishPROCENTRANG.EXK
TurkishYÜZDERANK.HRC