SUM function???

G

Guest

This is a new one.

Using the SUM function in XL 2003 to sum up a series of cells:
=SUM(G10+G16+G37+G52+G127+G156+G178)

All of these cells have values in them, which are themselves sums of other
ranges. All cells in this formula are themselves calculating correctly,
however, this formula is resolving to 0 (all calculations in the cells above
are positive, so 0 is mathematically impossible.)

Calculation is set to automatic, there are no links to external web sites
and the cells referenced above, are formatted as currency.

Thoughts?
 
G

Guest

Well I just managed to figure this one out. One of the cells referenced
below was itself included in the range it summed, creating a circular
reference. So XL couldn't sum it apparently.

Dave
 
B

Bernard Liengme

So tell why you used =SUM(G10+G16+G37+G52+G127+G156+G178)
rather than =G10+G16+G37+G52+G127+G156+G178

I know they are only equivalent if all cells contain numeric values.
 
G

Guest

No reason why I use =SUM(G10+...+G178)

It gives the same answer as what you have below.

Dave
 
D

Dave Peterson

I think most people who use =sum(), use a comma to separate the arguments:

=sum(g10,g16,g37)
or drop the sum and use
=g10+g16+g37

But wrapping g10+g16+g37 with =sum() doesn't do anything helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top