Check if a cell has data ignoring the formula in it

girapas

Board Regular
Joined
Apr 20, 2004
Messages
150
I want to enter a formula in A2 to calculate A1+10, if the B2 has data and if it hasn't to leave the cell blank.
The cells B1 and B2 have formulas that update from other cell.
The following formulas don't work when I use them in A2 (I suppose due to the existence of the formula in B2):

=IF(B2="";"";A1+10)
=IF(B2=0;"";A1+10)
=IF(LEN(B2)=0;"";A1+10)
=IF(ISBLANK(B2);"";A1+10)

How can I resolve it, without using VBA?
Thanks in advance
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
That shouldn't have any affect on it. Although you don't really need CONCATENATE, this will do the same thing.

=C1&" " &D1

Excel Workbook
ABCD
110 
220a hah
Sheet1
 
Upvote 0
Although there isn't data in B2 (only the formula), it still put in A2 the A1+10 not blank!
 
Upvote 0
My cell B2 has a formula in it as well, based on what you said you had.
 
Upvote 0
OK. I'll check if there's something else that affect it.
Thank you for your help!
 
Upvote 0

Forum statistics

Threads
1,215,521
Messages
6,125,306
Members
449,218
Latest member
Excel Master

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