SUMX2PY2
Math

Returns the sum of the sum of squares of corresponding values in two arrays

Syntax:

=SUMX2PY2(array_x, array_y)

Example:

=SUMX2PY2(A1:A10, B1:B10)