Want to use IF formula to show blank if empty, but my reference cell is not "empty" due to a formula

drfernandombbs

New Member
Joined
Dec 5, 2013
Messages
10
Hi everyone,

I'm puzzled with this one. My column A has an IF formula pointing to another sheet. The formula I have inn column A is:

=IF(Sheet2!A2=0,"",Sheet2!A2)

This returns the value if it exists in that sheet, and a blank if it does not exist.

Now, on my original sheet, in column B I want to use the following formula when referring to column A:

=IF(A2=0,"","Ground")

However, even the blank cells are showing "Ground". This is apparently due to the reference cell not technically being 0 as it has a formula. How can I get around this? I tried ISTEXT and ISBLANK, but both give me the same issues.

Thanks in advance!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I'd solve this with something like
=IF(A2="","","Ground")
or
=IF(VALUE(A2)=0,"","Ground")
or
=if(LEN(A2)<1,"","Ground").
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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