Index plus Indirect

PlzHelpMe

New Member
Joined
Sep 16, 2013
Messages
9
Hello, does anyone know if it is possible to use the “indirect” function with a workbook that is closed. I feel like I’m close… I can get them to work independently but not together… reason being is I’d like the workbook name to be dynamic using a separate spreadsheet to pull data from a closed workbook to prevent from having to find & replace cells.

Detail… On a separate spreadsheet I have 3 reference cells A2, B2 and C2… header for A2 is “Workbook”, header for B2 is “Sheet”, and the header for C2 is “Cell Reference” (in A2 I enter the Workbook with the xlsx extension, in B2 I enter the Sheet Name and in C3 I enter the Cell Reference)… if I use the formula…INDIRECT(‘“[“&$A$2&”]”&$B$2&’”!”&C2),””) I get the correct result as long as I have the workbook being referenced open, the minute I close the workbook the reference cells are referring to the data disappears. I’m trying to index the path and combine the dynamic function of the indirect function.

Is this possible?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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