Math and Trignometric - SUMXMY2 Function



Description

The SUMXMY2 function returns the sum of squares of differences of corresponding values in two arrays.

Syntax

SUMXMY2 (array_x, array_y)

Arguments

Argument Description Required/Optional
Array_x The first array or range of values. Required
Array_y The second array or range of values. Required

Notes

  • The arguments should be either numbers or names, arrays, or references that contain numbers.

  • If an array or reference argument contains text, logical values, or empty cells, those values are ignored. However, cells with the value zero are included.

  • If array_x and array_y have a different number of values, SUMXMY2 returns the #N/A error value.

  • The equation for the sum of squared differences is −

    $$SUMXMY2 = \sum \left ( x-y \right )^2$$

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

SUMXMY2 Function
advanced_excel_math_trigonometric_functions.htm
Advertisements