Adding cells proplem

G

Guest

i had a cell (C1) called "total" that displays the sum of two other cells..
i.e. the total cell got the formula "=sum(A1+B1)" ..

I then typed a value in cell (D1). Then I tried to add C1 to D1 in the cell
E1. I used segma sign to add the two cells(C1+D1)
or I typed the formula "=sum(C1+D1)" in the cell E1. However, the cell E1
gave a "Value!" error.

I don't know why..

when I tried the same in another computer, it worked well

I wonder if there is options to make the cell E1 show the result.
 
P

Peo Sjoblom

Is there any reason you are using

=SUM(C1+D1)

and not

=SUM(C1:D1)

?

Regardless the value error happens because you use an operand ( + in this
case) and at least one of the values are text, if you use the latter formula
you won't get an error since sum ignores text but you won't get the correct
result either

Make sure both values are number by making sure both cells are formatted as
general or number and typing in the values to test.

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon
 
G

Guest

sorry. That was a typo in the messege. I ment to type "=sum(C1:D1)"

Any way, you are right.. I have to make both cells formatted as general or
number.
That was the problem.

Thank you
 

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