I am using data validation to create a drop down list on a worksheet. What I'd like to be able to do is set up a list of values as a defined name (Insert > Name > Define...) and then enter that defined name as the source of my data validation list. I'd like to do this because...
- If I simply list my drop down values on a worksheet I run the risk that somebody deletes the sheet / column / rows. I can mitigate against this but I think it is neater if the list is encapsulated as a defined name.
- I have multiple drop downs, some of which always contain the same fields e.g. Yes / No. It would be easier to type in "=YesNo" as my source each time rather than ="$A$1:$A$2" for example
I know it is possible in the source field of data validation to simply type a delimited list...
source: Oranges, Apples, Pears
...but what I want is to able to to type...
source: =Fruits
...where Fruits is a defined name that refers to Oranges, Apples, Pears.
Can this be done? So far I cannot make it work using simple excel features.
I know I could do it with VBA (e.g. when sheet is activated -> populate dropdowns) but this seems like overkill...
As always, any input welcome...