SpreadJS Documentation
PERCENTRANK.INC
SpreadJS Documentation > Formula Reference > Formula Functions > PERCENTRANK.INC

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

Syntax

PERCENTRANK.INC(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 uses three significant digits; if not an integer, number is truncated

Data Types

Accepts numeric data for all arguments. Returns numeric data.

Examples

PERCENTRANK.INC(A1:A12,0.95)

PERCENTRANK.INC(R1C1:R1C45,0.866)

PERCENTRANK.INC(A1:A17,23,3)

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

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

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