# SMALL Function

> Return the k-th smallest value of a data set with the SMALL formula function of TX Sheet Control: the position k, ignored text, #NUM! and an example.

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

---

Return the k-th smallest value of a data set. `array` is the data, and `k` the position counted from the smallest value: 1 returns the minimum. A `k` of zero or less, or greater than the number of values, returns `#NUM!`. Text and logical values in a range are ignored.

### Syntax

```text
SMALL(array, k)
```

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

Available for supported offline calculation.

### Examples

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

The formula returns 3, the second smallest 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:** [SLOPE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/slope/llms-full.txt)
- **Next:** [SORT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sort/llms-full.txt)
