Avoid Using Indirect Function to Refer to Other Workbooks

john12345

New Member
Joined
Apr 6, 2016
Messages
9
Hello, :)


I want to refer to a cell in another workbook and I need to use a string value from a cell in the current workbook as part of the name of the Workbook that I want to refer to (so that I can use "Data Validation - List" to quickly change the input. I know it can be done by using INDIRECT, but the problem for that method is that the referred Workbook has to be opened, which is not convenient.


For example a formula looks like this, but I want to repalce "WB1" by a cell value from a drop-down list in a cell.
=[WB1_Summary.xlsx]Sheet1!$A$1

I wonder if there is another way to realize this function. Of course VBA will always work but usign VBA is not a good solution in this case since the data is large and messy.

Thank you all very much!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Due to the fact that you are building the filename from a value in a cell, I think you have two options:
1. Use INDIRECT
2. Use VBA

I am not aware of any other options.
 
Upvote 0

Forum statistics

Threads
1,215,544
Messages
6,125,434
Members
449,223
Latest member
Narrian

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