LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mtheo
 
Posts: n/a
Default Rounding Error when adding or subtracting two cells

Hi all,

this comment refers to a rounding error I just happened to encounter.
Try adding the following two numbers: 109563.24 and -105537.00. This should
normally give you 4026.24 (and it does!!!).

However if you display more decimals for the amount you will notice that the
11th decimal is wrong (it has a value of 1 instead of 0). Big deal one might
say.

However if you try to use this value in an IF function (e.g. IF Cell =
4026.24) this will return FALSE. Has anyone else noticed any similar cases?
Is this a known Excel bug? Note that the same has been observed both in Excel
XP and Excel 2003.

A similar error has also been observed when adding the following pairs of
numbers:

109441.87 and -105282.58
111058.21 and -105351.20
110761.07 and -105388.00
10669408 and -105943.00

There seems to be a pattern that this happens when we add (subtract) numbers
that are in this range (although I have not proven it or investigated any
further).

Any comments?
Markos

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cells adding problem Bentley New Users to Excel 3 December 31st 05 07:04 PM
formula adding cells in worksheets when # of sheets in work book changes klatimer Excel Discussion (Misc queries) 0 December 14th 05 05:53 PM
Adding zero's to a group of cells Desiree Excel Discussion (Misc queries) 5 July 29th 05 07:07 PM
adding the same prefix or suffix to a range of cells Betty Turvy Excel Discussion (Misc queries) 5 July 12th 05 05:13 PM
when adding cells resulting from tax calulations they do not equa. Marty Excel Discussion (Misc queries) 1 March 14th 05 02:38 PM


All times are GMT +1. The time now is 11:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"