Home > Validation > Dependent > Setup

Dependent Drop Down Setup Guide

Debra Dalgleish - Contextures

In Excel, you can set up dependent drop down lists, to make data entry easier. For example, select Fruit in one cell, and the next drop down list shows fruit items only. I've created this short guide to help you pick the best way to set up dependent lists in your workbooks.

Dependent drop-down simple demo

1) Simple Dependent Drop Down Lists

This animated screen shot shows how a simple dependent dropdown list works.

  • First, select a Produce Type.
  • Next, click the Item drop-down arrow, to see items from the selected product type

Dependent drop-down simple demo

There are setup instructions and a video on the Create Dependent Drop Down Lists page.

1a) How It Works

On a different sheet in the workbook, there are 3 lists:

  • 1 Main List - Produce
  • 2 Dependent Lists - Fruit and Vegetable

lists formatted as Excel tables

1b) When to Use This Method

Use this setup method if your main list is like the one shown above:

  • There are only 2 or 3 options in the main list
  • Each main list item is a single word (Fruit, Vegetable)
  • The main list items will not change

If your main list does not meet these requirements, use the Flexible Dependent Drop Down method instead.

2) Flexible Dependent Drop Downs

If your main list has lots of items, or if you want multiple dependent levels, this flexible dependent drop down setup is a better choice.

This screen shot shows an example of this technique:

  • 1 Main drop down (Regions)
  • 3 levels of dependent drop downs - Country, Area and City.

There are setup instructions and a video on the Dependent Lists Using Tables page

flexible Dependent drop-down lists

2a) How It Works

On a different sheet in the workbook:

  • There is 1 lookup table, with all the lists
  • There are 3 named ranges in the lookup table:
    • _Regions, _MainList and _UseList

drop down list lookup table with 3 named ranges

2b) When to Use This Method

This flexible dependent drop down technique is good to use if any of these conditions exist:

  • There are many items in the main list
  • Items will be added or changed in the main list
  • The main list items contain spaces, or other characters that cannot be used as range names, following Excel's naming rules
  • You need multiple levels of dependent drop down lists

If your lists meet any of these conditions, this method will be the best fit.

There are setup instructions and a video on the Dependent Lists Using Tables page

3) Advanced - Prevent Problems

After someone selects an item from a dependent drop down, they could go back to the main drop down, and select a different item. That could result in mismatched items in that row on the worksheet.

In the screen shot below, someone change the Fruit item to Lettuce, and that's not a vegetable!

prevent problem in dependent drop down list

3a) Simple or Flexible

To prevent invalid selections, you can use an advanced formula or a macro.

3b) More Advanced Examples

See more advanced examples on my Advanced Dependent Drop-Down Lists page. For example, show a short list or full list, show list when the main cell is empty, and fix OFFSET list problems

Click these links to see more information on dependent drop down lists. Many of the pages have sample files to download, and some have videos that show how to set up the dependent lists.

Create Simple Dependent Lists

Flexible Dependent Drop Downs

Simple Dependent Drop Downs Video

Dependent Drop Downs from a Sorted List

Dependent Lists With INDEX

Dependent Lists With Tables and INDIRECT

Dependent Drop Downs from Pivot Tables

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!

 

 

Last updated: October 22, 2024 3:36 PM