How to Filter in Excel: Full Step-by-Step Guide (2023) (2023)

Working with large datasets in Excel can make it hard to find relevant information.

The filter tool offered by Microsoft Excel makes it easy for users to narrow down their data to find what’s relevant.

To learn more about the filter tool of Excel (both basic and advanced), jump right into the article below.

Also, as you scroll down, download our sample workbook for free here.

Table of Contents

  • How to filter in Excel

  • How to filter by text

  • How to filter by numbers

  • Multiple filters simultaneously

  • How to clear filters in Excel

  • How to clear filters entirely

  • Filter by color in Excel

  • Advanced Filter in Excel

How to filter in Excel

The filter tool of Excel is a quick way to filter out the desired information only.

For example, the image below contains the sale data for some products.

How to Filter in Excel: Full Step-by-Step Guide (2023) (1)

1. Apply filters to this data by selecting the header of the column where the filter is to be applied.

2. For example, if you want to filter sales based on product name, select the header for products.

How to Filter in Excel: Full Step-by-Step Guide (2023) (2)

3. Go to the Data Tab > Sort & Filter > Filter.

How to Filter in Excel: Full Step-by-Step Guide (2023) (3)

Pro Tip!

There are two alternate shortcuts that you can use to apply filters to your data.

  1. Go to Home > Editing Group > Sort & Filter > Filter
  2. Use the keyboard shortcut to add filters – Control Key + Shift + L

4. This adds drop-down arrows to the selected column header (Products in this case).

How to Filter in Excel: Full Step-by-Step Guide (2023) (4)

5. The filter is already applied, and you can now use it to filter our information as desired.

How to Filter in Excel: Full Step-by-Step Guide (2023) (5)

Must note that to apply filters, your data must have a proper column header where the filter is to be applied.

Using the filter tool, you can apply filters based on numeric or text values, format, or by criteria.

How to Filter in Excel: Full Step-by-Step Guide (2023) (6)Kasper Langmann, Microsoft Office Specialist

How to filter by text

Can you quickly filter out the sales of Apples made during the period❓

Simple. From the list of products, filter out the text ‘Apples’. The sales of Apples would be automatically filtered.

1. Apply filters to the column of products as explained above.

How to Filter in Excel: Full Step-by-Step Guide (2023) (7)

2. Click on the drop-down menu to launch the filter options.

3. The filter tool shows all the items that appear in the selected column.

How to Filter in Excel: Full Step-by-Step Guide (2023) (8)

4. From these items, uncheck all others, except for ‘Apples’.

How to Filter in Excel: Full Step-by-Step Guide (2023) (9)

5. Click Okay, and you’re good to go!👍

6. Excel filters out the sales of ‘Apples’ only

How to Filter in Excel: Full Step-by-Step Guide (2023) (10)

Quickly applying the SUM function to this sale tells that the total sales for Apples were $2940.

To save time that goes into checking and unchecking items, type the desired text (Apples) in the Search bar above and press Enter.

How to Filter in Excel: Full Step-by-Step Guide (2023) (11)Kasper Langmann, Microsoft Office Specialist

How to filter by numbers

Next is filtering in Excel using numbers.

The AutoFilter tool of Excel allows you to filter data based on numbers in a variety of ways.

Check out the variety of options in the image below.

How to Filter in Excel: Full Step-by-Step Guide (2023) (12)

You can set up any parameter. Like filtering numbers that equal to say $1000 or are less / more than $1000 or whatever.

Alternatively, you can simply sort numbers in descending or ascending order.

In the above example, let’s apply a filter based on numbers. For instance, let’s filter out the sales that are equal to or less than $400.

1. Select the column for Total Sales and apply the filter tool to it.

2. Launch the filter tool by clicking on the drop-down arrow.

3. Go to Number Filters.

How to Filter in Excel: Full Step-by-Step Guide (2023) (13)

4. To filter out the sales that are equal to or less than $400, choose an appropriate parameter.

How to Filter in Excel: Full Step-by-Step Guide (2023) (14)

5. This launches the Custom AutoFilter dialog box.

How to Filter in Excel: Full Step-by-Step Guide (2023) (15)

6. Against the ‘Less than or Equal to’ tab, input the number ‘400.

How to Filter in Excel: Full Step-by-Step Guide (2023) (16)

7. Click Okay.

8. Excel filters the sales as follows.

How to Filter in Excel: Full Step-by-Step Guide (2023) (17)

Excel has filtered out sales that were only equal to or less than $400.

Multiple filters simultaneously

Can you apply filters to multiple columns simultaneously?

For example, for the above data set, what if we want to filter out sales for Apples that are greater than $800?

This takes two filters:

  1. Text filters to filter out sales for the Product ‘Apples’.
  2. Number filters to filter out sales of Apples that exceed $800.

No worries. It’s still a piece of cake. See below.

1. Apply filters to the Product column.

2. From the filter drop-down menu, select ‘Apples’ to filter out sales for ‘Apples’ only.

How to Filter in Excel: Full Step-by-Step Guide (2023) (18)

3. Click ‘Okay’ and Excel filters out the sales of ‘Apples’ only

How to Filter in Excel: Full Step-by-Step Guide (2023) (19)

4. Next, apply filters to the column ‘Total Sales.’

5. Launch the filter tool by clicking on the drop-down arrow against the column heading ‘Total Sales”.

6. Go to Number Filters.

How to Filter in Excel: Full Step-by-Step Guide (2023) (20)

7. To filter out the sales that are more than $800, choose an appropriate parameter.

How to Filter in Excel: Full Step-by-Step Guide (2023) (21)

