# PERCENTRANK.EXC Function

> Rank a value as a percentage of a data set, 0 and 1 excluded, with PERCENTRANK.EXC in TX Sheet Control: the i/(n+1) rank, significance and errors.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > PERCENTRANK.EXC Function
- **239 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/percentrank-exc/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/percentrank-exc/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/percentrank-exc/llms-full.txt

---

Return the rank of a value in a data set as a percentage of the data set, with 0 and 1 excluded. `array` holds the values and `x` is the value to rank: the i-th smallest of n values has the rank i/(n+1), and a value between two values is interpolated. `significance` is the number of digits of the result (3 when omitted), which is truncated, not rounded. An `x` outside the range of the values or a `significance` less than 1 returns `#NUM!`.

### Syntax

```text
PERCENTRANK.EXC(array, x, significance)
```

Category: Statistics. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=PERCENTRANK.EXC({1,2,3,4},2)
```

The formula returns 0.4, because 2 is the second of four values: 2/(4+1).

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [PERCENTRANK Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/percentrank/llms-full.txt)
- **Next:** [PERCENTRANK.INC Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/percentrank-inc/llms-full.txt)
