Syntax
| Parameter | Description |
|---|---|
| array_x | Parameter of the SUMX2MY2 function. |
| array_y | Parameter of the SUMX2MY2 function. |
Examples
Paired measurement comparison
=SUMX2MY2(A2:A4, B2:B4)
Before vs after analysis
=SUMX2MY2(C2:C6, D2:D6)
Two-column data
=SUMX2MY2({10,20,30}, {5,15,25})
Common Errors
The two arrays must have the same number of elements. If A2:A4 has 3 values but B2:B5 has 4, you get #N/A.
Non-numeric entries in either array cause this error. Text or blank cells in the ranges will fail.
Tips
Remember that x²−y² = (x+y)(x−y). This formula effectively sums those products across paired data.
Both arrays must be the same length. If your data has gaps, clean it first or use helper columns to align the pairs.
Use SUMX2MY2 alongside SUMX2PY2 to get both the sum of differences and sum of totals of squares for a complete paired analysis.
Try SUMX2MY2 in Viztab
Import your data and use SUMX2MY2 with 370+ other formulas. No signup required.
Open Viztab