Step-by-Step Guide: Crafting Interdependent Combo Box Selections Within MS Excel

Step-by-Step Guide: Crafting Interdependent Combo Box Selections Within MS Excel

Daniel Lv12

Step-by-Step Guide: Crafting Interdependent Combo Box Selections Within MS Excel

Does using a drop-down list in Microsoft Excel make data entry easier for you or your co-workers? If you said yes and want to go a step further, you can create a dependent drop-down list just as easily.

With a dependent drop-down list, you select the item that you want in the first list, and that determines the items that display as choices in the second one. For example, you might select a product, like a shirt, and then pick a size, a food item, like ice cream, and then pick a flavor, or an album, and then pick a song.

Getting Started

Obviously, you’ll need your first drop-down list set up and ready to go before you can create the dependent list. We have a complete tutorial with all of the details you need to create a drop-down list in Excel for a refresher, so be sure to check that out.

Related: How to Add a Drop-Down List to a Cell in Excel

Since setting up the second list follows the same basic process, we’ll start there. Then, we’ll move on to the dependency setup.

Adding and Naming Dependent Drop-Down List Items

For this tutorial, we’ll use departments in our company for the first drop-down list, and then employees in each department for the second list.

Our departments include Marketing, Finance, and Human Resources (HR), and each has three employees. These employees are who we need to add and name.

List the items for the dependent list, and then select the cells. This places the cells in a group so that you can name the group. With the cells selected, go up to the Name Box on the left side of the Formula Bar and enter a name for the cell group .

Name a cell group in Excel

OtsAV DJ Pro

The names for each group should match the list items in your first dropdown.

Using our example, we’ll name our groups with the departments in our first list: Marketing, Finance, and HR.

Named cell groups

You can add the items for your dependent list on the same sheet where the list will reside or on a different one. For the purposes of this how-to, you’ll notice that we have everything on the same sheet.

Creating the Dependent Drop-Down List

Once all of your list items are in a sheet and named, it’s time to create the second drop-down list. You’ll use the Data Validation feature in Excel , just like when creating your first list.

Select the cell where you want the list. Then, go to the Data tab and click “Data Validation” in the Data Tools section of the ribbon.

Click Data Validation on the Data tab in Excel

Take advantage of PREMIUM features for 12 months.
Create your texts / logos without any limitation.
No attribution required when downloading.
No advertising on the website.
TextStudio.com PREMIUM - Yearly Membership

Choose the Settings tab in the pop-up window. Under Allow, pick “List,” and to the right, check the box for In-Cell Dropdown. Optionally, you can check the box to Ignore Blank cells if you like.

Select List and In-Cell Dropdown

In the Source box, enter the formula below. Be sure to replace the cell reference in parentheses with the cell containing your first drop-down list.

=INDIRECT($B$6)

Add INDIRECT as the Source

The INDIRECT function “returns the reference specified by a text string.” For additional details on this function, check out the Microsoft Support page.

If you’d like to include an Input Message or Error Alert, select those tabs in the pop-up window and enter the details. When you finish, click “OK” to add the drop-down list to the cell.

Now, give your list a test. When you select an item in the first drop-down list, you should see the items pertaining to your selection as options in the second list.

Dependent drop-down list in Excel

For quicker data entry for yourself or your collaborators, try a dependent drop-down list in Excel!

  • Title: Step-by-Step Guide: Crafting Interdependent Combo Box Selections Within MS Excel
  • Author: Daniel
  • Created at : 2024-08-27 23:56:24
  • Updated at : 2024-08-28 23:56:24
  • Link: https://win-answers.techidaily.com/step-by-step-guide-crafting-interdependent-combo-box-selections-within-ms-excel/
  • License: This work is licensed under CC BY-NC-SA 4.0.