SpreadJS Documentation
SUMXMY2
SpreadJS Documentation > Formula Reference > Formula Functions > SUMXMY2

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 First array of values (x’s)
array_y Second array of values (y’s)

The arrays must be the same size.

Data Types

Accepts numeric data for all arguments. Returns numeric data.

Examples

SUMXMY2(A1:A17,B1:B17)

See Also