8. This launches the Custom AutoFilter dialog box. Against the ‘Greater than’ tab, input the number 800.

How to Filter in Excel: Full Step-by-Step Guide (2023) (22)

9. Click Okay, and Excel filters the sales as follows.

How to Filter in Excel: Full Step-by-Step Guide (2023) (23)

There you go! The AutoFilter tool filters out the sales of Apples that exceed $800.

You can apply as many filters as desired at any given time.

Pro Tip!

How do you know which columns of your data have the filter applied?🙋‍♂️

Look out for the filter (funnel) icon in place of the drop-down arrow. All the column headers that have this icon have the filter applied.

How to clear filters in Excel

There’s an undo to everything you do in Excel.

After you’ve applied filters to data, the drop-down menu for that column header takes a filter shape.

How to Filter in Excel: Full Step-by-Step Guide (2023) (24)

In this example, we have applied the filter to the column ‘Products’ to filter out the sales for ‘Apples’ only.

1. To remove this filter, go to the filter icon of the relevant column.

2. Launch the AutoFilter tool.

3. Select the option “Remove Filters.”

How to Filter in Excel: Full Step-by-Step Guide (2023) (25)

4. Alternatively, Go to Data > Sort & Filter > Clear.

How to Filter in Excel: Full Step-by-Step Guide (2023) (26)

5. This removes the filter “Apples” applied to Products.

How to Filter in Excel: Full Step-by-Step Guide (2023) (27)

Excel now shows all the products (apples, oranges, and kiwi).

Also, note how the filter icon is now again replaced by the drop-down arrow.

How to remove filters entirely

In the above section, we’ve seen how to remove filters from a particular filter column.

But what if you want to remove filters from your data set entirely?

1. Select the data from where you want to remove filters.

2. Go to Data > Sort & Filter > Click Filter Button again.

How to Filter in Excel: Full Step-by-Step Guide (2023) (28)

This removes the AutoFilter from the data.

3. No more drop-down arrows.

How to Filter in Excel: Full Step-by-Step Guide (2023) (29)

Remember the shortcut to Apply Filters? Control Key + Shift + L.

Press these three keys together to apply filters. Press them again together to remove the filters.

How to Filter in Excel: Full Step-by-Step Guide (2023) (30)Kasper Langmann, Microsoft Office Specialist

Filter by color in Excel

You can also use the AutoFilter Tool of Excel to filter out specific cells based on their color.

For example, the image below shows the marks of different students.

How to Filter in Excel: Full Step-by-Step Guide (2023) (31)

There’s also a key to the right side that tells how the coloring is done.

Let’s filter out the students who’ve passed.

1. Apply filters to the column that has the highlighted cells.

How to Filter in Excel: Full Step-by-Step Guide (2023) (32)

2. Launch the filter tool. Go to ‘Filter By Color’ and select the color blue.

We have selected the color blue as the key shows that the students who’ve passed are highlighted in blue.

How to Filter in Excel: Full Step-by-Step Guide (2023) (33)

And there you go! Excel only filters the cells that are highlighted in blue.

How to Filter in Excel: Full Step-by-Step Guide (2023) (34)

Advanced Filter in Excel

As the name suggests, advanced filters go a step beyond AutoFilters.

Using the advanced filters tool of Excel, you can apply multiple filters to your data at once.

1. Taking the data below for sales of different products as an example.

How to Filter in Excel: Full Step-by-Step Guide (2023) (35)

2. Let’s filter out sales for Oranges where the Quantity sold was 5 or more.

3. This involves two filters: Oranges and Qty of 5 or more.

4. To apply the Advanced filter, copy and paste the relevant headers of your data to separate cells. Relevant headers in this case are “Products” and “Quantity”

How to Filter in Excel: Full Step-by-Step Guide (2023) (36)

5. Under each header, mention the filter criteria as shown below.

How to Filter in Excel: Full Step-by-Step Guide (2023) (37)

Under the Product header, we have mentioned ‘Oranges’.

Under the Quantity header, we have mentioned the criterion “>=5”

6. Go to Data > Sort & Filter > Advanced.

How to Filter in Excel: Full Step-by-Step Guide (2023) (38)

7. Against the List Range, select the data to be filtered.

8. Against the Criteria Range, select the formatted cells where the criterion is mentioned.

How to Filter in Excel: Full Step-by-Step Guide (2023) (39)

9. Hit Okay. Excel filters the data to show sales of Oranges of 5 or more units only.

How to Filter in Excel: Full Step-by-Step Guide (2023) (40)

Advanced filters allow you to apply many filters at the same time. It further allows you to filter data in its place or create a copy of filtered data to another destined place.

That’s it – Now what?

If you didn’t know about the filter tool of Excel yet, this guide is your savior.

We learned about filtering data based on text and numbers and colors in Excel using the Auto Filter tool. We also took a glance at the advanced filtering tool of Excel.

The filter and advanced filter tool of Excel will help you narrow down your data and pick out the relevant stats in an instant.

Especially, when used to assist other major functions like the VLOOKUP, SUMIF, and IF functions, it eases your Excel jobs by a thousand times.

Don’t know much about these functions? No worries.

Click here to sign up for my free 30-minute email course to help yourself learn these and many more amazing functions of Excel.

Other resources

If you enjoyed learning about AutoFilter and Advanced Filter in Excel, we bet you’d love to know more about the filter function and tools in Excel.

Check out our articles on data validation and creating data tables in Excel.

Kasper Langmann2023-01-19T12:15:20+00:00
Top Articles
Latest Posts
Article information

Author: Golda Nolan II

Last Updated: 21/07/2023

Views: 6298

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.