Skip to main content

How to filter data based on substring in Excel?

some time, you may want to filter out the data with some special substring from a large amount of data, and how can you do? Now I will tell you how to filter them by using wildcards in Excel.

Filter data based on one string

Filter data based on multiple strings

Quickly filter data based on one or multiple strings with Super Filter good idea3


Filter data based on one string

Be honest, with the Excel’s Filter function is not easy and quick enough because there are so many criteria setting needed to make in particular when you filter based on multiple strings. If you want to save time and solve task quickly, you can directly go to Quickly filter data based on one or multiple strings with Super Filter. But if you still want to know more about Filter function, you can read the below steps one by one.

Actually, you can filter data based on one substring by two methods.

Advanced Filter

1. Type asterisk symbols at the two sides of the substring you want to filter based on, and remember to type the column header of which column you want to filter based on above the substring as well. See screenshot:

doc filter by substring 1

2. Click Data > Advanced. And then in the popping dialog, select the data range and the criteria range. See screenshot:

doc filter by substring 2

3. Click OK. Now you can see all data with KT is filtered.

doc filter by substring 3

Custom AutoFilter

You also can filter data based on a specific substring with Custom AutoFilter in Excel.

1. Select the data range, and click Data > Filter. Then click at the arrow at right side of column header of which column you want to filter on, and click Text Filters or Number Filters > Contains. See screenshot:
doc filter by substring 4

2. Then type the substring you want to filter by into the text box next to contains. See screenshot:

doc filter by substring 5

3. Click OK. Now you can see the data is filtered correctly.

doc filter by substring 6


Filter data based on multiple strings

If you want to filter data based on multiple strings, such as you want to filter data which contains melon or mango from below data range, you can do as follows:
doc filter by substring 7

1. Type the criteria into cells as below screenshot shown:

doc filter by substring 8

2. Click Data > Advanced, then in the popping dialog, select the data range and the criteria range. See screenshot:

doc filter by substring 9

3. Click OK. And the data which includes melon or mango is filtered.

doc filter by substring 10

Note: Also you can use Custom AutoFilter to filter the data based on multiple substrings. Just please remember to check Or in the Custom AutoFilter dialog. See screenshot:

doc filter by substring 11


Quickly filter data based on one or multiple strings with Super Filter

With Excel’s Filter function to filter data is a little complex, but if you use the advanced Super Filter of Kutools for Excel will be easier. For better to follow below steps, you can free download Super Filter and have a try, and it has free trail for 30 days.

1. Click Kutools Plus > Super Filter to enable the Super Filter pane. See screenshot:

Tip: You can resize and move the Super Filter pane by dragging its border.

doc kte filter by substring 1

2. Then check Specified checkbox, and click the select range button to select a data range you need to filter in.

doc kte filter by substring 2

3. Now you can set the substring you need to filter by in the pane.

Filter by one substring

(1) In the Super Filter pane, do these operatios:

Move mouse right to the AND or OR to display a underline, next click at the underline to show the textboxes;

Then specify the column you need to filter on in the first textbox, then select the Text in the second textbox, click Contains from the third textbox;

And type the substring you need in the last textbox, here I want to filter out the data contains KTE. See screenshot:

doc kutools super filter 3

(2) Click Filter button, now the data is filtered.

doc kte filter by substring 4 doc kutools super filter 5

Filter by multiple substrings

OR relationship

If you want to filter data by multiple substrings in OR relationship which means that you want to filter data out when it meets one or more of the substrings you list.

(1) After you selecting data range, you need to select OR both in Relationship and Relationship in Group.

(2) Now you can set your criteria then click Filter button, and then the data which end with melon or begin with mango is filtered.

doc kte filter by substring 7

If you want to know more about the filter criteria and wildcard using, you can read this article How to filter data by multiple criteria and wildcard in Excel.

The Super Filter function also can help you filter data by date, quarter and so on. And Super Filter is only one of hundreds of function in Kutools for Excel, you can free download kutools for Excel and try it out for 30 days.

With Super Filter utility, you also can do these operations:

Filter data by asterisk or other special symbol in Excel

Filter data by multiple criteria or wildcard

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations