SUMX2PY2 function
the sum of the sum of squares of corresponding values in two arrays.
Math and trigonometry
Where can you use it?
Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.
Scenario in the workbook
Add the sum of squares for each pair of readings.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input reading | Output reading |
| 7 | 1 | 2 |
| 8 | 2 | 4 |
| 9 | 3 | 6 |
Record 1
=SUMX2PY2(A7:A9,B7:B9)Expected result70
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=SUMX2PY2(A7:A9,B7:B9)Turkish Excel · tr-TR
=TOPX2AY2(A7:A9;B7:B9)Worked examples
Add the sum of squares for each pair of readings.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B |
|---|---|---|
| 6 | Input reading | Output reading |
| 7 | 1 | 2 |
| 8 | 2 | 4 |
| 9 | 3 | 6 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =SUMX2PY2(A7:A9,B7:B9) |
70 |
| Record 2 | =SUMX2PY2(A7:A8,B7:B8) |
25 |
| Record 3 | =SUMX2PY2(A8:A9,B8:B9) |
65 |