# SUMXMY2

math · from excel · excel: not yet compared · sheets: not yet compared

sum of squared differences of two ranges

## signature

```
SUMXMY2(array_x, array_y)
```

returns: `number`

## arguments

- array_x: range — required
- array_y: range — required

## examples

formula and result, asserted in the engine test suite.

| formula | result | with |
| --- | --- | --- |
| `=SUMXMY2(A1:A10, B1:B10)` | `3520` | A1=10, A2=20, A3=30, A4=40, A5=50, B1=2, B2=4, B3=6, B4=8, B5=10 |

## related

- [ABS](https://deepcalc.com/functions/abs.md) — returns absolute value of a number
- [ACOS](https://deepcalc.com/functions/acos.md) — returns arccosine of a number
- [ACOSH](https://deepcalc.com/functions/acosh.md) — returns inverse hyperbolic cosine
- [ACOT](https://deepcalc.com/functions/acot.md) — returns the arccotangent of a number
- [ACOTH](https://deepcalc.com/functions/acoth.md) — returns the inverse hyperbolic cotangent
- [ADD](https://deepcalc.com/functions/add.md) — adds two numbers — sheets exposes the + operator as a function
- [AGGREGATE](https://deepcalc.com/functions/aggregate.md) — aggregates a range with a chosen function, optionally ignoring error values
- [ARABIC](https://deepcalc.com/functions/arabic.md) — converts roman numeral to arabic number

## navigate

- [all math functions](https://deepcalc.com/functions/math-functions.md)
- [function index](https://deepcalc.com/functions.md) — all 600 functions
- [error values](https://deepcalc.com/errors.md) · [concepts](https://deepcalc.com/concepts.md) · [limits](https://deepcalc.com/limits.md)
- [everything in one file](https://deepcalc.com/llms-full.txt)

source: https://deepcalc.com/functions/sumxmy2