PERCENTRANK.INC function

Returns the rank of a value in a data set as a percentage (0..1, inclusive) of the data set.

This function can be used to evaluate the relative standing of a value within a data set. For example, you can use PERCENTRANK.INC to evaluate the standing of an aptitude test score among all scores for the test.

Syntax

PERCENTRANK.INC(array,x,[significance])

The PERCENTRANK.INC function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.):

  • Array     Required. The array or range of data with numeric values that defines relative standing.
  • X     Required. The value for which you want to know the rank.
  • Significance     Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.INC uses three digits (0.xxx).

Remarks

  • If array is empty, PERCENTRANK.INC returns the #NUM! error value.
  • If significance < 1, PERCENTRANK.INC returns the #NUM! error value.
  • If x does not match one of the values in array, PERCENTRANK.INC interpolates to return the correct percentage rank.

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow do I copy an example?

  1. Select the example in this article. If you are copying the example in Excel Online, copy and paste one cell at a time.
    Important: Do not select the row or column headers.

Selecting an example from Help

Selecting an example from Help

  1. Press CTRL+C.
  2. Create a blank workbook or worksheet.
  3. In the worksheet, select cell A1, and press CTRL+V. If you are working in Excel Online, repeat copying and pasting for each cell in the example.
    Important: For the example to work properly, you must paste it into cell A1 of the worksheet.
  4. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

 
1
2
3
4
5
6
7
8
9
10
11
12


13

14

15



16
A
Data
13
12
11
8
4
3
2
1
1
1
Formula Description (Result)
=PERCENTRANK.INC(A2:A11,2) Percent rank of 2 in the list above (0.333, because 3 values in the set are smaller than 2, and 6 are larger than 2; 3/(3+6)=0.333)
=PERCENTRANK.INC(A2:A11,4) Percent rank of 4 in the list above (0.555)
=PERCENTRANK.INC(A2:A11,8) Percent rank of 8 in the list above (0.666)
=PERCENTRANK.INC(A2:A11,5) Percent rank of 5 in the list above (0.583, one-quarter of the way between the PERCENTRANK.INC of 4 and the PERCENTRANK.INC of 8)

 Note   To view the number as a percentage, select the cell, and then on the Home tab, in the Number group, click Percent Style Button image.

 
 
Applies to:
Excel 2010, Excel Web App, SharePoint Online for enterprises, SharePoint Online for professionals and small businesses