- May 16, 2002
- 13,357
- 7
- 81
Through several versions Excel STILL does bad math with the basic SUM function. In my one spreadsheet I have 1,554.93 - 1,154.66 so it should equal 400.27. But no, Excel makes it equal to 400.2699999999990 instead.
It does this randomly throughout my worksheet. Far to the right of the decimal it will occasionally screw up. Then further down the sheet it randomly corrects itself. And it isn't just this one spreadsheet, I created a whole new one (one per year) and it still does it.
I only really care about the first two decimal places as this is dealing with money, and it is accurate "enough" for this, but the annoying thing is the one column that should always be 0.00 (for cross-checking purposes) ends up having random locations highlighted red, indicating a negative number. Because, in reality according to it, it is -0.0000000000009663 which again is bad math x2.
You'd think that Microsoft could at least make Excel able to do basic math. It really does make me wonder how inaccurate the numbers are that it spits out when dealing with more complex stuff!
/rant
It does this randomly throughout my worksheet. Far to the right of the decimal it will occasionally screw up. Then further down the sheet it randomly corrects itself. And it isn't just this one spreadsheet, I created a whole new one (one per year) and it still does it.
I only really care about the first two decimal places as this is dealing with money, and it is accurate "enough" for this, but the annoying thing is the one column that should always be 0.00 (for cross-checking purposes) ends up having random locations highlighted red, indicating a negative number. Because, in reality according to it, it is -0.0000000000009663 which again is bad math x2.
You'd think that Microsoft could at least make Excel able to do basic math. It really does make me wonder how inaccurate the numbers are that it spits out when dealing with more complex stuff!
/rant