Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to referece a data validation list name in an IF statement?
Say I have a data validation list in cell A1. In Cell B1, I want to pull in a certain IF statement from another cell depending on what data validation list is in cell A1. So - I have List "New York" in A1 which includes Buffalo, Rochester, Albany and Brooklyn, and the if statement associated with that list is =if(a1="Buffalo","WNY",if(a1="Rochester","CNY,if(a 1="Albany","NENY","NYC"))) If I change the list to "California", which includes Los Angeles, Napa Valley and San Francisco, my thought was to put the associated if statements in some reference cell (say a100, a101, etc.), then use an IF statement in B1 to say =if(datavalidation list = "New York",a100,if(datavalidation list ="California,a101....etc. But I don't know how to, or if I can, reference a named list like this. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Validation Restriction Referencing other Workbook | Excel Worksheet Functions | |||
Referencing a range on a different tab than where data validation | Excel Discussion (Misc queries) | |||
Create formula referencing drop down list (data validation) | Excel Discussion (Misc queries) | |||
If statement with validation list | Excel Worksheet Functions | |||
Referencing a data validation list | Excel Discussion (Misc queries) |