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?

Keep informed about happy workplaces

Sign up to Henry's monthly Happy Manifesto newsletter, full of tips and inspiration to help you to create a happy, engaged workplace.

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:

Example data

Let’s assume we have set up data validation on the Area field so that we can choose from North or South:

Data validation set up

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:

Dependent data

Dependent data

To do this, we have to first set up some named ranges that contain the appropriate values:

Named ranges

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:

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.

Related Blogs

Learn the 10 core principles to create a happy and productive workplace in Henry Stewart's book, The Happy Manifesto.

Support your aspiring and current managers to be empowering and confident leaders with Happy

Happy offers leadership programmes at Level 3, Level 5 and Level 7, from new managers/supervisor level all the way up to senior leadership teams and CEOs. These programmes are based on the ideas of trusting your people. They are practical and based on applying what yo’ve learnt. We aim to inspire and ignite change in your organisation, as well as giving you valuable management skills such as business strategy, decision-making, negotiation and project management.

We also offer programmes tailored specifically to people from Global Majority backgrounds. The content is the same, but have been designed to give new and experienced managers the skills they need to navigate organisational culture with a clearer perspective on their own potential, as well as building their confidence and expanding their professional strengths.

Ian Balboa

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.

What you should look at next