|
Home > Validation > Drop Downs > Dependent
Create Dependent Drop-Down Lists
|

|
See how to set up a dependent drop-down list in Excel -- conditional data validation, based on other cell. These dynamic drop downs make it easy to enter data, so you don't have to scroll through a long list. My step-by-step videos show how to get started, and there are written steps, and Excel files to download.
|
|

1) What Is a Dependent Drop-Down List?
A dependent drop down list is a type of data validation in Microsoft Excel.
- Normal: Cell's drop down list always shows the same list of items
- Dependent: Cell's drop down list of items changes automatically, based on the value
in another cell
Dependent Drop-Down Example
For example, in the screenshot below, choose a produce type in column B, then choose and item in column C.

The selections in column B affect the drop down lists in column C:
- Fruit was selected as Produce Type in cell B3
- In cell C3, the drop down showed a Fruit list
- Vegetable was selected as Produce Type in cell B4.
- In cell C4, the drop down showed a Vegetable list
The dependent drop down lists changed automatically, to show the correct list.
How to Set Up Dependent Drop-Down Lists
There are written and video instructions below.
- First, you can watch my short video, to see the setup steps.
- Next, in the sections below the video, there are written setup instructions, to guide you step-by-step

2) Video: Excel Dependent Drop Downs
In the short video below, I show how to set up a main drop-down list, with a dependent drop-down list in the next column.
3) Get Started: Dependent Drop-Down Lists
Here are the written step-by-step instructions for making dependent drop-down lists in Excel. This example uses 2 lists - Fruit and Vegetable.
Two Types of Produce
In the screen shot below, you can see the completed data entry sheet.
- Select a produce type (fruit or vegetable) in column B, from the first drop-down list
- Then, in column C, a dependent drop-down list shows items for the selected product type only.

Set-up Steps
There are a few steps for setting up the drop-down lists, and the details are in the sections below.
3a) Set Up the Worksheets
This example will have a workbook with two sheets -- a data entry sheet, and a sheet with lists.
- Create a new workbook
- Change the name for Sheet1 to "DataEntry"
- Insert a new sheet in the workbook, and name that sheet "Lists"

3b) Create Item Lists
Next, you will create lists with items for the drop-down lists.
In this example, you will set up 3 lists. The main list has produce types, and the other two lists have items for the dependent drop downs.
To create each list, you will do three things:
- Type the items on the Lists sheet
- Format the lists as an Excel table
- Name the lists.
3b1) Type the Main List
To type the lists, go to the Lists sheet. Start with the main list - Produce types.
- In cell B2, type the main list heading, Produce List
- In cells B3 and B4, type Fruit and Vegetable.
NOTE: The Produce list has one-word items in it -- Fruit and Vegetable. This is important, because those words will be used as Excel names, and two-word names are not allowed as names. If you need to
use multiple-word items in the main list, use the Dependent Lists with Tables technique instead.
3b2) Add the Dependent Lists
Next, type the dependent lists, with the headings Fruit List (in cell D2) and Vegetable List (in cell F2). These lists can contain one-word items (apple), or multiple-word items (green beans).

3b3) Format Lists as Tables
Next, follow these steps, to format each list as an Excel Table. This makes your list dynamic -- the list size will adjust automatically if you add or remove items, so your drop down will show the entire list.
Follow these steps for each of the 3 lists:
- Select a cell in the list, and on the Home tab, click Format as Table

- Click on one of the Table Styles
- Add a check mark for My table has headers
- Click OK

Here is the Lists sheet, with all 3 lists formatted as Excel Tables

3b4) Create a Named Range
Next, follow these steps to create a named range for each formatted Excel Table. Later, you will use this name, when making the drop-down lists on the Data Entry sheet.
3b5) Name the Produce List
- Select the items in the Produce table (cells B3:B4), but not the table heading.
- Click in the Name box, to the left of the formula bar
- Type a one-word name for the list -- Produce
- Press the Enter key, to complete the name.

3b6) Name the Fruit and Vegetable Lists
Next, follow these steps to name the fruit and vegetable lists.
- Select the fruit names in cells D3:D6
- Click in the Name box, to the left of the formula bar
- Type a one-word name for the list -- Fruit.
- Press the Enter key, to complete the name.

- Select the vegetable names in cells F3:F6.
- Click in the Name box, to the left of the formula bar
- Type a one-word name for the list -- Vegetable

