How to Filter Cells that Contain Multiple Words in Excel
To filter cells that contain multiple words in Excel, you can use the "Filter" feature along with a custom filter formula. Here's a step-by-step guide on how to do this:
- First, make sure that your data has headers (titles for each column). If not, add headers to your data.
- Click anywhere in your dataset to make it the active cell.
- Go to the "Data" tab on the Ribbon.
- Click on the "Filter" button. This will add drop-down arrows to the headers of your dataset.
- Click on the drop-down arrow of the column you want to filter by multiple words.
- In the drop-down menu, click on "Text Filters" and then select "Custom Filter."
- In the "Custom AutoFilter" dialog box, you can now set up your filter criteria.
Example
Let's say you have a dataset with a column called "Description" and you want to filter rows that contain the words "apple" and "banana". Follow these steps:
- Click on the drop-down arrow of the "Description" column.
- Click on "Text Filters" and then "Custom Filter."
- In the "Custom AutoFilter" dialog box, select "contains" in the first drop-down menu.
- Type "apple" in the text box next to the first drop-down menu.
- In the middle of the dialog box, select "AND" to make sure both conditions must be met.
- In the second set of drop-down menus, select "contains" and type "banana" in the text box next to it.
- Click "OK".
Now, your dataset will be filtered to show only rows where the "Description" column contains both "apple" and "banana". If you want to clear the filter, simply click on the "Filter" button in the "Data" tab again or click on the drop-down arrow in the filtered column and select "Clear Filter from [Column Name]".
Did you find this useful?