Name

SUMX2MY2

Synopsis

Use SUMXWMY2 to take two arrays and add the squares and then subtract the results of the second array from the first.

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 SUMX2MY2 is used to find the result of adding the squares of array 1 and array 2 and then subtracting array 2 from array 1.

Summing Arrays

The arrays specified by the Array_X and Array_Y arguments must be the same size.

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.