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:

• 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

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

 Data 1 2 3 6 6 6 7 8 9 Formula Description R esult =PERCENTRANK.EXC(A2:A10, 7) Returns the rank of the value 7 from the array contained in A2:A10. 0.7 =PERCENTRANK.EXC(A2:A10,5.43) Returns the rank of the value 5.43 in the same array. 0.381 =PERCENTRANK.EXC(A2:A10,5.43,1) Returns the rank of the value 5.43 in the same array, displaying only 1 significant digit in the result (the default is 3). 0.3