TX Sheet Control

PERCENTRANK Function

Function

Return the rank of a value in a data set as a percentage of the data set, from 0 to 1. array holds the values and x is the value to rank; a value between two values of the data set is interpolated. significance is the number of digits of the result (3 when omitted); the result is truncated, not rounded, so PERCENTRANK({1,2,3,4},3) returns 0.666. An x outside the range of the values or a significance less than 1 returns #NUM!. PERCENTRANK calculates the same as PERCENTRANK.INC.

Syntax

PERCENTRANK(array, x, significance)

Category: Statistics. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=PERCENTRANK({1,2,3,4},2)

The formula returns 0.333: one of the three other values is less than 2.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also