How to quickly create dynamic drop down list in Excel?
Most of us may be can create a drop down list by using the Data Validation function in Excel, but sometimes we need to a linked or dynamic drop down list, it means when you choose a value in drop-down list A and you want the values to be updated in drop-down list B. In Excel we can create dynamic drop down list with the Data Validation feature and the INDIRECT function. This tutorial will describe how to create dependent drop-down lists in Excel.
- Create dynamic drop down list in Excel
- Quickly create independent drop-down lists with an amazing tool
Supposing I have a table of four columns that indicate four types of foodstuff: fruit, food, meat and drink and below them are the specific food name. See the following screenshot:
Now I need to create one drop down list that contains the foodstuff, such as fruit, food, meat and drink and the second drop-down would have the specific food name. If I select food, the second drop down will show rice, noodle, bread and cake. To do this, please apply the following steps:
1. First, I need to create some range names for these columns and the first categories row.
(1.) Create a range name for the categories, the first row, select the A1:D1, and type the range name Foodstuff into the Name Box, then press Enter key.
(2.) Then you need to name the range for each of the columns as above step as shown below:
2. Now I can create the first drop down list, please select a blank cell or a column that you want to apply this drop down list, and then click Data > Data Validation > Data Validation, see screenshot:
3. In the Data Validation dialog box, click Settings tab, choose List from the Allow drop down list, and input this formula =Foodstuff into the Source box. See screenshot:
Note: You need type in the formula what you named your categories.
4. Click OK and my first drop down list have been created, then select the cell and drag the fill handle to the cell that you want to apply this option.
5. Then I can create the second drop down list, select one blank cell, and click Data > Data Validation > Data Validation again, in the Data Validation dialog box, click Settings tab, choose List from the Allow drop down list, and input this formula =indirect(F1) into the Source box, see screenshot:
Note: F1 indicates the cell location for the first drop down list I have created, you can change it as your need.
6. Then click OK, and drag the cell content downwards, and the dependent drop down list have been created successfully. See screenshot:
And then if I choose one type of the foodstuff, the corresponding cell will only display its specific food name.
1. The drop-down arrow is visible only when the cell is active.
2. You can continue going deeper as you like, if you want to create the third drop down list, just use the second drop-down as the Source of the third drop-down.
Supposing you have a data table in the RangeB2:E8, and you want to create independent drop-down lists based on the data table in the Range G2:H8. Now you can get it done easily with the Dynamic Drop-down List feature of Kutools for Excel.
1. Click Kutools > Drop-down List > Dynamic Drop-down List to enable this feature.
2. In the popping out dialog, please do as follows:
(1) Tick the 2 Levels dependent Drop-down list option;
(2) In the Data Range box, please select the data table you will create independent drop-down lists based on;
(3) In the Output Range box, please select the destination range you will place the independent drop-down lists.
3. Click the Ok button.
So far, the independent drop-down lists have been created in the specified destination range. You can select options from these independent drop-down lists easily.