Skip to main content

How to autocomplete when typing in Excel drop down list?

Author: Siluvia Last Modified: 2025-04-18

For a data validation drop-down list with many items, you need to scroll up and down in the list to find the one you need or type the whole word into the list box correctly. Is there any way to make the drop-down list auto-complete when typing the corresponding characters? This would help people work more efficiently in worksheets with drop-down lists in cells. This tutorial provides two methods to help you achieve it.

A screenshot demonstrating autocomplete functionality in an Excel drop-down list

Make drop down lists autocomplete with VBA code
Easily make drop-down lists autocomplete in 2 seconds

More tutorials for drop down list...


Make drop down lists autocomplete with VBA code

Please do as follows to make a drop down list autocomplete after typing corresponding letters in the cell.

Firstly, you need to insert a combo box into the worksheet and change its properties.

  1. Open the worksheet that contains the drop down list cells you want to make them autocomplete.
  2. Before inserting a Combo box, you need to add the Developer tab to the Excel ribbon. If the Developer tab is showing on your ribbon, shift to step 3. Otherwise, do as follows to get the Develper tab show up in the ribbon: Click "File" > "Options" to open the "Options" window. In this "Excel Options" window, click "Customize Ribbon" in the left pane, check the "Developer" box, and then click the "OK" button. See screenshot:
    A screenshot showing the Excel Options window where the Developer tab is enabled
  3. Click "Developer" > "Insert" > "Combo Box (ActiveX Control)".
    A screenshot of selecting Combo Box under Developer tools in Excel
  4. Draw a combo box in current worksheet. Right click it and then select "Properties" from the right-clicking menu.
    A screenshot illustrating drawing and selecting properties for a Combo Box in Excel
  5. In the "Properties" dialog box, please replace the original text in the "(Name)" field with "TempCombo."
    A screenshot of the Properties dialog for a Combo Box in Excel, renaming it to TempCombo
  6. Turn off the "Design Mode" by clicking "Developer" > "Design Mode."

Then, apply the below VBA code

  1. Right click on current sheet tab and click "View Code" from the context menu. See screenshot:
    A screenshot showing the context menu to access View Code for the current worksheet in Excel
  2. In the opening "Microsoft Visual Basic for Applications" window, please copy and paste the below VBA code into the worksheet’s Code window.
    VBA code: Autocomplete when typing in drop down list
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    'Update by Extendoffice: 2020/01/16
        Dim xCombox As OLEObject
        Dim xStr As String
        Dim xWs As Worksheet
        Dim xArr
        
        Set xWs = Application.ActiveSheet
        On Error Resume Next
        Set xCombox = xWs.OLEObjects("TempCombo")
        With xCombox
            .ListFillRange = ""
            .LinkedCell = ""
            .Visible = False
        End With
        If Target.Validation.Type = 3 Then
            Target.Validation.InCellDropdown = False
            Cancel = True
            xStr = Target.Validation.Formula1
            xStr = Right(xStr, Len(xStr) - 1)
            If xStr = "" Then Exit Sub
            With xCombox
                .Visible = True
                .Left = Target.Left
                .Top = Target.Top
                .Width = Target.Width + 5
                .Height = Target.Height + 5
                .ListFillRange = xStr
                If .ListFillRange = "" Then
                    xArr = Split(xStr, ",")
                    Me.TempCombo.List = xArr
                End If
                .LinkedCell = Target.Address
            End With
            xCombox.Activate
            Me.TempCombo.DropDown
        End If
    End Sub
    Private Sub TempCombo_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
        Select Case KeyCode
            Case 9
                Application.ActiveCell.Offset(0, 1).Activate
            Case 13
                Application.ActiveCell.Offset(1, 0).Activate
        End Select
    End Sub
    A screenshot showing VBA code added to enable autocomplete in Excel drop-down lists
  3. Press "Alt + Q" keys simultaneously to close the Microsoft Visual Basic Applications window.

From now on, when click on a drop down list cell, the drop down list will prompt automatically. You can start to type in the letter to make the corresponding item complete automatically in selected cell. See screenshot:

A screenshot demonstrating autocomplete functionality in an Excel drop-down list

Note: This code does not work for merged cells.

Easily make drop-down list autocomplete in 2 seconds

For most Excel users, the above VBA method is hard to master. But with the "Searchable Drop-down List" feature of Kutools for Excel, you can easily enable autocomplete for data validation drop-down lists in a specified range in just 2 seconds. What’s more, this feature is available for all Excel versions.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...
  1. To enable autocomplete in your dropdown lists, first select the range with the dropdowns. Then, navigate to the "Kutools" tab, choose "Drop-down List" > "Make Drop-down List Searchable, Auto-popup."
  2. In the "Make the Drop-down List Searchable" dialog box, click the "OK" button to save the setting.
  3. A screenshot of Kutools’ settings for enabling searchable drop-down lists in Excel

Result

Once the configuration is complete, clicking on a drop-down list cell within the specified range will bring up a list box. When entering characters, as long as one item matches exactly, the entire word is immediately highlighted in the list box and can be populated into the drop-down list cell simply by pressing the Enter key.

A demonstration of the autocomplete feature in Excel drop-down lists using Kutools

Note: To apply this feature, please download and install Kutools for Excel. Or you can click to know more about this feature.

Related articles:

How to create drop down list with multiple checkboxes in Excel?
Many Excel users tend to create drop down list with multiple checkboxes in order to select multiple items from the list per time. Actually, you can’t create a list with multiple checkboxes with Data Validation. In this tutorial, we are going to show you two methods to create drop down list with multiple checkboxes in Excel. This tutorial provides the method to solve the problem.

Create drop down list from another workbook in Excel
It is quite easy to create a data validation drop down list among worksheets within a workbook. But if the list data you need for the data validation locates in another workbook, what would you do? In this tutorial, you will learn how to create a drop fown list from another workbook in Excel in details.

Create a searchable drop down list in Excel
For a drop down list with numerous values, finding a proper one is not an easy work. Previously we have introduced a method of auto completing drop down list when enter the first letter into the drop down box. Besides the autocomplete function, you can also make the drop down list searchable for enhancing the working efficiency in finding proper values in the drop down list. For making drop down list searchable, try the method in this tutorial.

Auto populate other cells when selecting values in Excel drop down list
Let’s say you have created a drop down list based on the values in cell range B8:B14. When you selecting any value in the drop down list, you want the corresponding values in cell range C8:C14 be automatically populated in a selected cell. For solving the problem, the methods in this tutorial will do you a favor.

More tutorials for drop down list...

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!