Using Indirect function to reference another Workbook using Named Ranges.

julhs

Active Member
Joined
Dec 3, 2018
Messages
476
Office Version
  1. 2010
Platform
  1. Windows
I apologise in advance if there is overkill in info, but in the past I’ve fallen foul of NOT providing enough!!
I have 2 Workbooks, Book1 is the active book and Book2 is the source.
I have the same “Existing” named anges (used for other purposes) in BOTH Books that I want to utilise.

In Book1 I have 2 Data Validation lists, the 1st one (in D32) is the primary and the 2nd (in D33) is a dependent dynamic list based on selection made in the 1st one
I have the 1st VD list working; directly referencing a "Named Range" in Book2
BUT I can’t compile the “Indirect” formula for the dependent 2nd list to reference the appropriate Named Range in Book2
At the moment I have a work around solution for the dependent 2nd list but it’s NOT utilising the existing “Named ranges”, so I had to create new ones in Book1 that use “Book2>Sheet Name>Range”.
So what I have so far is:
This is working using named range
In Book1, 1st VD list
Rich (BB code):
Source: = ChemicalSuppliersList_Condensed (is a defined named in Book1 referencing a defined named range in Book2)
The source named range above,
Rich (BB code):
Refers to: ='Book2.xlsm'!ChemicalSuppliersList_Condensed
BUT currently the dependent 2nd VB list in Book1 is ONLY working if I have a defind name in this format
Rich (BB code):
Source = [Book2.xlsm]Sheet??’!$C$6:$C$29
So after all the background stuff, the essential question is; how do I compile an Indirect formula in Book1 to reference the “Named Ranges” in Book2
Something like:
Rich (BB code):
Source = Indirect(D33) = ‘Book2.xlsm’!Named Range in Book2
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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