Keep Excel FILTER Search Results Blank When the Search Box Is Empty
Question details
Keep a contact-list FILTER search area blank when the search cell is empty and display clickable email addresses in the returned results.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet searches a Contactlist table using the value entered in cell I3 across System/function, Name, and Comment columns.
- Observed behavior
- Without an empty-cell check, the FILTER formula returns every contact when the search box in I3 is blank.
Confirm that I3 is the intended search box and that Contactlist is an Excel table with columns named System/function, Name, Comment, and Email. Make sure the formula output range has enough empty cells for spilled results.
Wrap the FILTER formula in an IF test for an empty search box
Use this method when you want the results area to remain blank until someone enters a search term in cell I3.
The IF test checks whether I3 is blank before Excel evaluates the FILTER function. When I3 contains text, FILTER searches the specified contact-list columns and returns matching rows.
Click the top-left cell where the contact search results should appear, such as the first cell directly below your search results headers.
Enter =IF(I3="","",FILTER(Contactlist,ISNUMBER(SEARCH(I3,Contactlist[System/function]))+ISNUMBER(SEARCH(I3,Contactlist[Name]))+ISNUMBER(SEARCH(I3,Contactlist[Comment])),"No results")) and press Enter.
Clear cell I3 to confirm the results area stays blank, then type a word or name in I3 to return matching contacts.

Create clickable email links with a helper column
Use a helper column when your returned contact list should show email addresses that open the default email app when clicked.
Build a blank-until-searched contact list in WPS Spreadsheets
WPS Spreadsheets lets you create searchable contact tables with dynamic FILTER formulas and clickable mailto links. Use an IF condition to avoid displaying the full list before a user enters a search term.
- 1. Open the contact workbook: Open the .xlsx file in WPS Spreadsheets and select the first cell of the search results area.
- 2. Set up the search cell: Use a cell such as I3 as the search input and ensure users enter their keyword in that cell.
- 3. Enter the conditional FILTER formula: Enter the IF and FILTER formula in the first result cell so an empty I3 returns a blank value while entered text returns matching rows.
- 4. Add email hyperlinks: In a helper column, enter =HYPERLINK("mailto:"&[@[Email]],[@[Email]]) to display each address as a clickable email link.

Frequently Asked Questions
Why does FILTER return all contacts when my search cell is blank?
SEARCH with a blank search term can match text in every row, so FILTER includes the entire table. Place FILTER inside IF(I3="","",...) to stop the calculation when I3 is empty.
How can I show a message when no contact matches the search?
Use the third FILTER argument for the no-match message, such as FILTER(Contactlist,include,"No results"). In the conditional formula, this message appears only after text has been entered in I3.
Can the formula search more than one column in the contact table?
Yes. Add separate ISNUMBER(SEARCH()) tests for each table column and join them with +. This works as an OR condition, so a match in System/function, Name, or Comment returns the row.
How do I make an email address clickable in an Excel table?
Add a helper column and enter =HYPERLINK("mailto:"&[@[Email]],[@[Email]]). The structured reference uses the Email value from the current table row.
What should I check if the FILTER formula shows a spill error?
Select the formula cell and clear any values, merged cells, or table content blocking the cells where the filtered results need to spill. Also ensure the output area is outside an Excel table if the dynamic array cannot expand there.




