DropDownList source Indirect NamedRange from Another Workbook

OxmoPuccino

New Member
Joined
Feb 9, 2017
Messages
9
Hi,
I created a file, Discography.xlsx, "Sheet 1": column A contains the names of Music Albums and column B contains the names of the tracks of the album in column A.
I selected all the tracks within an album from column B and Defined Name, the name of the album.
Sheet 2: All the albums are in column A and I selected them and Defined Name: Albums.

I created a second file, BestOf.xlsx, I opened the "Define Name" window:
Name: Albums
Refers to: =Discography.xlsx!Albums
(I did the same procedure to create names for each albums)

I created a drop down list in A2, Data Validation:
Allow: List
Source: Albums

So far it works since I can select the album name from a drop down list in my file BestOf.xlsx (as long as my file Discography.xlsx is open as well, an hindrance I can live with).
This is where I can't make it work.
File "BestOf.xlsx" cell B2, I want a drop down list that only gives me the choice of tracks from the album selected in A2.

What I did, Data Validation:
Allow: List
Source: Indirect(A2)

This doesn't work and I don't understand why since it works if the name range doesn't come from another file.

[I know I can't have space in name ranges so I've used underscore everywhere]

Thank you for your help!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Discography.xlsx "Sheet 1"
1656341950811.png

Discography.xlsx "Sheet 2"
1656341986391.png

BestOf.xlsx "Sheet 1"
1656342102055.png

1656342139514.png

1656342175656.png
 
Upvote 0
If you would like to post a solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0
By using "Power Query" I was able to easily link my data from "Discography.xlsx" to a dedicated tab in "BestOf.xlsx" and every time I re-open my file "BestOf.xlsx", it refreshes the data being pulled from "Discography.xlsx".
This way I was able to use a dependent drop down list with the indirect function since the define name was no longer being linked to a different workbook.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

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