Forum Discussion
BilloCL
Jul 09, 2020Copper Contributor
Conditional Number Format BUG
Excel seems to disagree with the commutative property of addition. Both cells B6 and B7 have the same conditional number formatting: [Red][<1]0%;[Blue][>1]0%;0% And the same formula except for t...
- Jul 09, 2020
Congratulations. You just found out about the floating point error:
https://docs.microsoft.com/en-us/office/troubleshoot/access/floating-calculations-info
B6 has the value 0.99999999999999989.
B7 has the value 1.
SergeiBaklan
Jul 09, 2020Diamond Contributor
Looks like floating point error https://docs.microsoft.com/en-us/office/troubleshoot/excel/floating-point-arithmetic-inaccurate-result in custom format handling
- BilloCLJul 09, 2020Copper Contributor
It was. Applying ROUND() to the adding factors worked.
Thank you for your reply SergeiBaklan