Table of Contents
The FILTER function in Excel allows users to retrieve specific data from a given set of criteria. It is commonly used to filter data based on a single condition. However, it is not possible to use a wildcard in the FILTER function. Wildcards are symbols used to represent one or more characters in a search term. While Excel offers various functions to use wildcards, the FILTER function does not support it. This limitation means that users cannot use wildcards to filter data in Excel using the FILTER function.
Excel: Use Wildcard in FILTER Function
You can use the following syntax to use wildcard characters within a FILTER function in Excel:
=FILTER(A2:B12, ISNUMBER(SEARCH("some_string", A2:A12)), "None")
This particular formula will filter the rows in the range A2:B12 where the cells in the range A2:A12 contain “some_string” anywhere in the cell.
If no cell contains “some_string” then the formula will simply return the output “None.”
The following example shows how to use this syntax in practice.
Example: Use Wildcard in FILTER Function in Excel
Suppose we have the following dataset in Excel that contains information about various basketball teams:

We can use the following formula to filter for the rows where the Team column contains “ets” anywhere in the cell:
=FILTER(A2:B12, ISNUMBER(SEARCH("ets", A2:A12)), "None")
The following screenshot shows how to use this formula in practice:

We can see that the filter only returns the four rows that contain “ets” somewhere in the Team name:
- Nets
- Nuggets
- Hornets
- Rockets
Note that if we filter using some string that doesn’t exist in any Team name, the formula will simply return the output “None.”
For example, suppose we attempt to filter for rows where the Team name contains “zzz” somewhere in the cell:

Note: The SEARCH function in the formula performs a case-insensitive search. If you’d like to perform a case-sensitive search, replace SEARCH with FIND in the formula.
The following tutorials explain how to perform other common tasks in Excel:
Cite this article
stats writer (2024). Can you use a wildcard in the FILTER function in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/can-you-use-a-wildcard-in-the-filter-function-in-excel/
stats writer. "Can you use a wildcard in the FILTER function in Excel?." PSYCHOLOGICAL SCALES, 26 Jun. 2024, https://scales.arabpsychology.com/stats/can-you-use-a-wildcard-in-the-filter-function-in-excel/.
stats writer. "Can you use a wildcard in the FILTER function in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/can-you-use-a-wildcard-in-the-filter-function-in-excel/.
stats writer (2024) 'Can you use a wildcard in the FILTER function in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/can-you-use-a-wildcard-in-the-filter-function-in-excel/.
[1] stats writer, "Can you use a wildcard in the FILTER function in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. Can you use a wildcard in the FILTER function in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
