PERCENTRANK
The PERCENTRANK function returns the rank of a value in a set as a percentage of the set.
PERCENTRANK(value-set, value, significance)
value-set: A collection that must contain number values, date/time values or duration values. All values must be of the same value type.
value: The single number value, date/time value or duration value to be ranked. value must be of the same value type as the values contained in value-set.
significance: An optional number value specifying the number of digits to the right of the decimal point. significance must be greater than or equal to 1. If omitted, a default value of 3 is used (x.xxx%).
Notes
PERCENTRANK can be used to evaluate the relative standing of a value within a collection. It is calculated by determining where in the collection a specified number falls. For example, if in a given collection, there are ten values smaller than a specified number and ten values that are larger, the PERCENTRANK of the specified number is 50%.
Example |
---|
Suppose cells B2 to J2 contain the values 5, 6, 9, 3, 7, 11, 8, 2 and 14, respectively. The rank of the number 10 can be found with the formula: =PERCENTRANK(B2:J2, 10) returns approximately 0.813 because there are seven values smaller than 10 and only two that are larger. |