I want cell A1 to be a drop down menu (which I know how to do), and then cell B1 to be a drop down menu based off that initial selection.
Example: If I select in A1 "Entertainment," in B1 I want a drop down menu that lets me select "Movies, Music, Sport". But if I select in A1 "Food," in B1 I want a drop down menu with "Dairy, Veggies, Fruit, Meat" etc.
I know basic coding, but I'm mostly looking to use Excel's capabilities.
Thanks! - Laura
You can create this with some simple formulas. Here's an example set up:
='First Layer'!$1:$1
.=IF($A$1="Entertainment",'Second Layer'!$A:$A,IF($A$1="Food",'Second Layer'!$B:$B,""))
This should get you started.
To make the whole thing a bit more advanced, you might want to use a combination of the
VLOOKUP
and theINDIRECT
functions to access the right column in the cell validation list source. Just post a comment if you would like me to extend the example in this direction.The trick is using indirect function.
Here is the tutorial.
The basic steps are