In today’s article, we will see how to create dependent drop-down lists in excel.
When we select one of the Countries, we get the list of cities of the respective country in other drop-down.
To create these dependent drop-down lists, execute the following steps.
1. On second sheet, create the following named ranges. For creating named ranges. Please click Named Ranges
Name | Range Address |
Country | A2:A5 |
India | B2:B4 |
USA | C2:C4 |
China | D2:D4 |
Germany | E2:E4 |
2. Now select B2 on first sheet, and click Data validation on the data tab.
3. In the Allow box, select list.
4. In the source box, type =Country and click OK.
5. And we get the list of countries in cell B2.
6. Now select E2 on first sheet, and do the same thing as done above (i.e. click Data validation on the data tab).
7. In the Allow box, Select list and in the Source box, type =INDIRECT($B$2) and click OK.
8. And result is the list of cities for the selected country.
INDIRECT function: Returns the reference specified by a text string. For example, the user selects INDIA from the first drop-down list. =INDIRECT($B$2) returns the INDIA reference. As a result, the second drop-down contains the list of cities in INDIA. For more information on INDIRECT function.
It is that simple to create dependent drop-down list in excel. Keep practicing.
Any queries or clarifications related to this article, please write me at pareshj@snpinfotech.in or visit www.snpinfotech.in
In my next article, we will see another awesome feature of excel till then keep reading.
Pingback: Dependent drop-down blox
Pingback: Drop Down Depending on Previous Drop Down Selection
Pingback: Result of dependent drop down lists
Pingback: Creating multiple (5) drop down lists, all dependent on the selection(s) of the prior - Page 2
Pingback: combo boxes in excel
Pingback: Multiple Dependent Drop Down list
Pingback: Dependent dropdown list
Pingback: Automatic secondary list to appear based on selection from the first list
Pingback: Dependent data validation
Pingback: Creating dependent drop down lists in excel 2010
Pingback: Dependent Drop Down Lists, or VBA Combo Box?
Pingback: dependent drop down (using index+match)
Pingback: Populating a list by selecting data in another list.
Muchos Gracias for your blog post. fcddfkbdddgeecee
Pingback: Populate 2nd listbox based on 1st listbox selection (Unique Items Only)