Spread WPF Documentation
PERCENTRANK
Spread WPF Documentation > Formula Reference > Formula Functions > PERCENTRANK

Summary

This function returns the rank of a value in a data set as a percentage of the data set.

Syntax

PERCENTRANK(array,n,sigdig)

Arguments

This function has these arguments:

Argument Description
array Array of data with numeric values that defines the relative ranking
n Value for which you want to find the rank in percentage
sigdig [Optional] Number of significant digits for the ranked percentage value; if omitted, the calculation used three significant digits; if not an integer, number is truncated

Data Types

Accepts numeric data for all arguments. Returns numeric data.

Examples

PERCENTRANK(A1:A12,0.95)

PERCENTRANK(R1C1:R1C45,0.866)

PERCENTRANK(A1:A17,23,3)

PERCENTRANK(R1C1:R43:C1,255.4,2)

PERCENTRANK({10,12,13,14,14,14.5,16,17.5,17.75,20,22},18,4) gives the result 0.8111

PERCENTRANK({10,12,13,14,14,14.5,16,17.5,17.75,20,22},18,1) gives the result 0.8

See Also