It does day "=(1700-626.59)" minus the quotes of course.
If B6 is treated as text we see excel #VALUE! errors as a result of trying to compare to value in C6 as requested by formula in D6.
Thanks, I can get it to work.
The issue appeared in a home accounting sheet.
Other values appearing in the sheet seemed to be fine. This one in particular always showed ERROR.
I don't understand why but would like to be enlightened if possible.
You're doing math on decimal values and then comparing the results. You should never do that. That's why they are not equal. Internally, the computer sees 1073.409999999 or something like that. To see if two decimal numbers are equal, you should round them first or see if the difference between them is less than, say, 0.0001, like this:
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.