## Excel PERCENTRANK Function

### Description

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])

Arguments

 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 (0.xxx).

Return Value

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

Remark

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.

Error

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.

Version

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:

=PERCENTRANK(\$B\$4:\$B\$11,B4)

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

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:

=PERCENTRANK(\$B\$4:\$B\$11,B4)

Or

=PERCENTRANK(\$B\$4:\$B\$11,35)

Press Enter key to get the result..

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.

#### 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

 ðŸ¤– Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functionsâ€¦ Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### 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.