How to Create a Drop-Down List in Excel (Step by Step)

Create a drop-down list

To create a drop-down list in Excel, follow these steps.

1.On the second sheet, type the items you want to appear in the drop-down list.

Items

Note: If you do not want users to access items on Sheet 2, you can hide Sheet 2. To do this, right-click the Sheet 2 tab and click Hide.

2.On the first sheet, select cell B1.

Select Cell

3.On the Data tab, in the Data Tools group, click Data Validation.

Click Data Validation

The “Data Validation” dialog box appears.

4.Click in the Source box and select the range A1:A3 on Sheet2.

5.In the Allow box, click List.

Validation Criteria

6.Click OK.

Result :

Drop-down List in Excel

Note: To copy/paste a drop-down list, select the cell containing the drop-down list and press CTRL + c, select another cell and press CTRL + v.

7.You can also enter items directly in the Source box, instead of using a range reference.

Simple Drop-down List

Note: The drop-down list is case sensitive. For example, if a user types yes, an error alert is displayed.

Allow other entries

You can also create a drop-down list in Excel that allows other entries.

1. First, if you type a value that is not in the list, Excel displays an error alert.

Error Alert

To allow other entries, follow these steps.

2.On the Data tab, in the Data Tools group, click Data Validation.

Click Data Validation

The “Data Validation” dialog box appears.

3.In the Error Alert tab, uncheck the box “Show an error alert after invalid data entry”.

Allow Other Entries

4.Click OK.

5.You can now enter a value that is not in the list.

Manual Input

Add/remove items

You can add or remove items from a drop-down list in Excel without having to open the “Data Validation” dialog box and change the range reference. This saves time.

1. To add an item to a drop-down list, navigate to Items and select an item.

Select Item

2. Right-click, and then click Insert.

Click Insert

3. Select “Shift Cells Down” and click OK.

Shift Cells Down

Result:

New Range Reference

Note: Excel automatically changed the range reference from Sheet2!$A$1:$A$3 to Sheet2!$A$1:$A$4. You can check this by opening the “Data Validation” dialog box.

4. Enter a new item.

Type New Item

Result:

Updated Drop-down List

5. To remove an item from a drop-down list, in step 2, click Delete, select “Caps Up” and click OK.

Dynamic drop-down list

You can also use a formula that updates your drop-down list automatically when you add an item to the end of the list.

1. On the first sheet, select cell B1.

Select Cell

2. On the Data tab, in the Data Tools group, click Data Validation.

Click Data Validation

The “Data Validation” dialog box appears.

3. Click the Source box and enter the formula:
=OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A),1)

4. In the Allow box, click List.

OFFSET function

Explanation: OFFSET function takes 5 arguments. Reference: Sheet2!$A$1, rows to offset: 0, columns to offset: 0, height: COUNTA(Sheet2!$A:$A) and width: 1: COUNTA(Sheet2!$A:$A) and width: 1. COUNTA(Sheet2!$A:$A) counts the number of values ​​in column A of Sheet2 that are not empty. When you add an item to Sheet2’s list, COUNTA(Sheet2!$A:$A) increases. Therefore, the range returned by the OFFSET function expands and the drop-down list is updated.

5. Click OK.

6. On the second sheet, simply add a new item at the end of the list.

Add New Item

Result:

Dynamic Drop-down List

Delete a drop-down list

To delete a drop-down list in Excel, follow these steps.

1. Select the cell containing the drop-down list.

Select Cell with Drop-down List

2. On the Data tab, in the Data Tools group, click Data Validation.

Click Data Validation

The “Data Validation” dialog box appears.

3. Click Clear All.

Click Clear All

Note: To remove all other drop-down lists with the same settings, check the “Apply these changes to all other cells with the same settings” box before clicking Clear All.

4. Click OK.

Dependent drop-down lists

Want to learn more about drop-down lists in Excel? Learn how to create dependent drop-down lists.

1. For example, if the user selects Pizza from a first drop-down list.

First Drop-down List

2. A second drop-down list contains Pizza items.

Second Drop-down List

3. But if user selects Chinese in the first dropdown, the second dropdown contains Chinese dishes.

Dependent Drop-down Lists in Excel

The magic of the painting

You can also store your items in an Excel table to create a dynamic drop-down list.

1. On the second sheet, select an item from the list.

Select List Item

2. On the Insert tab, in the Tables group, click Table.

Insert Table

3. Excel automatically selects the data for you. Click OK.

Create Table

4. If you select the list, Excel displays the structured reference.

Structured Reference

5. Use this structured reference to create a dynamic drop-down list.

Table and INDIRECT

Explanation: Excel’s INDIRECT function converts a text string into a valid reference.

6. On the second sheet, simply add a new item at the end of the list.

Add Item

Result:

Dynamic Drop-down List

Note: Try it yourself. Download the Excel file and create this drop-down list.

7. When using tables, use the UNIQUE function in Excel 365/2021 to extract unique items from the list.

Unique List Items

Note: This dynamic table function, entered in cell F1, fills multiple cells. Wow ! This behavior in Excel 365/2021 is called padding.

8. Use this spill range to create a magic dropdown.

Create Drop-down List

Explanation: Always use the first cell (F1) and a hash character to refer to a spill range.

Result :

Drop-down List With Unique Values

Note: When you add new records, the UNIQUE function automatically extracts the new unique items from the list and Excel automatically updates the drop-down list.