Formula working intermittently

paquirl

Board Regular
Joined
Oct 12, 2010
Messages
226
Office Version
  1. 2016
Platform
  1. Windows
I've never seen anything like this. I am using =IF(B1>A1,"greater","") and it works sometimes and other times the opposite it is supposed to do, or maybe not at all. Both columns formatted as number. I really want to flag when a value is greater or equal, but that version of the formula has even more failures. Any ideas?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Are any of your cells text or errors rather than numbers?

To test put
Excel Formula:
=ISNUMBER(B1)
in the first row of a spare column and
Excel Formula:
=ISNUMBER(A1)
in the first row of another spare column, then drag both formulas down... they should all return TRUE

Both columns formatted as number.
It doesn't matter what they are formatted as, it is the underlying value that counts
 
Upvote 1
IIRC, applying a format when the cells already have data in them does not always work. It looks like a duck, the formatting dialog says it's a duck but when you try to work with it, it barks. I'd try formatting a new column then pasting the values in. Seems to me that in reality your data is being regarded as text.
 
Upvote 1
i think you guys are correct, one of the columns comes up false when doing the =isnumber test
 
Upvote 0
Select the column Click Data, Text to Columns, Next, Check no checkboxes are checked, click Finish.
Have the ISNUMBER formula's changed to TRUE?
 
Upvote 0
Solution
Good, hopefully your other formula works correctly now
 
Upvote 0

Forum statistics

Threads
1,215,105
Messages
6,123,114
Members
449,096
Latest member
provoking

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