Problem with equation to link to another workbook

ElephantEars

New Member
Joined
Sep 9, 2005
Messages
12
I have an equation shown below:

='H:\Business\Excel Data\Weekly Occup Reports-Other Prop\2016\[2016 wkly occup v2_Compute.xls]Jun 19'!$E$10



Instead of using the Jun 19 sheet each time, I need the sheet name to be pulled from Cell A1 on this workbook,
so cell A1 would be "Jun 26" next week.


I have tried Indirect, but the sheet would need to be open.
I have tried Concatenate but have had problems with it also.

I am sure I am missing something simple but I can't seem to figure it out

Thank you for any help with this.
 

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.
I recently did a project with the very same problem.
I finally scrapped it because of the sheet needing to be open. ( Using Indirect )
I thought to approach it again, but this time with a macro.
Basically having the macro run over and open it and get the info, and close it back.
( I haven't had time to try it yet, but I believe that will be what needs to be done, hence xlsm or xlsb )
Good luck!
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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