Syntax
=SUMX2MY2(array_x, array_y)Arguments
| Argument | Required | Description |
|---|---|---|
array_x | Required | The first range or array |
array_y | Required | The second range or array |
How to use SUMX2MY2
SUMX2MY2 takes 2 required arguments. Type =SUMX2MY2( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=SUMX2MY2({2,3,9,1,8,7,5}, {6,5,11,7,5,4,4})Result Related math functions
- SUMIFAdds the cells that meet a condition.
- SUMIFSAdds the cells that meet all of several conditions.
- SUMPRODUCTMultiplies matching items of arrays or ranges and returns the sum of those products.
- SUMSQReturns the sum of the squares of the numbers.
- SUMX2PY2Returns the sum of the sums of the squares of matching values in two arrays.
- SUMXMY2Returns the sum of the squares of the differences of matching values in two arrays.
- TANReturns the tangent of an angle given in radians.
- TANHReturns the hyperbolic tangent of a number.
- TRUNCCuts a number down to a given number of digits by removing the rest.