How to Make a Dynamic Data Validation Drop-Down List in Excel
Are you fed up with having to continually add new data to your data validation drop-down lists? Are you also fed up with having to modify the source data to extend the list manually each time new data has been entered?
In this blog, Edmund, one of our Office experts, will show you how to make dynamic data validation drop-down lists and extend the lists automatically when new data is entered.
Hi, we are Happy
We are leading a movement to create happy, empowered and productive workplaces.
How can we help you and your people to find joy in at least 80% of your work?
Step 1: Create an Excel Table (Format as Table) for the source data list
To create a dynamic data validation drop-down list, you need to create an Excel Table first, and then apply the Data Validation feature.
Create the list you want to use as the source data for the drop-down list. In this example, we’ve created a list of Job Titles in Column F.
Select the data list (Cell reference from F1 to F4) and click the “Format As Table” icon from the Home tab.
Next, choose your choice of colour from the list.
If your data list has headers (such as Job Title), go to the Create Table dialog box and apply the checkbox where that says My table has headers.
Click the OK button and the table has now been created.
Step 2: Define a range name for the Excel Table
Select the data table you have created, except for the header (e.g. F1: Job Title), and type a name for this table in the Name box, such as Job_Title. Excel doesn’t allow spaces and most punctuation characters between words hence the spaces are replaced with underscores.
Press the Enter (Return) key to record the new name, otherwise the name you have typed will return its cell reference.
Note: Don’t worry if once you have entered the name in the Name box, it goes back to the same name as before e.g. Table1. It has been recorded with a new name as long as you pressed the Enter (Return) key after typing the new name.
Step 3: Create a dynamic data validation list
After defining the name for the data table, select the cells in which you want the drop-down lists to appear, e.g. from B4 to B15:
Select Data Validation under the group name Data Tools from the Data tab:
In the Data Validation dialog box, under the Settings tab, select List from the Allow section and enter this formula: =Job_Title (Job_Title is the name you created for the data table in step 2) into the Source text box. Click the OK button.
Step 5: You're done!
The drop-down list has been created and should appear in the selected cells (Cell reference from B4 to B15).
When you add new data to the source list, such as Sales Admin and Sales Broker in Cell Reference F5 and F6 respectively, it will automatically be added to the drop-down list:
Why not sign up to our newsletter?
Sign up to our monthly newsletter, full of tips, tricks and news to help you to be happier and more productive at work.
Learn More Excel Tips in Our Interactive Training Courses
With our Excel training courses, you can learn in the way that suits you best - whether that's face-to-face in the classroom or online via Zoom. Both methods are live and interactive, with trainers who will engage you with questions, activities and examples.
Our Introduction to Excel course covers all you need to get started with Excel, including creating a simple spreadsheet with basic formulas, working with long lists of data, and data visualisation (conditional formatting and creating charts). Find out more here.
Our Excel for Intermediate Users course covers more time-saving techniques, such as Conditional Formatting, range names and more advanced formulas such as Average, Min/Max and Count IF. You'll also learn how to create a basic Pivot Table to summarise large sets of data quickly. Find out more here.
We can also create custom courses for you if needed for private groups, including training whole teams and organisations. Just get in touch to discuss your requirements.
Why learn online with Happy?
- Interactive and engaging - just like our classroom sessions
- Bitesize or full-day sessions - fit around your schedule
- Learn from home - all you need is a quiet place to call from and an internet connection
- IT Helpline - 2 years of free support after your course
- No quibble money-back guarantee
Ed Lepre
Ed is a Microsoft Certified Trainer (MCT) and has worked at Happy for over 12 years. Although he trains the full suite of MS Office and non-Office packages at all levels, his favourite package is Excel. A previous winner of the prestigious Learning and Performance Institute's 'Learning Professional of the Year' award, as well as other training accolades, he is also the IT Helpline Manager.