Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to filter column data by a certain prefix in Excel?

Suppose you have a column which includes some data with the same prefix, how can you filter the column data by the certain prefix in Excel? In this article, I introduce some tricks on quickly handling this job.

Filter by a certain prefix with Filter function

Filter by a certain prefix with Super Filter functiongood idea3

Filter by a certain prefix with Filter function

In Excel,there are two methods that can filter data based on the prefix withe the Filter function.

Using Search box

1. Select the data and click Data > Filter.
doc filter by prefix 1

2. Then click at the Filter icon to expand the drop-down list, in the Search box, type the prefix you want to find from the data range, then click OK.
doc filter by prefix 2

Now the data has been filtered by the certain prefix.

doc filter by prefix 3 doc arrow right doc filter by prefix 4

Note: This method will filter all cells containing the specified prefix. In other words, if you add the prefix text amount or behind the cell content, this method will also filter the cell too.

Using begin with

1. Select the data and click Data > Filter.

2. Then click at the Filter icon to expand the drop-down list, click Text Filters > Begins With.
doc filter by prefix 5

3. Then in Custom AutoFilter dialog, type the prefix you use in the textbox.
doc filter by prefix 6

4. Click OK.

Filter by a certain prefix with Super Filter function

If you have Kutools for Excel, its Super Filter function not only can filter by certain prefix, but also can filter by month, case, length, and so on.

1. Click Kutools Plus > Super Filter.
doc filter by prefix 7

2. Check Specified checkbox, and select the data you use in the Super Filter pane.
doc filter by prefix 8

3. Specify the filter criterion you use in the pane, click Filter.
doc filter by prefix 9

Now the data has been filtered.

Note: You can save this filter condition as a scenario for quickly applying it next time.
doc filter by prefix 10
doc filter by prefix 11

Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: 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!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.