P
PMarble
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(a1="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.
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(a1="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.