• Release:
  • Update:

How to create drop-down list in Excel

Have you ever created drop-down lists in Excel? It helps your work more efficient.

Here's some merits to use it.

  • Prevent mistyping
  • Don't have to remember what you enter
  • Enter contents with the same format

Especially, it's useful when you sort data with filter.

You can learn how to create drop-down lists, using data validation and refering to data in other worksheets.

What is a drop-down list?

A drop-down list is defined like this.

It is a way to select an item on operating screen of OS with GUI or Web pages, only one item can be selected from several items.
When the button is clicked, the list of items are displayed. It's also called pull-down list.

In Excel, it's the list that is shown by clicking ▼ and you can choose one item from there. It's also called drop-down menu or pull-down list.

How to create a drop-down list

Text entry

Enter "Select" in a cell which you want to create a pull-down list.

STEP1 Select the Data Validation

Select data validation

Select【Data Validation】under the【Data】 tab.

STEP2 Select the List in the dialog box

Select list

Click【Any value】and select 【List】 in the Data Validation dialog box.

Check In-cell dropdown

Make sure that 【In cell dropdown】is checked and【Source】is empty.

STEP3 Enter values in 【Source】

Enter Source

Enter values which you want to show in the list in【Source】entry box. In this example, we enter "Apple", "Banana", "Orange". These words must be separated by commas. Then click 【OK】.

Complete

Check dropdown

【▼】apper on the right of the cell, when "Select" cell is selected.

Display dropdown

When【▼】is clicked, the drop-down list is shown. Then you can select a value from the list.

How to create a drop-down list refer to data in a worksheet

Dropdown data

You can also create a drop-down list refer to the data in a worksheet. For the first, enter the list in the worksheet as seen above.

Dropdown dialog box

Open【Data Validation】dialog box as explained above, and click the icon which placed the right of the source entry box.

Data selection

Drag-select the data.How to edit a drop-down list.

Data selected dialog box

Then the selected area is entered in【Source】. In this case, "$D2$2:$D$4" is entered. Click 【OK】.

How to edit a drop-down list

Revise a list

Revise list

Select the cell which is applied the drop-down list which you want to revise and open 【Data Validation】dialog box. Then you can change the values in【Source】.

In this case, we change it from "Orange" to "Lemon".

Check list

The revision is reflected on the list.

Add values in a list

Add list

Add "Grape" in【Source】.

Check added list

It's refrected to the list.

Clear a list

Clear dropdown list

Open 【Data Validation】dialog box and click 【Clear All】.

Complete clearing dropdown list

The setting is back to the default. Click【OK】, then the cell is back to normal.

Select a value by using a keyboard

It is hassle to click 【▼】every time when you select a value. The shortcut key makes it easier.

Select by keyboard

Press Alt + ↓ and the drop-doen list is shown.

Complete by End

Press ↑ or ↓ to select. Press Home to move the top, End to move to the last.

Press Enter to complete, then the value is entered in the active cell.

Advanced functions

Refer to data in another worksheet

You already learned to creat a drop-down list referring to data in the same worksheet. Now you can learn to create a drop-down list referring to data in another worksheet.

Define name selection

Drag-select data in another sheet

Select define name

Click 【Define Name】under the【Formulas】tab.

Enter name

Enter name which you want to define. In this case, we enter "Fruits". Then click 【OK】.

Enter name on data validation

Go to the worksheet which you want to create a drop-down list and open【Data Validation】dialog box. Enter "=Fruits" in 【Source】and click 【OK】.

Refrect defined name

The data in Sheet2 appers as the drop-down list in Sheet1.

Counting cells which are selected from drop-down list

Here we introduce a way to count drop-downed cells.

Create status

For example, applying the drop-down lists "Waiting / Working / Completed" for each task, when you manage tasks in Excel.

Insert COUNTIF

When you just select each status from drop-down list, it's hard to know how many tasks are in waiting. Let's diaplay the number in each status.

Enter "=COUNTIF(B2:B11,"Waiting")" in D2, "=COUNTIF(B2:B11,"Working")" in E2, "=COUNTIF(B2:B11,"Completed")" in F2.

Now the numbers of tasks are shown in each status.

We used COUNTIF function to count the number of each status. It works when you insert "=COUNTIF(range, criteria)".

Color with Conditional formatting function

When you want to classify the items, you can use 【Conditional Formatting】.

Select new rule

Drag-select the area which you want to classify. Then select【New Rule】under【Conditional Formatting】in【Home】tab.

Enter specific text

Select 【Format only cells that contain】and change 【Cell Value】to【Specific Text】.

Enter the words which you want to classify in the box next to 【containing】. In this case, enter "Completed".

Then click 【Format...】.

Determine format

【Format Cells】dialog box is diaplayed.

Select 【Fill】tab and select the color. In this case, we chose yellow green. Then click【OK】.

Check conditional formatting

When "Completed" are selected, cells which applied the conditional format will be filled the color.