Create a Dependent Drop Down List in Excel

Written by:  • Edited by: Michele McDonough
Updated Nov 16, 2009
• Related Guides: Microsoft | Windows

You know how to create drop down lists using Data Validation in Excel. Now you would like to create drop down lists that display items based on the user's previous answer. This tutorial will show you how.

Overview

Excel gives you the tools you need to create custom drop down lists in your worksheets. You can make a simple list with two items, such as Yes and No, or a much more comprehensive list, such as the names of your entire staff. You can even take it one step further, creating a drop down list that displays items based on what the worksheet user selected in the previous cell.

Create the First List

The first thing you need to do is make the first list. Use the steps to make a named list, making sure your list entries are one-word items. The picture example shows a list of counties in the state of Arizona. Name this list. The options that appear in the second list will be dependent upon what the user chooses from this list.

Click to Enlarge
click to enlarge

Create and Name Dependent Lists

The second step is to create the first dependent list. Make the first dependent list for the first item in the first drop down list you created. This will be the drop down list available to users if they choose the first selection in your original drop down list. You must name this list exactly what your first item is in the original drop down.

For instance, in the picture example shown, the original list contained Arizona counties. The dependent lists will show cities for the county selected in the original list. The first county listed is Apache. Therefore, we named the first dependent list Apache. Create dependent lists for each of the items in your original list, naming each one the same as the corresponding item in the original drop down.

Click to Enlarge
click to enlarge

Apply Data Validation

The next step is to apply Data Validation. Enter headings into the first row, if you choose. Then select the cell or cells in which you want a drop down list showing the first list you created. In this example, cell A1 contains the heading “Arizona Counties.” Cells A2 through A10 contain the Data Validation drop down list “Counties.”

Click to Enlarge
click to enlarge
Apply Data Validation to the dependent cells. Select the cell or cell you want to contain the drop down list that appears depending on which option the user selects in the original list. For our example, cell B1 contains the heading “Arizona Cities.” Cells B2 through B10 are selected.

Click to Enlarge
click to enlarge

If you are using Excel 2003 or earlier, go to the Data menu and click on Validation. If you are using Excel 2007, go to the Data tab, select Data Validation and choose Data Validation from the drop down menu. The Data Validation dialog will appear. Choose List in the Allow box. Type =INDIRECT in the Source box. Directly after the INDIRECT function, enter the first cell with data in your original list. In the example spreadsheet, we entered =INDIRECT(A2), because A2 is the first cell with data that affects the dependent list.

Click to Enlarge
click to enlarge
Click OK. Excel will show an error message, asking if you wish to continue. Click Yes.

Test a Dependent Cell

Click on one of the cells in your original list and choose an option from the drop down. Next, go to the corresponding cell in the dependent list. You should have a drop down available showing the items that are dependent on the first choice. Go back and try another. When you are satisfied with your dependent lists, save your worksheet and start showing it off.

Click to Enlarge
click to enlarge
Additional Resources: For more tips and tricks, take a look at the ever-growing collection of Microsoft Excel user guides and tutorials available on Bright Hub’s Windows Channel. Learn design tips for various charts and graphs, how to save an Excel object as an image, how to use the INDEX function, and more. Additional resources are being added all the time so be sure to keep checking back.

Related Articles


Comments

Showing all 12 comments
 
Wai Mun Feb 9, 2012 2:41 AM
RE: Create a Dependent Drop Down List in Excel
u can try entering this in cell B1:<br>=IF(A1="","0 ",INDIRECT(A1))<br><br>the number in B1 will change to 0 if cell A1 is blank
Tricia Goss Sep 30, 2011 3:26 PM
Re:One more step
Not that I know of, sorry!
Alan Sep 29, 2011 10:00 AM
Terrific, but I need one more step!
This was a great help! Thank you! I would like also to know how to make sure when i chang a value in Column A how would Column B revert to a blank value? Example, if I chose Apache I would see the list for Apache in Column B and make my selection. However if I chage Apache to Gila the value I CHOOSE for Apache remains populated in column B. Is there a way to default that cell back to blank?
wantfit Apr 14, 2011 2:30 PM
One little Note....
Hi, thank you for sharing this dependent list with me. It is really helpful. I only have one note. If I want to make drop down list as Dynamic, meaning, whenever user added data to list, it will be appeared in drop down list. In this case, if there is dependent list, the one being depended on (in your example - Apache, can not be a list that is dynamic. If you find out the way to make it works in your sample, please do share with us.

Thanks
kim Kane Mar 21, 2011 8:09 AM
Help
I am trying to make a spreadsheet for donations. I have a drop down list of items that can be donated. Each item is worth a certain amount of money. Ex. a garden bench is $150. The list of items is in the F column. Once chosen, I want the dollar amount to appear in the G column automatically. How do I do this?
Anonymous Feb 23, 2011 9:45 PM
Drop Down and Dependent Drop Down List
This is awsome...just look at the last comment's date to this one...a trusty old method....very NICE...
One word of advice if someone is trying it, it gets a little lost in the middle of the instructions and its because it is a lengthy process, but the 2 key steps to this whole thing is Creating the dependent list and Data validation =INDIRECT...after that all all a piece of cake
JIGNESH PATEL Jan 2, 2011 4:52 PM
THANKS
Hi Tricia,

time is never a bound, Thanks a lot. it worked out with my project.
Laurie Nov 4, 2010 6:14 PM
Dependent Drop Down List
Thank you. Thank you. Thank you!
Heather Sep 9, 2010 3:31 PM
Saved my sanity!
Thank you. Now I can have the answers I WANT, instead of what my clients think they should be.
Wendy Feb 16, 2010 1:44 PM
Thank you SO much!
This was EXTREMELY helpful! Thank you so much!
ashraf Dec 20, 2009 6:55 AM
thanks
very helpful... i have been trying to make this list for few hours... and i check couple of other websites as well.... finally i found this site and got it done..... thank you very much.. i will frequently use this website.
thanks
Himanshu Sharma Aug 25, 2009 7:47 AM
thanks a lot Tricia!!!
this info. was amazingly helpful to me in my project..thanks a lot Tricia!!!

regards,himanshu.india.
 
blog comments powered by Disqus
Email to a friend