B
BEETHOVEN
A1 is 0.69
A2 is 0.64
A3 is =A1-A2
A4 is 0.05
A5 is =IF(A4=A3,"Yes","No")
In A5 you should get "Yes" but I get "No". I get "No" for the
following as well in A1 and A2:
A1 is 0.70 A1 is 0.71 A1 is 0.72 A1 is 0.73
A2 is 0.65 A2 is 0.66 A2 is 0.67 A2 is 0.68
I get "Yes" for the following in A1 and A2:
A1 is 0.67 A1 is 0.68 A1 is 0.74 A1 is 0.75
A2 is 0.62 A2 is 0.63 A2 is 0.69 A2 is 0.70
If you take the number in A3 to 16 decimal places or more you can see
that 0.05 becomes 0.0499999999999999 which which makes the formula in
A5 to state "No".
My best response from our Help Desk was:
This is occurring because of the way the numbers are calculated
between binary and decimal. This is a programming issue with Excel,
aside from notifying Microsoft about this bug in order for them to
include it in an update, there is nothing that I can do.
Thanks for any help
Gary 11-14-2007
A2 is 0.64
A3 is =A1-A2
A4 is 0.05
A5 is =IF(A4=A3,"Yes","No")
In A5 you should get "Yes" but I get "No". I get "No" for the
following as well in A1 and A2:
A1 is 0.70 A1 is 0.71 A1 is 0.72 A1 is 0.73
A2 is 0.65 A2 is 0.66 A2 is 0.67 A2 is 0.68
I get "Yes" for the following in A1 and A2:
A1 is 0.67 A1 is 0.68 A1 is 0.74 A1 is 0.75
A2 is 0.62 A2 is 0.63 A2 is 0.69 A2 is 0.70
If you take the number in A3 to 16 decimal places or more you can see
that 0.05 becomes 0.0499999999999999 which which makes the formula in
A5 to state "No".
My best response from our Help Desk was:
This is occurring because of the way the numbers are calculated
between binary and decimal. This is a programming issue with Excel,
aside from notifying Microsoft about this bug in order for them to
include it in an update, there is nothing that I can do.
Thanks for any help
Gary 11-14-2007