Fix a FILTER Search List and Data Validation Dropdown in Excel
Question details
Update an Excel search list and data validation dropdown so they respond correctly when the search cell is cleared.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A separate search cell filters a source list, and the results feed a data validation dropdown.
- Observed behavior
- The dropdown may retain an old selection or show Not found after the search cell is cleared.
Identify the search cell, original list, FILTER output cell, and dropdown cell. Confirm that your Excel version supports FILTER and dynamic arrays, and leave the area below the FILTER formula clear for its results.
Synchronize the FILTER formula and dropdown source
Use this approach when a separate search cell controls the list shown in a data validation dropdown.
In this example, B2 is the search cell, A2:A100 is the original list, H2 is the FILTER output, and D2 is the dropdown cell. Replace these references with the cells in your workbook.
A data validation dropdown does not automatically clear an existing selection when its source changes. The blank formula result may appear as a blank entry, while Not found is a message that can also appear in the dropdown.
Select H2 and enter =IF(B2="","",FILTER(A2:A100,ISNUMBER(SEARCH(B2,A2:A100)),"Not found")). This returns a blank result when B2 is empty.
Select D2, open Data > Data Validation, choose List under Allow, and enter =H2# in the Source box. Make sure D2 is outside both the original list and the spilled result range.
Select D2 and press Delete to remove any old value. Enter a search term in B2, open the dropdown, and then clear B2 to check the blank-search behavior.
If H2 displays #SPILL!, clear any cells blocking the results below it. If Excel does not recognize FILTER, open the workbook in a version that supports dynamic arrays, such as Microsoft 365 or Excel 2021 or later.

Work with Excel spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Excel formats, making it easy to move existing workbooks. Test FILTER formulas and dropdown behavior after opening a workbook, as feature compatibility may vary.

Frequently Asked Questions
Why does the dropdown keep an old value after I clear the search?
Excel does not automatically remove an existing data validation selection when the source list changes. Select the dropdown cell and press Delete to clear the old value.
What does =H2# mean in the data validation source?
It refers to the full dynamic array spilled from the formula in H2. Enter =H2# in Data > Data Validation > Source so the list can expand or contract with the FILTER results.
Why does my FILTER formula show #SPILL!?
A cell in the required output area may contain data or otherwise block the results. Check the cells below the FILTER formula and clear any obstruction.
Can I type directly in the dropdown to search this list?
This setup uses a separate search cell to filter the source list. Enter the search term there, then open the data validation dropdown to select a result.
Why does the dropdown show Not found?
The FILTER formula returns Not found when a nonblank search term has no matches. Check the search text and source list; clearing the search cell should make the example formula return a blank result instead.




