Create Drop-down lists in Excel

Allow non-listed entries | Add/remove items | Dynamic Drop-down | Remove Drop-down

Drop-down lists in Excel enable a user to select an item from a list without actually typing it. In other words, this could be used to restrict a user from entering information that is not wanted.

Creating a Drop-down List

1. Type in your list in cells B3 to B9.

Note: You can type in this list anywhere in the spreadsheet or in a separate sheet. You can even hide the list so that users do not see it.

2. Select cell C11.

drop-down list items

3. From the Data tab, click “Data Validation”.

click data validation

4. From the Settings tab of the Data Validation dialog box, select “List” in Allow box. In the source box, select the range of your list, which is B3:B9.

data validation criteria

5. Click OK. The result is given below.

drop-down lists

6. If you do not like to select a list or do not have the list, you can also directly type in your list in the source box.

drop-down list entered in source box

Allowing Entries not on the list

1. If you try to type in a value that is not in the list, Excel will show an error message.

error alert

Now, will learn how to allow the user to enter his value anyway.

2. From the Data tab, click “Data Validation”.

click data validation

3. On the Error Alert tab of the dialog box, uncheck the “Show error alert after invalid data is entered”.

uncheck Show error alert after invalid data is entered

4. Click OK. The user can now enter a value that is not in the list.

enter value not on the list

Add or Remove an item from the list

You can also add or remove items in the list by not going to the data validation tab.

1. Select an item from the list. For instance, we select Coppell.

select an item from the list

2. Right-click and click Insert.

Click insert

3. Select “Entire row” and click OK.

select Entire row

As shown below, Excel will create an empty row above the selected cell and the range reference in the data validation will automatically be adjusted.

empty row created

4. Now, type in the new item in the empty cell (B4) and click the drop-down list.

enter new value in the empty cell

5. To delete an item from the list, click delete in step 2 above and then follow the prompt.

Create a Dynamic Drop-down List

To create a dynamic drop-down list wherein you can type in a new item in the list and Excel will automatically include the new item in the drop-down list, follow the steps below.

1. Select cell D4.

select a cell

3. From the Data tab, click “Data Validation”.

click data validation

4. From the Settings tab of the Data Validation dialog box, select “List” in Allow box. In the source box, type in the OFFSET function, which is =OFFSET($B$3,0,0,COUNTA($B:$B),1).

OFFSET function in the source box

5. Click OK.

6. Now, add new items to the end of the list.

dynamic drop-down list created

Result: The drop-down list has automatically included the new typed-in items.

Removing Drop-down List

To remove the entire drop-down list, do the following.

1. Select the cell that has a drop-down list. For instance, we select cell D4.

select cell with drop-down list

2. From the Data tab, click “Data Validation”.

click data validation

3. From the dialog box, click “Clear All” and then click OK.

Click Clear All

5 of 6 finished! Recommending more on Data Validation: Next Example >>
<< Previous Example | Skip to Next Chapter 09: Using Templates