SpreadJS Documentation
SUMX2MY2
SpreadJS Documentation > Formula Reference > Formula Functions > SUMX2MY2

This function returns the sum of the difference of the squares of corresponding values in two arrays.

Syntax

SUMX2MY2(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

SUMX2MY2(A1:A17,B1:B17)

See Also