Skip to main content

Excel PERCENTRANK Function

doc median1

If you want to follow along with this tutorial, please download the example spreadsheet.

doc median1


The Excel PERCENTRANK function returns the rank of a value in a data set as a percentage of the data set. It can be used to find the relative position of a value within a data set. Generally, we use PERCENTRANK to evaluate the standing of a score among all scores for a test.

Syntax and arguments

Formula syntax

PERCENTRANK(array, x, [significance])


  • Array: Required, the array or range of numeric values that are used to defines relative standing.
  • X: Required, the value that you want to find its relative standing in the array.
  • Significance: Optional, the value that identifies the number of significant digits that the returned percentage value is rounded to. If it is omitted, PERCENTRANK function takes it as 3 digits (

Return Value

The PERCENTRANK function returns a numeric value >= 0, and <= 1.


1. If the argument x does not exist in the array, PERCENTRANK function interpolates to find the percentage rank.

2. In Excel 2010, the PERCENTRANK function has been replaced with two functions: PERCENTRANK.INC and PERCENTRANK.EXC.


1. If the x is a non-numeric value, the PERCENTRANK function returns #NAME? error value.

2. If both the argument x and array contain non-numeric values, the PERCENTRANK function returns #VALUE! error value.

3. The PERCENTRANK function returns #N/A error value, if one of the below stations occurs:

  • The array is empty;
  • The x is smaller than the smallest value in the array;
  • The x is greater than the largest value in the array.

4. If the significance < 1, the PERCENTRANK function returns #NUM! error.


Excel 2003 and later

Usage and Examples

Example 1: Basic Usage

An array in cell B4:B11, to find the relative standing of each cell value in the array, please use the below formula:


Press Enter key to get the first result, and drag autofill handle down to get all results.

doc median1

Example 2: To find the relative standing of a value not in array

An array in cell B4:B11, to find the relative standing of value 35 in cell F4, please use the below formula:




Press Enter key to get the result..

doc median1

Note: If you want to display results in percentage format, select the result cells, and click the Percent Style in Number group under Home tab.

doc median1

Relative Functions:

  • Excel MAX Function
    The Excel MAX functionreturns the largest value in the supplied set of values (ignores logical values).

  • Excel MAXA Function
    The Excel MAXA function returns the largest value in the supplied set of values.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations