Note: The other languages of the website are Google-translated. Back to English

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

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL