If Blank

Ghornet54

New Member
Joined
Jul 19, 2006
Messages
12
I have the following formula and it works great, however, I need if nothing is in the cell, it to be blank. I don't want the "O" or "X" showing. How do I change my formula?

=IF(AND(AY111>=3.5,AY111<=5.5),"O","X")

Thanks for any help given.

Charles
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Delete the X but leave the empty quotes?
 
Upvote 0
If you remove the characters x and o from the ending code you will have "" and "" respectively. Is that what you want?
 
Upvote 0
If the cell is blank, I want the cell to show blank. If the range is within 3.5 to 5.5, I want an "O", if the range is out of the 3.5 to 5.5, I want an "X".

Hope this makes sense!

Charles
 
Upvote 0
It took me a while but I think this is what you need. :)

<table border="0" cellpadding="0" cellspacing="0" width="64"><colgroup><col width="64"></colgroup><tbody><tr height="17"> <td style="height:12.75pt;width:48pt" height="17" width="64">'=IF(ISBLANK(E14),"Cell BLANK",IF(AND(E14>=3.5,E14<=5.5),"OK","Failed test"))</td> </tr></tbody></table>
Change what you want in the "text" to say if you need. Use "" to display a blank cell. You can make E14 to AY111 or whatever the target cell is.

Bill C
 
Last edited:
Upvote 0
I'm happy if you are. I sometimes have trouble with syntax when using double If statements and nesting "AND" so I place all the text answers in the outputs and that clears up the smoke. It's easy to get confused. :outtahere:

Bill C
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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