How to Create Searchable Drop Down List in Excel?

Searchable Drop Down List in Excel transforms your spreadsheets into highly interactive and user-friendly tools, enhancing data entry and retrieval efficiency. This feature is crucial for managing large datasets, improving user navigation, and ensuring data accuracy. By integrating a searchable drop-down list in Excel workbooks, you can streamline workflows, reduce data entry errors, and provide a more engaging experience for users. Master this functionality to take your Excel skills to the next level and make your data management tasks more effective and less time-consuming.

This Content Covers:

  1. How to Create Searchable drop down list in Excel Using VBA?
    • Insert and Configure a Drop-Down box
    • Setting the Data
    • Inserting a Short VBA Code in VBA Module
  2. How to Create Searchable Drop Down List in Excel without VBA? (For Microsoft 365 only)
    • Formula Input and Data Sort
    • Insert Drop-Down box from Data Validation Tab
    • Inserting Formula for Returning Other Information Linked to the Drop-Down Box Data
  3. How to Search Data from Searchable Drop-Down Box?
    •  Search Data from the Box Created With VBA
    •  Search Data from the Box Created Without VBA

1. How to create Searchable Drop Down list in Excel using VBA?

Here we have a list of country names. We will show you how you can create a searchable  dropdown list for these set of names using Excel VBA.

Searchable Drop Down List in Excel

1.1 Insert and Configure a Drop-Down box to Create a searchable Drop

Step 1: Go to Developer>>Insert. From the drop down-menu, select this icon named Combo Box (Active X Control) marked inside the picture.

Searchable Drop Down List in Excel

Step 2: Click on anywhere in your worksheet and a drop-down box will be inserted immediately.

Searchable Drop Down List in Excel

Step 3: Right click on your search box and click on Properties.

Searchable Drop Down List in Excel

Step 4: From Properties dialogue box, select False from AutoWordSelect, select B3 or any cell which you want to link with your search box in Link Cell box, for MatchEntry box select MatchEntryNone, type DropDownList inside the box labeled as ListFillRange. Now close the box.

Searchable Drop Down List in Excel

Step 5: Click on Design Mode from Developer tab. This will deactivate the edit mode and you will be able to type inside the search box.

Create Searchable Drop-Down List

1.2 Setting the Data to Create a Searchable Drop-Down List

Now you will have to create few helper columns and a dynamic named range to set the data from your worksheet. Follow the steps below.

Step 1: Select cell G3 and insert the formula given below. Drag the cell down o G11. This formula will return 1 if the text in the box is there and 0 if its not there.

=–ISNUMBER(IFERROR(SEARCH($B$3,E3,1),””))

Searchable Drop Down List in Excel

Step 2: Insert the below-given formula in cell G3 and click Enter. Now drag the cell downwards to apply the formula in all those cells. When the Combo Box text matches the country name, this formula returns 1 for the first instance and 2 for the second instance and so on.

=IF(G3=1,COUNTIF($G$3:G3,1),””)

Create Searchable Drop-Down List

Step 3: Insert this following formula inside cell I3 and drag it down to I11. This formula stacks all the matched names together without any blank cells in between.

=IFERROR(INDEX($E$3:$E$11,MATCH(ROWS($H$3:H3),$H$3:$H$11,0)),””)

Create Searchable Drop-Down List

Step 4: Go to Formulas>>Name Manager and from the dialogue box select New.

Create Searchable Drop-Down List

Step 5: Inside the Name box type DropDownList and insert the below given formula inside the box named Refers to. As my sheet name is Data so its showing Data instead of Sheet1 in the formula. Click Ok>>Close.

=Data!$I$3:INDEX($I$3:$I$11,MAX($H$3:$H$11),1)

Create Searchable Drop-Down List

1.3 Inserting a Short VBA Code in VBA Module

Step 1: Right click on the worksheet name and select View Code.

Create Searchable Drop-Down List

Step 2: Insert the formula given below inside the VBA module and click RUN. Your searchable drop-down list has been created.

Private Sub ComboBox1_Change()

ComboBox1.ListFillRange = “DropDownList”

Me.ComboBox1.DropDown

End Sub

Create Searchable Drop-Down List

2. How to Create a Searchable Dropdown List in Excel without VBA? (For Office 365 only)

Here we have a worksheet containing some data. We will show you how you can create a searchable drop-down list using this list of items without VBA.

Create Searchable Drop-Down List

2.1 Formula Input and Data Sort

Step 1: Select cell I1 and enter the formula given below in that cell. Press ENTER. Here we use the FILTER Function, SORT Function, SEARCH Function and ISNUMBER Function.

=SORT(FILTER(F2:F10,ISNUMBER(SEARCH(B5,F2:F10)),”not found”))

Create Searchable Drop-Down List

2.2 Insert Drop-Down box from Data Validation Tab

Step 1: Select cell B5 and then go to Data>>Data Validation to select the data validation list.

Create Searchable Drop-Down List

Step 2: Inside the Data Validation dialogue box, select List from the box named as Allow. Now copy and paste or type the formula given below inside Source box. Select Error Alert tab and uncheck the Show Alert box. Click on Apply. A drop-down check box has been inserted in cell B5.

=$I$1#

Create Searchable Drop-Down List

2.3 Inserting Formula for Returning Other Information Linked to the Drop-Down Box Data

Step 1: Select Cell C5 and insert the formula given below. Press Enter key to filter from a range of cells.

=FILTER(G2:G10,F2:F10=B5,””)

Create Searchable Drop-Down List

3. How to Search Data from Searchable Drop Down Box?

3.1 Search Data from the Box Created With VBA

Step 1: Click on the drop-down bar and some of the data will be available for you to select from the drop-down list.

Create Searchable Drop-Down List

Step 2: If the data or name you’re looking for isn’t there initially then start typing the data and you’re drop-down list will narrow the options for you and return you the data your’e searching.

Searchable Drop Down List in Excel

3.2 Search Data from the Box Created Without VBA

Step 1: You may choose from the drop-down list when you click the drop-down bar to access some of the data. If the information or name you’re looking for isn’t present at first, start putting it in, and your drop-down list will restrict the available choices and give you the information you need.

Searchable Drop Down List in Excel

Step 2: When you insert a name that is present in the initial data list, it will return you with that name’s sales value too in the next cell as shown in the picture below.

Searchable Drop Down List in Excel

Application of a Searchable Excel Drop Down List

  • User-Friendly Data Entry: Create searchable drop-down lists to streamline data entry processes, allowing users to quickly find and select items, enhancing accuracy and efficiency.
  • Large Inventory Management: Use searchable drop-down lists to manage extensive inventories, enabling easy access to thousands of items without scrolling through long lists.
  • Customer Information Retrieval: Implement searchable drop-down lists for customer databases, allowing staff to rapidly find and select customer names or IDs when entering or referencing orders and queries.
  • Survey or Form Responses: Apply searchable drop-down lists in surveys or forms to make it easier for respondents to answer questions based on a large set of predefined options, improving response quality and user experience.
  • Employee or Resource Scheduling: Utilize searchable drop-down lists to assign employees or resources in scheduling documents, simplifying the process of locating and allocating personnel or assets.
  • Data Analysis Filtering: Embed searchable drop-down lists in data analysis sheets to quickly filter datasets based on key attributes, facilitating faster and more dynamic data exploration.

You may be interested:

    1. Financial Dashboards
    2. Sales Dashboards
    3. HR Dashboards
    4. Data Visualization Charts

Leave a Comment

Your email address will not be published. Required fields are marked *

Categories