Excel Filter Records that contain a Specific Text

Опубликовано: 08 Август 2022
на канале: Brain Up
1,398
32

Excel Filter Records that contain a Specific Text  ‪@BrainUpp‬

Filter for specific text
Click a cell in the range or table that you want to filter.
On the Data tab, click Filter .
Click the arrow. ...
Under Filter, click Choose One, and then in the pop-up menu, do one of the following: ...
In the box next to the pop-up menu, enter the text that you want to use

Filter text contains
Generic formula
=FILTER(rng1,ISNUMBER(SEARCH("txt",rng2)))
Summary
To filter data to include data based on a "contains specific text" logic, you can use the FILTER function with help from the ISNUMBER function and SEARCH function. In the example shown, the formula in F5 is:

=FILTER(B5:D14,ISNUMBER(SEARCH("rd",B5:B14)),"No results")
Which retrieves data where the street column contains "rd".
Explanation
This formula relies on the FILTER function to retrieve data based on a logical test. The array argument is provided as B5:D14, which contains the full set of data without headers. The include argument is based on a logical test based on the ISNUMBER and SEARCH functions:

ISNUMBER(SEARCH("rd",B5:B14))
In brief, the SEARCH function is set up to look for the text "rd" inside the street data in B5:B14. Because this range includes 10 cells, 10 results are returned. Each result is either a number (text found) or a #VALUE error (text not found):

{#VALUE!;11;#VALUE!;#VALUE!;13;#VALUE!;#VALUE!;18;17;#VALUE!}
And the resulting array returned to the FILTER function as the "include" argument:

{FALSE;TRUE;FALSE;FALSE;TRUE;FALSE;FALSE;TRUE;TRUE;FALSE}
This array is used by the FILTER function to retrieve matching data. Only rows where the result is TRUE make it into the final output.

Finally, the "if_empty" argument is set to "No results" in case no matching data is found.

Wildcards
The SEARCH function supports wildcards, so the filter logic can include these characters.

Case-sensitive
For a partial match, case-sensitive filter, you can adjust the formula to use the FIND function instead of SEARCH like this:

=FILTER(rng1,ISNUMBER(FIND("TXT",rng2)))
Note: FIND is case-sensitive, but does not support wildcards.

How to Use Text Filter in Excel
Filter in Excel is a great tool that you can use in a large worksheet to find out all the information that matches the criteria of the filter very quickly and efficiently. The filter can be applied to the entire worksheet, or one or multiple columns. You can apply a filter by choosing from a list that Excel will provide you while applying the filter or you can create a customized filter to match your needs. Using the Excel text filter you can search for texts using the Search box in the filter box or using the Text Filter option.
Excel FILTER function with formula
In this quick lesson, you will learn how to filter in Excel dynamically with formulas. Examples to filter duplicates, cells containing certain text, with multiple criteria, and more.

How do you usually filter in Excel? For the most part, by using Auto Filter, and in more complex scenarios with Advanced Filter. Being fast and powerful, these methods have one significant drawback - they do not update automatically when your data changes, meaning you would have to clean up and filter again. The introduction of the FILTER function in Excel 365 becomes a long-awaited alternative to the conventional features. Unlike them, Excel formulas recalculate automatically with each worksheet change, so you'll need to set up your filter just once!


Related search-
filter specific text
isnumber function
mike girvin
filter function
highline college
how to filter cells containing specific text in excel using formula
advanced filter excel
excel filter multiple criteria
excel filter contains multiple values
how to display only rows with certain text in excel?
excel advanced filter contains text
excel text filter multiple words
excel filter column based on another column


Смотрите видео Excel Filter Records that contain a Specific Text онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Brain Up 08 Август 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,398 раз и оно понравилось 32 людям.