# SUMPRODUCT Function

> Multiply corresponding values of arrays and add the products with SUMPRODUCT in TX Sheet Control: array sizes, text as 0, #VALUE! and an example.

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

---

Multiply corresponding values of arrays and return the sum of the products. `array1`, `array2` and further arrays must have the same size; otherwise SUMPRODUCT returns `#VALUE!`. Values that are not numbers count as 0. With one array, SUMPRODUCT returns the sum of its values.

### Syntax

```text
SUMPRODUCT(array1, array2)
```

Category: Math. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=SUMPRODUCT({1,2},{3,4})
```

The formula returns 11, which is 1×3 + 2×4.

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:** [SUMIFS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumifs/llms-full.txt)
- **Next:** [SUMSQ Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumsq/llms-full.txt)
