how to create dependent drop down list in excel

Master Excel: Building Dependent Dropdown Lists

By Olivia Moore
AD

Did you know that you can create dependent dropdown lists in Excel to streamline data entry and enhance data validation? This powerful feature allows you to create a cascade effect in dropdown lists, making the choices in one list dependent on the choices made in another. Let's delve into how to create this dynamic duo of dropdowns in Excel.

Before we dive in, ensure your Excel version is equipped with this feature. The step-by-step guide here works best in Excel 2013 and later, and Excel for Microsoft 365. Let's start by laying the groundwork with a simple example.

Setting Up Your Workbook

In this demonstration, we'll create a simple sales order form with dependent dropdowns for 'Region' and 'City'. First, set up your sheet with these headers:

AD
Create Dependent Drop Down List in Excel (Step-by-Step Guide)
Create Dependent Drop Down List in Excel (Step-by-Step Guide)
How to Create Dependent Drop-down Lists | Excel Campus
How to Create Dependent Drop-down Lists | Excel Campus
How to Create Multiple Dependent Drop-Down Lists in Excel 💡
How to Create Multiple Dependent Drop-Down Lists in Excel 💡

Sales Order IDRegionCitySales Amount

How to make dynamic dependent drop down lists in Excel
How to make dynamic dependent drop down lists in Excel
How to Create a Drop-Down List in Excel (7 Easy Steps + Advanced Tricks)
How to Create a Drop-Down List in Excel (7 Easy Steps + Advanced Tricks)
Dependent Drop-Down Lists Across Excel Worksheets
Dependent Drop-Down Lists Across Excel Worksheets

Next, we'll populate the 'Region' column with unique entries and do the same for 'City' based on the chosen region. Let's begin with creating the 'Region' dropdown list.

Creating the Base Dropdown

Let's create the 'Region' dropdown using Data Validation. In cell B2, select Data Validation (Data tab > Data Validation). Under Settings, select 'List' and in the 'Source' field, input your predefined regions separated by commas (e.g., "North,South,East,West"). Click OK.

AD

Now, drag this cell's fill handle to populate the rest of the column with the dropdown list. Your 'Region' column is ready!

Drop Down List in Excel
Drop Down List in Excel
How to Create Dependent Drop-down Lists | Excel Campus
How to Create Dependent Drop-down Lists | Excel Campus
How to Edit a Dropdown Box in Excel - Excel tips for Beginners
How to Edit a Dropdown Box in Excel - Excel tips for Beginners
How To Make Multiple Dependent Dropdown Lists In Excel 2024 (EASY Method)
How To Make Multiple Dependent Dropdown Lists In Excel 2024 (EASY Method)
How to Create a Drop Down List Hyperlink to Another Sheet in Excel
How to Create a Drop Down List Hyperlink to Another Sheet in Excel
How To Create Multiple Dependent Drop Down Lists In Excel
How To Create Multiple Dependent Drop Down Lists In Excel

Creating the Dependent Dropdown

With the 'Region' list in place, it's time to create the 'City' dropdown. Select the 'City' column (C2). Again, use Data Validation, but this time, the 'Source' field must contain an INDIRECT reference, like "=INDIRECT($B$1)". This reference changes based on the selection in the 'Region' cell to the left.

Grab the fill handle and copy this formula down. Now, whenever you change the 'Region', the 'City' options will update accordingly. But we're not quite there yet.

AD

słinking the Lists

Our current setup only allows cities related to the cell above. To have a TRUE dependent list, we need to interlock the 'Region' and 'City' dropdowns. We'll use a named range for this, making our formulas more readable and easy to update.

How to Create a Drop Down List in Excel | Data Validation Tutorial | Excel Tips for Beginners
How to Create a Drop Down List in Excel | Data Validation Tutorial | Excel Tips for Beginners
How to Create Drop Down Lists in Excel - Complete Guide + Video Tutorial
How to Create Drop Down Lists in Excel - Complete Guide + Video Tutorial
How to Create a Drop Down List in Excel Step by Step
How to Create a Drop Down List in Excel Step by Step

Defining Named Ranges

In theName Manager (Formulas tab > Name Manager), define three new names:

AD
  • RegionList as an array of your regions, e.g., {"North";"South";"East";"West"}
  • CityList as an array of all your cities, separated into columns based on 'Region'.
  • ValidCities as the formula "=INDIRECT($B2)". Replace 'B2' with your first 'Region' cell.

Once you've defined these, update your 'City' column formula to use 'ValidCities'. Now, whenever you change a 'Region', the 'City' dropdown adjusts accordingly.

Finishing Touches

With the final touches in place, your dependent dropdown list in Excel is complete. You can lock the columns (Right-click > Format Cells > Protection tab), freeze the headers (View tab > Freeze Panes), or add conditional formatting to make erroneous entries evident.

_embracing dependent dropdowns not only simplifies user input but also enhances data validation. Happy expediting!

AD