SUMX2MY2

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

Syntax

SUMX2MY2(array_x,array_y)

Array_x   is the first array or range of values.

Array_y   is the second array or range of values.

Remarks

Example

SUMX2MY2({2, 3, 9, 1, 8, 7, 5}, {6, 5, 11, 7, 5, 4, 4}) equals -55