Excel SUMX2PY2 function
The SUMX2PY2 function returns the sum of squares of corresponding values in two given arrays.
Syntax
SUMX2PY2(array_x, array_y)
Arguments
- Array_x (required): The first array or range of values used in the calculation;
- Array_y (required): The second array or range of values used in the calculation.
Remarks
Return value
It returns a numeric value.
Example
As shown in the screenshot below, to get the sum of squares of array1 and array2, you can easily apply the SUMX2PY2 function to handle it.
1. Select a blank cell, copy or enter the formula below and press the Enter key to get the result.
=SUMX2PY2(B6:B12,C6:C12)
Notes:
=(1^2+3^2)+(2^2+4^2)+(3^2+6^2)+(5^2+9^2)+(9^2+3^2)+(8^2+8^2)+(8^2+5^2)
=SUMX2PY2({1,2,3,5,9,8,8},{3,4,6,9,3,8,5})
Related Functions
Excel SUMX2MY2 function
The SUMX2MY2 function returns the sum of the difference of squares of corresponding values in two given arrays.
Excel SUMXMY2 function
The SUMXMY2 function returns the sum of squares of the differences of corresponding values in two given arrays.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.