Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Positive and Negative Numbers not Summing Correctly

Status
Not open for further replies.

TulsaJeff

Programmer
Jan 29, 2001
870
US
I have a column of numbers in Excel...some positive some negative. I just realized they are not summing right. If I remove all of the numbers except two where one is -1200 and the other one is 1200 it sums them as 1200 when in reality it is 0. Is there something I can do to get past this problem?I am using Microsoft Excel 2002 by the way.

Regards,
TulsaJeff

cd_tektips.gif
 
Make sure the entire column is formated as a number.
 
Just formatting the column will not do the trick. If the data is already set to text in some of the cells, then it needs to be coerced back to numeric. Format the cells as numbver as suggested, but then copy an empty cell, select your range of numbers and do Edit / Paste Special / Add.

This should fix the problem.

Regards
Ken...............

----------------------------------------------------------------------------
Attitude - A little thing that makes a BIG difference
----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top