SUMX2PY2 Function
Return the sum of the sums of the squares of corresponding values in two arrays. For each pair of values, SUMX2PY2 adds the square of the value in array1 and the square of the value in array2, and adds these sums. Arrays of different sizes return #VALUE!.
Syntax
SUMX2PY2(array1, array2)
Category: Math. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=SUMX2PY2({1,2},{3,4})
The formula returns 30, which is (1² + 3²) + (2² + 4²).
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.