IF function that recognizes "" in a cell.

dcunningham

Board Regular
Joined
Jul 14, 2015
Messages
58
Hi Everyone,

So I'm trying to create an IF function that will make a cell blank if another cell is blank. I've tried using =IF(ISBLANK(A1),"",A2), but even though A1 is 'blank' A2 is still returned. I believe this is because in A1 there's another IF function, =IF(A3>0,"",A4), which puts "" in A1 to make it blank. Is there a way to reference "" in an IF function? I tried something like =IF(A1="""","",A2) just to see, but that doesn't work either. I suppose an alternative would be to use something other than "", such as ERROR, and then use conditional formatting to make it blank, but I'd prefer to avoid doing that if possible.

Any guidance would be appreciated.

Regards,

Dan
 

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
why not just =if(A1="","",A2)?

you are correct by the way A1 is not blank so isblank is return your else

rich
 
Upvote 0
Well, now I feel silly. For some reason I had it in my head that the "" should be wrapped by " ". Brain fart I guess.

Thanks RCBricker and HolyExcel.
 
Upvote 0
Well, now I feel silly. For some reason I had it in my head that the "" should be wrapped by " ". Brain fart I guess.

Thanks RCBricker and HolyExcel.

I spend more time looking crap up I already but cant think of than looking up new solutions.

rich
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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