Rounding numbers then doing a sum of those numbers produces incorrect result.

G

GzusRox

I have a row of numbers that gets calculated from two other rows. I
formatted this row as a number with two decimal places. I then take that row
of numbers and do a sum on it but it produces a result that is one cent off
the actual total (because I think it is adding the whole number and not the
rounded format that I chose). Is there anyway to fix this?

Thanks
 
J

jaf

Hi,
Formatting does not change the underlying value. It only changes the
appearance.
Tools>option>calculation> workbook options, check "precision as displayed".
 
J

Jerry W. Lewis

You will get a more accurate sum if you don't round, e.g.
1/3 + 1/3 + 1/3 = 1
vs.
.33 + .33 + .33 = 0.99

Jerry
 

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