I'm trying to make a conditional statement that will Add its own text if the conditions are met. Can some one review it and tell me why they think its not working?
=IF(AND(ISBLANK($B9),(NOT($W9=0))),OFF,,)
I'm trying to make a conditional statement that will Add its own text if the conditions are met. Can some one review it and tell me why they think its not working?
=IF(AND(ISBLANK($B9),(NOT($W9=0))),OFF,,)
Last edited by SIXFORTYSIX; 09-23-2010 at 03:05 PM. Reason: not working correctly
If you want to display text as the result of the IF, you need to wrap that text in quotes. There are only two words that can stand without quotes, i.e. the Boolean values True or False.
Also, your formula has too many commas.
Try
=IF(AND(ISBLANK($B9),(NOT($W9=0))),"OFF",FALSE)
And more parens than it needs:
=IF(AND(ISBLANK($B9), $W9<>0), "OFF", "what it should say otherwise")
Entia non sunt multiplicanda sine necessitate
Many thanks!
What's in B9, does it contain a formula?
Audere est facere
So if you use this formula
=IF(AND(ISBLANK($B9), $W9<>0), "OFF", "what it should say otherwise")
....and B9 is blank and W9 is, say, 4 then you should get "OFF"? Is that what you expect. Does the formula work in that scenario?
Well, that formula can only give three possible results, OFF, what it should say otherwise or an error
Are you saying it returns nothing (a blank)?
Try checking the formatting of the cell with the formula and make sure it's set to general
What does it return, then? "Not working" is not good enough. What would you expect to be returned? Give concrete examples. Maybe it's time to post a workbook!!
post a workbook.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks