How to Fix Excel Not Remembering Filter Search Criteria
Question details
The user wants to know why Excel's column filter search box clears the previous search text after the filter is closed, and is looking for a way to preserve or repeat the filter criteria.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Filtering data sets using the standard column filter search box in a spreadsheet.
- Observed behavior
- The search text typed into the filter box is not preserved once the filter menu is closed, even though the selected filtered values remain visible in the spreadsheet.
Before applying alternative filtering methods, ensure your data is organized without blank rows or columns, and consider converting your data range into a formal Table (Ctrl + T) for more robust filter management.
Use Custom Text Filters to Preserve Criteria
Instead of using the basic search box, use the Text Filters option to set criteria that the spreadsheet will remember when you reopen the filter menu.
The standard search box in the filter dropdown is designed for quick, one-time selections rather than storing persistent rules. Using Custom AutoFilter rules ensures your criteria remain active and visible.
Click the filter drop-down arrow on the specific header of the column you want to filter.
Hover your mouse over the **Text Filters** (or Number Filters, depending on your data) option in the dropdown menu.
Choose a specific condition from the submenu, such as **Contains...**, **Begins With...**, or **Equals...**.
Enter your desired search criteria in the Custom AutoFilter dialog box and click **OK**. The system will now remember this rule the next time you view the filter settings.

Use the FILTER Function for Dynamic Search
If you are using Microsoft 365, you can utilize the dynamic FILTER function to extract data based on specific criteria to a new area of your worksheet.
Apply an Advanced Filter for Complex Criteria
Use the Advanced Filter feature to set up a dedicated criteria range directly on your worksheet that remains visible and easily editable.
Try WPS Office for a Seamless Data Filtering Experience
While standard filter memory behaviors are native limitations in many spreadsheet programs, WPS Office Spreadsheet provides a free, lightweight, and highly compatible alternative to Microsoft Excel. Enjoy familiar filtering tools, advanced text filter settings, and a smooth user interface without high subscription costs.
- 1. Download WPS Office: Get the free WPS Office suite from the official website and install it on your device.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and seamlessly open your existing Excel workbooks.
- 3. Filter Your Data: Navigate to the Data tab to apply AutoFilters and Custom Text Filters to manage your search criteria efficiently.

Frequently Asked Questions
Why does the Excel search box clear my text after closing the filter?
This is a built-in design limitation of the AutoFilter search box. It is designed to quickly select and check boxes within the dropdown. Once the filter is applied and the menu is closed, the search box resets, although the applied filter criteria remain actively filtering the column.
Can I save a specific filter view so I don't have to retype my search criteria?
Yes, you can use Custom Views to save specific display settings, including active filters and hidden rows. Go to the View tab and click Custom Views to add and name your current filter setup, allowing you to easily switch back to it later.
Does the dynamic FILTER function work in older versions of Excel?
No, the dynamic FILTER function is only available in Microsoft 365, Excel 2021, and newer versions. If you are using an older version, you must rely on Advanced Filters, helper columns, or the standard Custom Text Filters.




