Rounding Problem

  • Thread starter Thread starter Alfred Kaufmann
  • Start date Start date
A

Alfred Kaufmann

I have got a very simple accounting spreadsheet where column C is
determined by (A+B)*1.06. Cell C is formatted for dollars - two
decimal places. At the bottom of column C is a total which is usually
correct but sometimes it is out by one cent. All the calculations
across are correct. I am sure there is an easy way to fix this isn't
there? Thanks.

Al
 
did you try

=Round((A+B)*1.06,2)

will there be no problem in your accounting sheet if you do so?
 
Thanks everyone, that Round function should solve the problem. I also
discovered in the Excel Options how to set the precision to what is
displayed. Just have to ignore that terrible warning that my
spreadsheet will lose accuracy.

Al
I use Excel so often that every time I do Micsoft has a new version
;-(
 
glad it worked for your accounting sheet!<g>

Alfred Kaufmann said:
Thanks everyone, that Round function should solve the problem. I also
discovered in the Excel Options how to set the precision to what is
displayed. Just have to ignore that terrible warning that my
spreadsheet will lose accuracy.

Al
I use Excel so often that every time I do Micsoft has a new version
;-(
 
I would suggest that you NOT use the "Precision as displayed" setting. It
can cause rather odd results in calculations if various cells have a
different number of decimal places. You should use ROUND instead.

See http://www.cpearson.com/newsletter/content/2007_08_27.htm

This article illustrates a rather simple case in which you can have three
different values when summing the same numbers.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)
 
Back
Top