English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How to I sum the squares of many cells: Without having to make an extra column of squares .. in excel?

Can you make your own function in Excel?

2007-03-14 03:37:52 · 8 answers · asked by Appel 2 in Computers & Internet Software

it is actaully: y = sum( (a-x1)^2+(a-x2)^2+ ... +(a-xn)^2)

I need the sum of the squares

2007-03-14 03:44:16 · update #1

8 answers

The SUM family functions are here
SUM
SUMPRODUCT
SUMSQ
SUMX2MY2
SUMX2PY2
SUMXMY2

Type any of those in the formula bar after the equal sign, the press the fx symbol and read the help

If none of them helped you, then I guess you will need that additional column to add, or do it in macro

Enjoy my profile, I am the VBAXLMan

2007-03-14 23:22:08 · answer #1 · answered by Anonymous · 0 0

Sum Of X 2

2016-11-13 04:43:47 · answer #2 · answered by ? 4 · 0 0

Sum Of Squares In Excel

2016-12-26 15:21:33 · answer #3 · answered by stanberry 4 · 0 0

Hi

Yes you can write your own functions in excel. You would ned to write some vba code to loop through the values of x(n) and multiply them by themselves whilst adding to a running total.

Its been a while since I did any vba in excel otherwise I would write some code to help you but I hope this has given you a starting point.

2007-03-14 03:45:05 · answer #4 · answered by jools 3 · 0 1

There is a command in functions of excel: "Sum Square"
Search for "sum square", "ssquare" or "ss"

2007-03-14 03:52:45 · answer #5 · answered by blgsyr 3 · 0 1

please... before everything that video replaced into uploaded in mid 2007. on a similar time as I relish that Obama is in some techniques NAFTA friendly, have confidence me as quickly as I say that each and each American baby-kisser is conscious that it can be a actual impossiblity to connect the economies of the U.S. and Mexico i ought to pass on correct to the economic and political changes and how stuff like this video is trash, yet I merely don't have the ability. and people say Obama is into concern-mongering....

2016-12-14 18:51:13 · answer #6 · answered by ? 4 · 0 0

To sum the squares of A1 through A30, use:

=SUMSQ(A1:A30)

2007-03-14 05:01:01 · answer #7 · answered by nospamcwt 5 · 0 1

=sum(the top square:the bottom square)

example:
=sum(a4:a9)

2007-03-14 03:42:12 · answer #8 · answered by chef_05_85 2 · 0 1

fedest.com, questions and answers