In this tutorial, we are going to see how we can create a simple drop down list in Excel.

Video (How to create drop down list in Excel)

 

If you would like to be notified of these videos, please subscribe to our YouTube channel.

What are drop down lists?

A drop down list is a way to implement data validation and improve data entry in Excel.

  • Optionally, you can provide message to guide the user on data entry.
  • It informs the user what values are allowed
  • It allows the user to choose from a list instead of typing the value.
  • It limits what values can be entered in a cell.
  • Optionally, you can provide an error message when the user does not enter a valid value.

Can we see an example?

Let’s take a simple example.

Sample Optional Input Message
Sample Optional Input Message

In the image above, you can see the message for the user instructing what data is expected in that cell.

What is Drop Down List in Excel
What is Drop Down List in Excel

When click on the downward arrow button, we see John, Mike, and Kate. John, Mike and Kate are the allowed values

User can choose Mike from the list instead of typing the value.

If the user enters a value not in the list, it will not allow. If the user enters an invalid value, there will be an error message.

Sample Optional Error Alert Message
Sample Optional Error Alert Message

Now, we know what a drop down list is, let’s see how we can build this.

How to build a drop down list?

Step 1: Enter list of values

In a blank new sheet, let’s type the following information.

Step 1 - Enter list of values
Step 1 – Enter list of values

First value (Employee Name) refers to the header or field name. Then, we have entered names of three employees.

Step 2: Convert the data to a table

Select all four cells with data and press Ctrl+T

Step 2 - Convert to table
Step 2 – Convert to table

Please make sure that you check the box ‘My Table has headers’.

Once you hit OK, you will see that the table is created.

Step 2 - Table is Created
Step 2 – Table is Created

The Name Box will display Table1. That is the name of our Table.

Step 3: Create a name to our list

Select the list of values and then press Ctrl+F3 to open Name Manager. Or select from the Formulas ribbon as shown below.

Step 3.1 - Create a name for the List
Step 3.1 – Create a name for the List

In the following window, click on New, as we are creating a new Name.

Step 3.2 - Select New name
Step 3.2 – Select New name

In the next window that opens, specify the name we want to give. I usually provide all my lists names that start with L. For example, L_EMP as this is a list of Employee Names.

Step 3.3 - Edit the Name
Step 3.3 – Edit the Name

Step 4: Implement Data validation

We will implement first in a single cell.

Let’s select the cell where we want to apply data validation or drop down list. I am choosing cell E2.

Then select Data Validation from the Data ribbon.

Step 4.1 - Data Validation set up for a single cell
Step 4.1 – Data Validation set up for a single cell

In the following window, choose List for the ‘Allow:’

Step 4.2 - Choose Allow List
Step 4.2 – Choose Allow List

Note: There are different types of data validation that can be done in Excel. We are currently focusing on a simple drop down list of names. Hence, we are choosing ‘List’.

Then, we need to inform Excel where the List is.

Click inside the Source field. Press F3.

Step 4.3 - Select source
Step 4.3 – Select source

Choose our name L_EMP and press OK.

Step 4.4 - Select our list name L_EMP
Step 4.4 – Select our list name L_EMP

You will now see that the Source is L_EMP (our list of employee names). Press OK in the dialog box.

Step 4.5 - Press OK to complete
Step 4.5 – Press OK to complete

That’s it. Now, we have implemented the drop down list in cell E2.

Drop down list is complete
Drop down list is complete

Optional:

A couple of optional steps are  to provide the input message and error alert message. These are recommended if the user who is going to use the file is not familiar with the data and needs direction.

Entering Input Message
Entering Input Message
Entering Error Alert Message
Entering Error Alert Message

Extensions

So far, we have learnt how to implement drop-down list in one cell. Let’s look at a couple of ways to extend this technique further.

More than one cell especially when cells are far apart

You can copy this cell (which has the drop down list) and paste in another cell. The data validation and drop down list will also be copied over. So, if you need the same drop down in different cells (far apart), it is easy. Just copy and paste.

 

Inside Tables

In almost all my templates, I use drop down lists inside tables. For example, we have an Applications table where we must select the Job ID from list of available Job IDs (coming from another sheet). This means that the drop-down list should be enabled for each application. Fortunately, Excel makes it easy. We can follow similar steps as outlined earlier.

Let’s say we have a table (call it DATA table) as shown below with just two columns. Employee Number and Employee Name. We want to implement drop down list for Employee Name column.

Implementing Drop down lists in a Table
Implementing Drop down lists in a Table

Select the three cells in Employee Name column.

Then, follow steps as mentioned earlier to choose L_EMP as source of our data validation list.

Select the List as source
Select the List as source

That’s it.

Drop down list Implemented in Table
Drop down list Implemented in Table

The amazing part of this method is that 1) the list of values can grow over time and 2) the data table cells can also be extended without any issues.
If we enter a fourth row in the DATA table. Type 4 in Employee Number and see that the Employee Name column will have a drop down for the fourth row as well automatically.

Drop down list works in new rows as well
Drop down list works in new rows as well

 

Note of Caution

Drop down lists are not perfect when it comes to data validation. There are ways invalid values might get into the cells. An error icon will appear in such cases.

Error Icon in Drop Down list
Error Icon in Drop Down list

When you click on the cell, you will see the following message.

Drop Down list - Error Message
Drop Down list – Error Message

A couple of reasons for this to happen

  1. If we copy (from somewhere) and paste values in the cell, they don’t return errors and Excel allows the invalid values.
  2. After we implement the drop down list and have entered some values in our DATA table, if we change our List of Values, DATA Table will not update automatically.

Please take care and ensure that the above two scenarios do not happen with your file. If it happens, please fix the data entry and update the cell value to a valid one from the list.


Adding drop-down lists enhances the user experience in Excel templates and I use this technique in all my templates. I hope this tutorial is useful to you.