# MINIFS Function

> Return the smallest value that meets one or more conditions with MINIFS in TX Sheet Control: result and criteria ranges, criteria syntax and the 0 result.

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

---

Return the smallest number among the cells that meet one or more conditions. `result_range` holds the values, and each pair of `criteria_range1` and `criteria1` sets a condition such as `">1"`, `"North"` or `"<>0"`; a value counts only when every condition is met. When no cell meets the conditions, MINIFS returns 0. A criteria range of another size than `result_range` returns `#VALUE!`.

### Syntax

```text
MINIFS(result_range, criteria_range1, criteria1)
```

Category: Conditional. Minimum arguments: 3. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=MINIFS(A1:A5,A1:A5,">1")
```

With the values 1, 5, 3, 8 and 2 in A1:A5, the formula returns 2, the smallest value greater than 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:** [MINA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mina/llms-full.txt)
- **Next:** [MINUTE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/minute/llms-full.txt)
