# PERCENTRANK.EXC function

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

## Syntax

`PERCENTRANK.EXC(array,x,[significance])`

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

## Remarks

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

## Example

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

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

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 Web App, 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.

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

A B
1
2
3
6
6
6
7
8
9
Formula Description (Result)
=PERCENTRANK(A1:A9, 9) 1
=PERCENTRANK.EXC(A1:A9, 9) 0.9
=PERCENTRANK(A1:A9,6) 0.375
=PERCENTRANK.EXC(A1:A9,6) 0.4

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