# PERCENTRANK

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



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

## Version Available

This function is available in product version 1.0 or later.

## See Also

[PERCENTILE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionPERCENTILE) \| [Statistical Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsstats)