Casting Error Check - returning false when it should be true

Mtyler

Board Regular
Joined
Oct 13, 2006
Messages
62
Hi

I'm using some simple true/false checks to ensure that items are casting/adding properly in my spreadsheets, eg =P49=P50 (true when total casts correctly, false when not).

However it is giving me an answer of false, when it appears it should be true. In the above example, =P49-P50 gives me 0. And this is actually zero (formatted as "-") rather than 0.0000001. Yet my error checking formula still gives me a FALSE outcome.

I've had this problem before and have never been able to get to the bottom of it - just wondering whether this is an Excel 2003 bug?

Thanks

Matt
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
as far as I know 0 is different for 0.0000001. it might cause you to get false because they are not really equal..
or if it is somehting else maybe you could give more clear example to be checked
Thanks
 
Upvote 0
Villy - that's my point. My variance is actually 0.0 (recurring) rather than 0.00001. I've based that conclusion on the formatting options (+ve;-ve;zero), and it's returning the format for zero.
 
Upvote 0
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

We've detected that you are using an adblocker.

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.
Go back
Back
Top