Difference between revisions of "Manuals/calci/SUMX2MY2"

From ZCubes Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div style="font-size:30px">'''SUMX2MY2(x,y)'''</div><br/>
 
<div style="font-size:30px">'''SUMX2MY2(x,y)'''</div><br/>
 
*<math> x </math> and <math> y </math>  are the array of values.
 
*<math> x </math> and <math> y </math>  are the array of values.
 
  
 
==Description==
 
==Description==
 
*This function gives the sum of the difference of squares of corresponding values in <math> x </math> and  <math> y </math>.  
 
*This function gives the sum of the difference of squares of corresponding values in <math> x </math> and  <math> y </math>.  
*In <math> SUMX2MY2(x,y), x </math> is the first array of real values and <math> y </math> is the second array of real values.
+
*In <math> SUMX2MY2(x,y)</math>, <math>x</math> is the first array of real values and <math> y </math> is the second array of real values.
*This  function is defined by  <math> SUMX2MY2= \sum (x^2-y^2).  
+
*This  function is defined by: <math> SUMX2MY2= \sum (x^2-y^2) </math>.  
 
*The arguments can be be either numbers or names, array,constants or references that contain numbers.  
 
*The arguments can be be either numbers or names, array,constants or references that contain numbers.  
 
*Suppose the array contains text,logical values or empty cells, like that values are not considered.  
 
*Suppose the array contains text,logical values or empty cells, like that values are not considered.  
 
*This function will give the result as error when  
 
*This function will give the result as error when  
         1. Any one of the argument is nonnumeric or not a real number.
+
         1. Any one of the argument is non-numeric or not a real number.
 
         2. The arguments containing the error values or text that cannot be translated in to numbers.
 
         2. The arguments containing the error values or text that cannot be translated in to numbers.
         3. x and y are having different number of values.
+
         3. <math>x</math> and <math>y</math> are having different number of values.
 +
 
 +
==Examples==
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C !! D
 +
|-
 +
! 1
 +
| 29 || 71 || 10 ||16
 +
|-
 +
! 2
 +
| 16 || 50 || 8 || 14
 +
|}
 +
 
 +
=SUMX2MY2(A1:D1,A2:D2) = 3222
 +
 
 +
 
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C !! D !! E
 +
|-
 +
! 1
 +
| 45 || -12 || 14 || -7 || 23.3
 +
|-
 +
! 2
 +
| -18 || 41.7 || -20 || 34 || 10
 +
|}
  
 +
=SUMX2MY2(A1:E1,A2:E2) = -762.0000000000003
  
==Examples==
+
==Related Videos==
x={29,71,10,16}
 
y={16,50,8,14}
 
SUMX2MY2(B1:B4,C1:C4) = null
 
  
 +
{{#ev:youtube|rwsX1KVhEnU|280|center|SUMPRODUCT}}
  
 
==See Also==
 
==See Also==
Line 25: Line 51:
 
*[[Manuals/calci/SUMXMY2  | SUMXMY2 ]]
 
*[[Manuals/calci/SUMXMY2  | SUMXMY2 ]]
 
*[[Manuals/calci/SUMPRODUCT  | SUMPRODUCT ]]
 
*[[Manuals/calci/SUMPRODUCT  | SUMPRODUCT ]]
 
  
 
==References==
 
==References==
 +
*[http://www.techonthenet.com/excel/formulas/sumx2my2.php Sum of Difference of Squares]

Latest revision as of 15:10, 26 June 2015

SUMX2MY2(x,y)


  • and are the array of values.

Description

  • This function gives the sum of the difference of squares of corresponding values in and .
  • In , is the first array of real values and is the second array of real values.
  • This function is defined by: .
  • The arguments can be be either numbers or names, array,constants or references that contain numbers.
  • Suppose the array contains text,logical values or empty cells, like that values are not considered.
  • This function will give the result as error when
       1. Any one of the argument is non-numeric or not a real number.
       2. The arguments containing the error values or text that cannot be translated in to numbers.
       3.  and  are having different number of values.

Examples

Spreadsheet
A B C D
1 29 71 10 16
2 16 50 8 14

=SUMX2MY2(A1:D1,A2:D2) = 3222


Spreadsheet
A B C D E
1 45 -12 14 -7 23.3
2 -18 41.7 -20 34 10

=SUMX2MY2(A1:E1,A2:E2) = -762.0000000000003

Related Videos

SUMPRODUCT

See Also

References