P
Paul Dunmore
Using Excel 2003 SP3 in XP Professional SP 3.
In cell A1, enter 2. In A2, enter =-A1^2; the result displays as 4 instead
of the correct -4. In A3, enter =0-A1^2; the result is -4, which is correct.
In A4, enter =SQRT(A2); the result is 2 rather than #NUM!, showing that the
error is in the cell value, not its display. In A5, enter =-A1; the result is
-2, showing that the error does not occur with every unary minus.
Similar errors arise in other contexts, such as EXP(-A1^2).
This is clearly a very serious calculation error, because serious people
rely on Excel's arithmetic, but I don't know if MS has fixed it in later
releases. Can anyone with Excel 2007 or the pre-release 2010 (and perhaps
other operating systems) confirm whether or not the error is still present?
In cell A1, enter 2. In A2, enter =-A1^2; the result displays as 4 instead
of the correct -4. In A3, enter =0-A1^2; the result is -4, which is correct.
In A4, enter =SQRT(A2); the result is 2 rather than #NUM!, showing that the
error is in the cell value, not its display. In A5, enter =-A1; the result is
-2, showing that the error does not occur with every unary minus.
Similar errors arise in other contexts, such as EXP(-A1^2).
This is clearly a very serious calculation error, because serious people
rely on Excel's arithmetic, but I don't know if MS has fixed it in later
releases. Can anyone with Excel 2007 or the pre-release 2010 (and perhaps
other operating systems) confirm whether or not the error is still present?