Skip to main content
← All functions

SUMXMY2 function

Returns the sum of squares of differences of corresponding values in two arrays

Syntax

SUMXMY2(array_x, array_y)

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
array_xYesThe first array or range of values.A2:A8
array_yYesThe second array or range of values.B2:B8

Try SUMXMY2

Squared paired differences

=SUMXMY2({1;2},{2;3})

(1-2)^2 + (2-3)^2 = 2.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

SUMXMY2 · top-level call

=SUMXMY2({1;2},{2;3})

1 / 2 · array_x

The first array or range of values.

SUMXMY2 reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Practice a complete task

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.