How to Improve Your Excel Spreadsheets With Data Validation
Have you ever seen an Excel spreadsheet with a dropdown list in it and wondered how it was done?
This is data validation. Data validation improves the data in your spreadsheets. It makes reporting much easier as there is no risk of typos and no risk of an entry not fitting into your criteria.
In this blog we will take data validation a step further and look at how to make one drop-down list change its values depending on the choice made in a previous drop-down.
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?
It’s a great way to make data entry easier, and to avoid spelling mistakes that lead to inconsistent values when analysing your data. In this blog we will take data validation a step further and look at how to make one drop-down list change its values depending on the choice made in a previous drop-down. We will be working with this sales data as an example:
Let’s assume we have set up data validation on the Area field so that we can choose from North or South:
What we would like is for the drop-down in the Centre field to show us only centres from the North, or only centres from the South, dependent upon our initial choice:
To do this, we have to first set up some named ranges that contain the appropriate values:
The range names you use must much the values from the first list. When the first value is chosen, this can then be used to create the range name to specify the dependent list. To do this, you must use the INDIRECT function within the Source box of the Data Validation pop-up:
NOTE: When you write the INDIRECT function, you must remember to remove the dollar sign from the row part of the cell reference; otherwise it will always refer to the same cell and will not pick up the correct value for that row.
The INDIRECT function takes the value from column A and turns it into a range name. The values in this range are then used as the source for the data validation list.
- Calculations on a Filtered List in Excel - In this blog, learn how to create a dropdown filter in your Excel spreadsheets.
- Save Time in Excel with Autofill - Learn how to use the useful tool Autofill. Nicky explains how in the two minute video.
- How Microsoft Excel Can Increase Your Productivity - Billy talks about some of the reasons why Microsoft Excel is so indispensable to productive workplaces in this blog.
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.
Ian was an IT trainer with Happy from 2007 to 2018, first as a member of staff and then as an associate. He delivered IT training in Microsoft Office (Word, Excel, PowerPoint, Access, Outlook) as well as VBA, SQL, HTML and Photoshop.
Testimonials from happy Customers
Ruby Alden-Gibson1 day ago
Really enjoyed the course. It was informative and I learnt loads!
Trusted Customer2 days ago
Very good, the process was easy and communication good. Mostly spoke to Laura so it would be good if all her emails had come from her name email address.
Trusted Customer2 days ago
Fully satisfied with the service and location of the training.
Trusted Customer5 days ago
Trent Grassian6 days ago
An incredible training, which was so engaging and informative. Really got a lot out of it and would highly recommend itt o others!
Joanne Spear6 days ago
thanks, the course was simple and easy to follow and i found the presenters approach very friendly.
Wilma Wheatley6 days ago
The tutor was great in including everyone. answered all the questions i had before attending
Trusted Customer6 days ago
Happy's training courses enhanced my knowledge and gave me new skills which I can use in my job to make things more efficient.
Jodie Moore7 days ago
Great course with a great tutor. Very interactive with good learning experiences.
Trusted Customer7 days ago
Great course, enjoyable and useful.
Jackie Costin7 days ago
Roumiana Grigorova7 days ago
I am very happy, taking this training. I would say I am one step more confident. This was an interesting and very useful experience. Our lecture was a great, I have to sa...