Indirect

The Grim Discovery

Board Regular
Joined
Jan 23, 2015
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Excellers
I've been doing some formulating with the indirect function for pretty much the first time. It's good.

But I'm stumped as to how I can get Cell A10 in Sheet 1 to say 'Yes' if there is text populating cell A10 in any one or more of Sheet2:Sheet10


and for cell A10 in Sheet 1 to say 'No' if there is no text populating the exact same range. It seems like the kind of thing that can be done, only I can't do it.

Please help. You know you want to.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Re: INDIRECT help

Was thinking 3D Reference but cant seem to get it to work.
Maybe (regrettably)

=IF(ISTEXT(Sheet2!A10)+ISTEXT(Sheet3!A10)ISTEXT(Sheet4!A10)ISTEXT(Sheet5!A10)ISTEXT(Sheet6!A10)ISTEXT(Sheet7!A10)ISTEXT(Sheet8!A10)ISTEXT(Sheet9!A10)ISTEXT(Sheet10!A10),"Yes","No")
 
Upvote 0
Re: INDIRECT help

Thanks chap. It's doing what I need to do so nothing regrettable about that.
Just wondering - pushing it I know - if instead of producing 'yes' or 'no' the formula could report which sheet(s) contained the text. So if Sheet3!A10 contained text the output would be 'Sheet 3'.
 
Upvote 0
Re: INDIRECT help

Identifying Sheet number just requires nested IFs

IF(ISTEXT(Sheet number!A10),value if true,IF(ISTEXT(Next sheet number!A10)...

So beginning

=IF(ISTEXT(Sheet2!A10),"Sheet2",IF(ISTEXT(Sheet3!A10),"Sheet3",ISTEXT(Sheet4!A10),"Sheet4"...

for each sheet you want to check until

...IF(ISTEXT(Sheet10!A10),"Sheet10","No text in any sheet"))))))))) <== 1 closing bracket for each IF condition
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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