# SUMX2MY2 Function

> Return the sum of the differences of squares of two arrays with SUMX2MY2 in TX Sheet Control: how pairs are calculated, #VALUE! and a worked example.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumx2my2/#syntax)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumx2my2/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumx2my2/#see-also)

---

## Nearby

- **Previous:** [SUMSQ Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumsq/llms.txt)
- **Next:** [SUMX2PY2 Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sumx2py2/llms.txt)
