How to Create a Searchable Dropdown in Excel — Complete Guide to Data Validation and Dynamic Arrays

Excel searchable dropdown — filtering as you type, two-level dependency, and spill hashtags, with Kkong-i pointing at a laptop in this thumbnail
How to Create a Searchable Dropdown in Excel — Complete Guide to Data Validation and Dynamic Arrays

How to Create a Searchable Dropdown in Excel — Complete Guide to Data Validation and Dynamic Arrays

Environment: Excel 365 (dynamic arrays). Using an Excel table is recommended. AI tools were used as an aid in organizing the draft, but every formula was independently reproduced and verified.

1) Overview and Selection Guide

  • Quickly Want to search and select in one cell → single-list searchable dropdown
  • Want to select only products after choosing a category → two-level dependent searchable dropdown
  • Using Excel 2016/2019 or another version without dynamic arrays → alternative for older versions

The key is to create a search cell and a spill list, then set the Data Validation Source to =spillcell#.

2) Searchable Dropdown for a Single List

2-1. Create a Table

Select the item range and press Ctrl+T → table name ItemsTbl, column name Item.

2-2. Search Input Cell (H2)

Enter a search term in H2 to display only matching items in the spill list. Leave it blank to display all items.

2-3. Spill-List Formula (A2)

=IFERROR(
  SORT(UNIQUE(
    FILTER(ItemsTbl[Item],
      IF($H$2="",
        TRUE,
        ISNUMBER(SEARCH($H$2, ItemsTbl[Item]))
      )
    )
  )),
"(No matches)")

2-4. Connect Data Validation

  1. Select the cell for the dropdown.
  2. Data ▸ Data Validation ▸ List
  3. Enter =A2# in Source → Done.

TIP Add “Enter your search term in H2” on the Input Message tab to improve the user experience.

3) Two-Level Dependent Searchable Dropdown (Category → Product)

Assume ProductsTbl has the Category and Product columns.

3-1. First-Level (Category) Dropdown

// D2: Category list (unique and sorted)
=SORT(UNIQUE(ProductsTbl[Category]))

Set the Data Validation list source to =D2#.

3-2. Second-Level (Product) Searchable and Dependent Dropdown

// Search term (H3), selected category (C3)
=IFERROR(
  SORT(UNIQUE(
    FILTER(ProductsTbl[Product],
      (ProductsTbl[Category]=$C$3) *
      IF($H$3="", TRUE, ISNUMBER(SEARCH($H$3, ProductsTbl[Product])))
    )
  )),
"(No matches)")

Connect the resulting spill range to the Data Validation list source, such as =E2#.

4) Alternative for Older Versions Without Dynamic Arrays

  1. Extract candidates in a helper column with =IF(ISNUMBER(SEARCH($H$2,$A2)), $A2, "").
  2. Create a contiguous list in another range with =IFERROR(INDEX($A:$A,SMALL(IF($B:$B<>"",ROW($A:$A)),ROW(1:1))),"") (array formula).
  3. Set the Data Validation source to the contiguous list range above.

If possible, upgrade to Microsoft 365 and use a spill-based setup.

5) Troubleshooting and Korean Search Tips

  • #SPILL! — Check whether the spill range contains values, merged cells, or images.
  • Case sensitivity → SEARCH is not case-sensitive; FIND is case-sensitive.
  • Korean jamo or special spaces → preprocess with TRIM(SUBSTITUTE(text,CHAR(160), " ")).
  • Slow performance → minimize the table range, or pre-clean the data with Power Query if needed.

6) Templates and Follow-Up Exercises

Exercise A — Display an “autocomplete” hint for recently selected values
=IFERROR(XLOOKUP($B2, $B$1:B1, $B$1:B1, ""), "")
Exercise B — Automatically fill price and stock based on the selected result
=XLOOKUP($B2, ProductsTbl[Product], CHOOSECOLS(ProductsTbl, XMATCH({"Price","Stock"}, ProductsTbl[#Headers])))

Once you have created a searchable dropdown with this article, continue with “Advanced LEFT/RIGHT/MID × FIND/SEARCH” to complete your text-processing pipeline.


Leave a Reply

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