Using Indirect for Data Validation List

wildio

New Member
Joined
Mar 19, 2004
Messages
27
I have two workbooks: in workbookA I have two lists which I created a name range for (list1 and list2), in workbookB is where I want to create my drop down list. In workbookB cell A2 I have a Y, in cell B2 I wanted to create a drop down list where if cell A2 has a Y the drop down list will show list1 from workbookA and if it's an N, it will show list2 from workbookA. I've done this before using indirect in data validation, but, my lists were in the same workbook. I hope I'm being clear in my explanation.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Thank you for the views, I think I found a way that works for me. Instead of creating a named range in workbookA for my two lists and then referring to it in workbookB. I just simply created a name range in workbookB (Name: U, Refers to: list1.xlsx!W3:W7). Then applied the data validation (Allow: List, Source: INDIRECT(A2)) in cell B2.
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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