Indirect Formula Referencing Cell Contents

V L

New Member
Joined
Jul 25, 2024
Messages
15
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Friends: I am in need of the following assistance. I have the following formula in cell B2. =IF(C2="","---",IF(C2="Not Determined","---",IF(C2="Closed","---",IFERROR(INDIRECT(A2&"!$C$11"),"---")))) in a sheet named QL. A2 is a sheet name. I would like the (INDIRECT(A2&"!$C$11") portion of the formula to read the contents of cell AD2 which contains “C11” in the QL sheet. In this way, if I have to move C11 in the source sheet, I can simply change the contents of AD2 and have INDIRECT pick that up. I hope I have explained myself well. TY in advance….
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=IF(OR(C2="",C2="Not Determined",C2="Closed"),"---",IFERROR(INDIRECT(A2&"!"&AD2),"---"))
 
Upvote 0
Solution
How about
Excel Formula:
=IF(OR(C2="",C2="Not Determined",C2="Closed"),"---",IFERROR(INDIRECT(A2&"!"&AD2),"---"))
Thank you. Just needed the syntax... : )
 
Upvote 0
How about
Excel Formula:
=IF(OR(C2="",C2="Not Determined",C2="Closed"),"---",IFERROR(INDIRECT(A2&"!"&AD2),"---"))
Thank you. Just needed the syntax... : )
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,225,739
Messages
6,186,738
Members
453,369
Latest member
juliewar

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