Autofill in drop down list Excel

I have an excel column where a drop down validation is performed on a list on a separate sheet. I would like to allow the user to start typing in the cell and have the names on the reference list begin to fill in cell. For example, on the list I am validating against there may be a Smith, John, Scythe, Jane, and Mary, Typhoid. Instead of tapping the drop down, I want to be able to type "S", have both of the "S" last names appear in the drop down, type "m" and have Smith, John be the only option left. If invalid data is entered, nothing should save (or some other default behavior similar to validation should occur). I am trying to avoid using the drop down selectors because the users are on tablets and find the drop down cumbersome

Is this possible, and if so how?

See all How-To Articles

This tutorial demonstrates how to use autocomplete with a data validation drop-down list in Excel and Google Sheets.

Autofill in drop down list Excel

Data Validation and AutoComplete

Creating a drop-down list in Excel using data validation is useful in restricting the data input allowed.  However, if the drop down list has a large number of items, scrolling down the list looking for the correct entry could become cumbersome.   This is due to the fact that the drop down list does not automically auto complete based on the items that are contained within the list.   To enable the list to auto complete, we can use a neat shortcut trick that will solve this problem.

The first step is to type the list of entries that we wish to have in our data validation drop down list into Excel.  This list needs to end in the cell DIRECTLY above the heading of the drop down list.  There can not be an empty cell between this list, and the drop down list.

Autofill in drop down list Excel

Once we have created the list, we  can then create our data validation drop down list.

Click in the cell directly below the last item on the list (ie C10) and type in the heading that you require for your drop down list.

Autofill in drop down list Excel

Then, in the cell below that, we can create the drop down validation.

In the Ribbon, select Data > Data Validation.

Autofill in drop down list Excel

In the Data Validation window, (1) choose List in the Allow drop-down, and (2) click on the arrow next to the Source box.

Autofill in drop down list Excel

Select a range of cells with items (C1:C9) and press Enter.

Autofill in drop down list Excel

Click OK to confirm and exit the Data Validation window.

Autofill in drop down list Excel

You can now select a name from the drop down list in C11.

Autofill in drop down list Excel

Now, due to the fact that the source list is directly above the drop down list, if you were to start typing one of the name in the source list, Excel will automatically start suggesting a name from the list.  You can then just type Enter or Tab to confirm the entry.

Autofill in drop down list Excel

To protect the values in the drop down list (so that the user doesn’t delete or amend values by mistake and to make the worksheet look more appealing!), we can hide the rows that contain the source data for the list.

Select the rows that contain the items in the drop down list and then click the right-mouse button, and click Hide.

Autofill in drop down list Excel

You can still then select from the drop down list, and autocomplete will still work!

Autofill in drop down list Excel

AutoComplete for drop down lists will help you to speed up filling in the correct data from the data validation list.   The method described above is one way of enabling auto complete to work.  We can also use VBA code to enable this to happen.  However, at the moment this feature is being beta tested by the Microsoft team so that this work around described above may not be necessary in future versions of Excel as it should become a built in feature!

AutoComplete With Data Validation in Google Sheets

In Google Sheets, you can create a data validation drop down list – but the source list does not have to be above the data validation drop down list.

Autofill in drop down list Excel

It can be next to the drop down  list, or even in a different sheet from the drop down list.  Regardless of where you choose to put the source of your drop down list, Google Sheets automatically will autocomplete for you when you select an item from the list.

Autofill in drop down list Excel