# SUMIFS Function

> Add the values that meet every condition with SUMIFS in TX Sheet Control: criteria ranges and criteria, wildcards, the #VALUE! error and an example.

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

---

Add numbers matching every condition. SUMIFS adds the cells of `sum_range` whose cells meet every condition: each `criteria_range` is tested against its `criteria`, with the same comparisons and wildcards as `SUMIF`. Every `criteria_range` must have the size of `sum_range`; otherwise SUMIFS returns `#VALUE!`.

### Syntax

```text
SUMIFS(sum_range, criteria_range1, criteria1)
```

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

Available for supported offline calculation.

### Examples

```text
=SUMIFS(B4:B6,A4:A6,"*",B4:B6,">15000")
```

The formula adds the values of B4:B6 that are greater than 15,000 and whose cell in A4:A6 holds text: `*` matches any text but no number or logical value, and in TX Sheet Control it also matches an empty cell.

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:** [SUMIF Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumif/llms-full.txt)
- **Next:** [SUMPRODUCT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumproduct/llms-full.txt)
