PERCENTRANK function
Returns the rank of a value in a data set as a percentage 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 to evaluate the standing of an aptitude test score among all scores for the test.
Important This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.
For more information about the new functions, see PERCENTRANK.EXC function and PERCENTRANK.INC function.
Syntax
PERCENTRANK(array,x,[significance])
The PERCENTRANK function syntax has the following arguments:

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 uses three digits (0.xxx).
Remarks

If array is empty, PERCENTRANK returns the #NUM! error value.

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

If x does not match one of the values in array, PERCENTRANK interpolates to return the correct percentage rank.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How do I copy an example?

Select the example in this article.
Important Do not select the row or column headers.
Selecting an example from Help

Press CTRL+C.

In Excel, create a blank workbook or worksheet.

In the worksheet, select cell A1, and press CTRL+V.
Important For the example to work properly, you must paste it into cell A1 of the worksheet.

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.


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