Name

SUMXMY2

Synopsis

Use SUMXMY2 to take two arrays and subtract the corresponding elements and then add the squares of the differences.

To Calculate

=SUMX2MY2(Array_X, Array_Y)

Both arguments must be specified for this function.

Array_X, Array_Y

Both arguments must specify arrays of numeric values.

Example

Figure 14-25 illustrates how SUMXMY2 is used to subtract the corresponding elements in Array 1 and Array 2 and add the squares of the differences.

Get Excel 2000 in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.