# LARGE Function

> Return the k-th largest value of a data set with the LARGE formula function of TX Sheet Control: arrays and ranges, the position k and the #NUM! error.

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

---

Return the k-th largest value of a data set. `array` is the array or range of numbers, and `k` the position counted from the largest value, starting at 1. A `k` of 0 or less, or greater than the number of values, returns `#NUM!`.

### Syntax

```text
LARGE(array, k)
```

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

Available for supported offline calculation.

### Examples

```text
=LARGE({1,3,5},2)
```

The formula returns 3, the second largest of 1, 3 and 5.

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:** [LAMBDA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/lambda/llms-full.txt)
- **Next:** [LCM Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/lcm/llms-full.txt)
