How to Make a Dynamic Dependent Drop-Down List in Excel
Last Updated :
12 Apr, 2025
Dynamic Drop Down List in Excel 365: Quick Steps
- Prepare Your Data
- Convert the List into an Excel Table
- Create the Drop-Down List Using Data Validation
- Test the Dynamic Drop-Down List
Creating dynamic dependent drop-down lists in Excel is a powerful way to improve data entry accuracy and user experience, especially when dealing with large datasets. A dependent drop-down list allows users to select values in one list based on the selection made in another list. In this guide, we’ll explore different methods to make a dynamic dependent drop-down list in Excel, including using Excel tables for structured data, and utilizing the OFFSET or UNIQUE formulas for more flexible options. Additionally, we’ll show you how to create custom input and error messages in Excel, ensuring that your drop-down lists are both intuitive and error-free.
Method 1: Using Excel Tables
A dependent drop-down list in Excel allows you to create a second drop-down list that dynamically changes based on the selection made in the first drop-down. This is especially useful for organizing data like categories and subcategories, regions and cities, or product types and items. Here’s a step-by-step guide to create a dependent drop-down list in Excel:
Step 1: Open Excel and Prepare your Data
Arrange your data in a table format where the first column contains the primary categories, and subsequent columns contain the dependent items.
Enter your DataStep 2: Create Named Ranges
- Select the items under each category (e.g., all items under “Fruits”).
- Go to the Formulas tab and click on Define Name.
- Assign a name to each range corresponding to the category (e.g., name the range of fruits as “Fruits”).
Select item >>Go to Formula Bar>>Select Defined NameStep 3: Create First Drop- Down List
- Select the cell where you want the primary drop-down list to appear. (Here we have selected C8)
- Go to the Data tab and click on Data Validation.
In the Data Validation dialog box:
- Under the Settings tab, choose List in the "Allow" drop-down.
- In the Source box, enter the names of the primary categories (e.g., Fruits, Vegetables, Beverages).
Click OK to create the first drop-down list.
Select a Cell>Data Validation>> Select Fruits, Vegetables, BeveragesStep 4: Create the Dependent Drop-Down List
- Select the cell where you want the dependent drop-down list to appear. (Here we have selected B8)
- Go to the Data tab and click on Data Validation.
In the Data Validation dialog box:
- Under the Settings tab, choose List in the "Allow" drop-down.
- In the Source box, type the formula: =INDIRECT(C8)
- (Replace C8 with the cell reference containing the primary drop-down list).
Click OK to create the dependent drop-down list.
Select a cell>> Go to Data Validation>> Select List>> Type =INDIRECT($A$8) >>Click okStep 5: Test Your Drop-Down Lists
Select an option from the first drop-down list (e.g., "Fruits").
Click the dependent drop-down list. You should see only the items related to the selected category (e.g., Apple, Banana, Orange).
Test your Dropdown listMethod 2: Using OFFSET or UNIQUE Formulas
The above method of utilizing an equation to make a drop-down rundown can be stretched out to make a powerful drop-down list too. On the off chance that you utilize the OFFSET capability, as displayed above, regardless of whether you add more things to the rundown, the drop-down won't refresh consequently. You should physically refresh it each time you change the rundown. Here is a method for making it dynamic.
Step 1: Select the Cell
Select a cell where you want to create the drop-down list (cell C2 in this example).
Step 2: Open Data Validation
Go to Data –> Data Tools –> Data Validation.
Go to Data ValidationStep 3: Choose List and Enter the Formula
In the Data Validation popup, within the Settings tab, select List as the Validation criteria. As soon as you select List, the source field appears. In the source field, enter the accompanying recipe:
=OFFSET($A$2,0,0,COUNTIF($A$2:$A$100,”<>”))
Select Data Validation >> Enter FormulaStep 4: Confirm and Apply
Ensure that the In-cell drop-down choice is checked. Click OK.
Ensure the ListHow the Formula Works:
COUNTIF($A$2:$A$100,"<>")
counts non-empty cells in A2:A100.OFFSET($A$2,0,0,COUNTIF($A$2:$A$100,"<>"))
adjusts the range dynamically to include only non-blank values.
Now, your drop-down list will automatically update as new data is added.
The Data Validation tool in Excel allows you to not only create drop-down lists but also improve user experience with input messages and custom error alerts. To learn more about it click here.
Conclusion
Now that you know how to make a dynamic dependent drop-down list in Excel, you can apply these methods to create more interactive and efficient spreadsheets. Whether you choose to use Excel tables, the OFFSET or UNIQUE formulas, or custom input and error messages, each method offers unique benefits for organizing and managing your data. By applying these techniques, you can enhance user interaction, minimize errors, and optimize your Excel workbooks for better data management.
Similar Reads
How to Create a Dependent Drop Down List in Excel
Dependent Down Lists allow you to validate the data and make the data entry and data filtering very smooth and time-saving. Dependent Down Lists increase the chances of fewer errors in one's worksheet. The prerequisites for learning Dependent Drop Down List are Create from Selection and Drop Down Li
9 min read
How to Create a Dynamic Chart with Drop down List in Excel?
The Dynamic Charts are the chart that gets updated itself when the range of underline data changes. In these types, of charts the dynamic range is used as the source data of the chart. So, as the data changes the dynamic range gets updated instantly which further updates the chart according to the n
4 min read
How to Edit, Copy and Delete Drop Down List in Excel
Excel is a versatile tool used globally for various data management tasks, including the use of drop-down lists to simplify data entry and ensure consistency. However, there might be times when you need to modify these lists to keep up with changes in data or requirements. These essential techniques
11 min read
How to Create a Drop-Down List in Excel: 2 Easy Methods
How to Build Drop Down Menu in Excel: Quick StepsOpen MS Excel Spreadsheet >> Enter List Items Select Cell >> Go to Data Validation Choose List Option Set the Source >>Click OKHave you ever typed the same data repeatedly in Excel, only to make typos or inconsistencies? A drop-down
9 min read
Excel Dynamic Chart Linked with a Drop-down List
Dynamic Chart using drop-down list is very helpful when we deal with tons of grouped data and perform comparative analysis. For example, an E-commerce site sells different types of products. They can create a drop-down list for every product and in the chart, they can see the sales details in the la
4 min read
Dynamic Map with Drop-Down in Excel
The map charts are generally used to compare the data values and show different categories across the geographical region. In excel we use map char to visualize the KPI (Key Performance Indicator) and represent the distribution of KPI across multiple geographical regions for any specific category. I
4 min read
How to Make a Dynamic Gantt Chart in Excel?
The Gantt chart is named after Henry Gantt, an American mechanical engineer and management consultant who devised it in the 1910s. In Excel, a Gantt diagram displays projects or tasks as cascading horizontal bar charts. A Gantt chart depicts the project's breakdown structure by displaying start and
4 min read
How to Create a Dynamic Pie Chart in Excel?
In Excel, Pie-chart is a graphical representation of different sections or sectors of a circle based on the proportion, it holds from the complete quantity. Pie-charts are generally categorized into two types: Static Pie-chart: A pie-chart created with static or fixed input values is known to be a s
3 min read
How to Create a Dynamic Chart Range in Excel?
A Dynamic chart range is the range of a data set which automatically updates on any modifications in the original data set. It is beneficial because at some point in time we need to add or delete data from the original data set. So, we want a method to automatically update the chart on performing an
5 min read
How to Create Dynamic Chart Titles In Excel?
Excel is a tool that is generally used by accounting professionals for financial data analysis but can be used for different purposes. It can be used for data visualization, data analysis, and data management, which uses spreadsheets for managing, storing, and visualizing large volumes of data. Cell
2 min read