SpreadJS Documentation > Formula Reference > Formula Functions > PERCENTRANK.EXC |
This function returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set.
PERCENTRANK.EXC(array,n,sigdig)
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 array is empty, this function returns the #NUM! error value. If sigdig < 1, this function returns the #NUM! error value.
Accepts numeric data for all arguments. Returns numeric data.
PERCENTRANK.EXC(A1:A12,0.95)
PERCENTRANK.EXC(R1C1:R1C45,0.866)
PERCENTRANK.EXC(A1:A17,23,3)
PERCENTRANK.EXC(R1C1:R43:C1,255.4,2)
PERCENTRANK.EXC({10,12,13,14,14,14.5,16,17.5,17.75,20,22},18,1) gives the result 0.8