Table of Contents
The “Does Not Contain” function in Excel’s Advanced Filter allows users to filter data based on specific criteria that they do not want to be included in the results. This function is useful for quickly narrowing down large datasets and finding specific information. By using this function, users can easily exclude certain values or text from their data analysis, providing a more targeted and efficient approach to data management and analysis in Excel.
Excel Advanced Filter: Use Does Not Contain”
You can use the following syntax to filter for rows that do not contain specific text in an Excel Advanced Filter:
<>*sometext*
The following examples show how to use this function in two different scenarios:
- Filter for rows that do not contain one specific text
- Filter for rows that do not contain one of multiple text
Example 1: Filter for Rows that Do Not Contain One Specific Text
Suppose we have the following dataset that shows the total sales of certain products in certain regions for a company:

Now suppose we’d like to filter for rows where the Region does not contain “East.”
To do so, we can define a criteria range:

Next, we can click the Data tab and then click the Advanced Filter button:

We’ll choose A1:C17 as the list range and F1:F2 as the criteria range:

Once we click OK, the dataset will be filtered to only show rows where the Region does not contain “East“:

Example 2: Filter for Rows that Do Not Contain One of Multiple Text

Now suppose we’d like to filter for rows where the Region does not contain “East” or “West.”
To do so, we can define a criteria range:

Next, we can click the Data tab and then click the Advanced Filter button.
We’ll choose A1:C17 as the list range and F1:G2 as the criteria range:

Once we click OK, the dataset will be filtered to only show rows where the Region does not contain “East” or “West“:

Additional Resources
The following tutorials explain how to perform other common operations in Excel:
Cite this article
stats writer (2024). How can I use the “Does Not Contain” function in Excel’s Advanced Filter?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-does-not-contain-function-in-excels-advanced-filter/
stats writer. "How can I use the “Does Not Contain” function in Excel’s Advanced Filter?." PSYCHOLOGICAL SCALES, 1 Jul. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-does-not-contain-function-in-excels-advanced-filter/.
stats writer. "How can I use the “Does Not Contain” function in Excel’s Advanced Filter?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-does-not-contain-function-in-excels-advanced-filter/.
stats writer (2024) 'How can I use the “Does Not Contain” function in Excel’s Advanced Filter?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-does-not-contain-function-in-excels-advanced-filter/.
[1] stats writer, "How can I use the “Does Not Contain” function in Excel’s Advanced Filter?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, July, 2024.
stats writer. How can I use the “Does Not Contain” function in Excel’s Advanced Filter?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
