# SUMXMY2

## Content

This function returns the sum of the square of the differences of corresponding values in two arrays.

## Syntax

`SUMXMY2(array_x, array_y)`

## Arguments

This function has these arguments:

| Argument | Description |
| -------- | ----------- |
| *array\_x* | [Required] First array of values (x’s) |
| *array\_y* | [Required] Second array of values (y’s) |

The arrays must be the same size.

## Examples

`SUMXMY2(A1:A17,B1:B17)`