IF with ISTEXT Always True

Walter45

New Member
Joined
Jul 26, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Sorry if this has been answered before but I spent a good chunk of this afternoon searching and couldn't figure it out.

I'm trying to have a cell (let's say A1) be blank if there is any sort of text in another cell (B5). B5 has a formula in it that returns some info from another sheet, but I want the cell B1 to show in A1 if B5 is blank. If B5 has its reference, I want to A1 to not return B1. I'm trying to do something like in A1: =if(istext('othersheet!'B5),"", othersheet!'B1). Problem is it always shows the text, I'm assuming because it's got the formula in it.

This issue seems like something I'd have figured out already, but I can't. Can someone please point me in the right direction. I'm assuming it'll be a smh fix, but I appreciate any help!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Try anyone that works:
A1:
=IF('othersheet!'B5="", "",'othersheet!'B1)
or
=IF(len('othersheet!'B5)>0,'othersheet!'B1,"")
Totally it. Think yesterday was a long day...

I seriously appreciate your help!
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

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