- Press the Enter key, to complete the name.
3c) Add the Main Drop Down
Next, follow the steps below, to add the main drop down (Produce Type) on the DataEntry sheet.
Note: This will be a normal data validation drop-down list - not a dependent drop down
3c1) Start the Data Entry Sheet
First, you will enter headings on the data entry sheet, and set up a named table.
- On the DataEntry sheet, type the headings in the range of cells,B2:C2 -- ProductType and Item
- Select cell B2, and on the Home tab, click Format as Table
- Click on one of the Table Styles
- Add a check mark for My table has headers
- Click OK

3c2) Add the Main Drop Down
Next, follow these steps, to add the main drop-down list, in the Produce Type column
- On the DataEntry sheet, select cell B3
- On the Ribbon, click the Data tab, then click Data Validation.
- In the Data Validation dialog box, choose List, from the Allow drop-down list
- In the Source box, type an equal sign and the list name: =Produce
- Leave the Ignore Blank check box checked
- Leave the In-cell drop down check box checked

- (optional) Go to the Input Message tab, and enter a message that appears when the data validation cell is selected.
- (optional) Go to the Error Alert tab, and enter a warning message that appears if invalid data is entered in one of the data validation cells. Or, uncheck the Show Error Alert box, if you don't want error messages or warnings to appear.
- Click OK, to complete the data validation setup.
- To test the drop down, click the arrow in cell B3, and select Fruit from the list

3d) Add the Dependent Drop Down
Next, you will create a second drop-down list -- a dependent drop down list in the Item column. This cell will have an INDIRECT formula to create the data validation drop down list. Read more about the INDIRECT function here.
- On the DataEntry sheet, select cell C3
- On the Ribbon, click the Data tab
- In the Data Tools group, click the Data Validation button
- On the Settings tab, from the drop-down list in the Allow box, choose List
- In the Source box, type an equal sign and INDIRECT function,
referring to the first data cell in the Produce Type column:
In this example, cell C3 is active, so the following formula has a cell reference to the
Product Type cell in row 3: =INDIRECT(B3)
Note: If you click on cell B3, Excel will add an absolute reference -- $B$3. Remove the $ signs, because we need a relative reference in this formula
- Click the OK button (or press the Enter key on your keyboard).

Note: If cell B3 is empty, you will see the message shown below.
Click Yes to continue.
- The Source currently evaluates to an error. Do you want to continue?

3e) Test the Drop-Down Lists
To test the dependent drop-down lists, follow these steps
- Fruit should be selected in cell B3 -- if not, select it now.
- Select cell C3, then click the arrow, and then select one of the fruit items from the list

- Next, press the Tab key, to start a new row in the data entry table.
- In the Produce Type column, select Vegetable from the Produce drop down list.
- Move to the Item column,
in the same row.
- In the Item column, click the drop-down arrow, and select an item from the Vegetable list

NOTE: If a Produce Type has not been selected, the Item drop down
in that row will not work.
4) Advanced Dependent Drop Downs
The simple example shown above only has 2 different drop down lists - Fruit and Vegetable.
- Complex Lists: If you need more than 2 or 3 named ranges for your dependent lists, I recommend using the Dependent Lists with Tables technique instead, because it will be much easier to set up and maintain.
4b) More Advanced Techniques
To see other advanced dependent drop-down list techniques, go to my Advanced Dependent Drop Downs page.
On that page, you'll see how to:
- Show a short list or full list
- Use IF with INDIRECT
- Prevent invalid selections
- Fix OFFSET formula list problems
Get the Excel Files ✅
- Fruit/Veg: Download the sample file for dependent
data validation Intro - Fruit/Vegetable example
NOTE: There are other techniques for setting up dependent drop down lists, so see which setup method might be best for your needs.
Get Monthly Excel Tips!
Don't miss my monthly Excel newsletter! You'll get quick tips, article links, and a bit of fun. Add your email, and click Sign Up.
Next, when you get my reply, click the Confirm button. I add this step to protect you from spam!
More Dependent Drop Down Tutorials
Dependent Drop Down Setup Choices
Dependent Lists with Tables
Dependent Drop Down from Dynamic Arrays
Dependent Drop Downs from a Sorted List
Dependent Lists With INDEX
Advanced Dependent Drop Downs
