SUMX2MY2
sum of the difference of squares of two ranges · from excel · excel: not yet compared · sheets: not yet compared
signature
SUMX2MY2(array_x, array_y)
returns: number
| argument | required |
|---|---|
| array_x | required |
| array_y | required |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
| A | B | |
|---|---|---|
| 1 | 10 | 2 |
| 2 | 20 | 4 |
| 3 | 30 | 6 |
| 4 | 40 | 8 |
| 5 | 50 | 10 |
fx
=SUMX2MY2(A1:A10, B1:B10) 5280