SUMX2MY2 (PQL - xl)

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

  • Library: PQL \ Spreadsheet \ Math & Trig
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

SUMX2MY2(array x, array y)

Function Arguments

Name

Description

Type

Optional

array x

First array of values (x’s)

StringOrNumber

array y

Second array of values (y’s)

StringOrNumber

Comments

This function is the same as the Microsoft Excel 'SUMX2MY2' function - using the same inputs, logic and outputs.