Quick start: Filter data by using an AutoFilter (2024)

Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 More...Less

By filtering information in a worksheet, you can find values quickly. You can filter on one or more columns of data. With filtering, you can control not only what you want to see, but what you want to exclude. You can filter based on choices you make from a list, or you can create specific filters to focus on exactly the data that you want to see.

You can search for text and numbers when you filter by using the Search box in the filter interface.

When you filter data, entire rows are hidden if values in one or more columns don't meet the filtering criteria. You can filter on numeric or text values, or filter by color for cells that have color formatting applied to their background or text.

How?

Quick start: Filter data by using an AutoFilter (1)

Select the data that you want to filter

Quick start: Filter data by using an AutoFilter (2)

  1. On the Data tab, in the Sort & Filter group, click Filter.

    Quick start: Filter data by using an AutoFilter (3)

  2. Click the arrow Quick start: Filter data by using an AutoFilter (4) in the column header to display a list in which you can make filter choices.

    NoteDepending on the type of data in the column, Microsoft Excel displays either Number Filters or Text Filters in the list.

Quick start: Filter data by using an AutoFilter (5)

Filter by selecting values or searching

Selecting values from a list and searching are the quickest ways to filter. When you click the arrow in a column that has filtering enabled, all values in that column appear in a list.

Quick start: Filter data by using an AutoFilter (6)

1. Use the Search box to enter text or numbers on which to search

2. Select and clear the check boxes to show values that are found in the column of data

3. Use advanced criteria to find values that meet specific conditions

  1. To select by values, in the list, clear the (Select All) check box. This removes the check marks from all the check boxes. Then, select only the values you want to see, and click OK to see the results.

  2. To search on text in the column, enter text or numbers in the Search box. Optionally, you can use wildcard characters, such as the asterisk (*) or the question mark (?). Press ENTER to see the results.

Quick start: Filter data by using an AutoFilter (7)

Filter data by specifying conditions

By specifying conditions, you can create custom filters that narrow down the data in the exact way that you want. You do this by building a filter. If you've ever queried data in a database, this will look familiar to you.

  1. Point to either Number Filters or Text Filters in the list. A menu appears that allows you to filter on various conditions.

  2. Choose a condition and then select or enter criteria. Click the And button to combine criteria (that is, two or more criteria that must both be met), and the Or button to require only one of multiple conditions to be met.

  3. Click OK to apply the filter and get the results you expect.

Next steps

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Quick start: Filter data by using an AutoFilter (2024)

FAQs

How to use AutoFilter to filter the query results? ›

Use AutoFilter to filter your data
  1. Select the data you want to filter.
  2. Click Data > Filter.
  3. Click the arrow. ...
  4. Choose specific values: Uncheck (Select All) to clear all of the check boxes, and then check the boxes for the specific value(s) you want to see.

How do I quick filter in Excel? ›

Step 1 - Select a cell in the header row. You will see that each header has a drop-down icon. Step 2 - Press the ALT + Down Arrow key on the keyboard to open the filter menu.

What types of data can you filter using the AutoFilter tool? ›

The AutoFilter tool in Microsoft Excel is used to filter data in a table based on column headings. You can use it to filter the following types of data: - Text - Numeric data Images and sound cannot be filtered using the AutoFilter tool in Excel. Hence, the correct answer is: - Text - Numeric data I hope this helps!

How to filter the data in Excel? ›

Filter a range of data

Select Data > Filter. Select Text Filters or Number Filters, and then select a comparison, like Between. Enter the filter criteria and select OK.

How to filter in Excel shortcut? ›

Filter data in a range

Press Ctrl+Shift+L. Excel adds an AutoFilter dropdown menu to the first cell of each column in the range. In the table header of the column you want to filter, press Alt+Down arrow key.

How do I use the filter formula in Excel? ›

The FILTER function allows you to filter a range of data based on criteria you define. In the following example we used the formula =FILTER(A5:D20,C5:C20=H2,"") to return all records for Apple, as selected in cell H2, and if there are no apples, return an empty string ("").

How do you filter data in a query? ›

How to filter query results in MySQL
  1. Introduction.
  2. Using the WHERE clause to define match criteria.
  3. Using the GROUP BY clause to summarize multiple records.
  4. Using the HAVING clause to filter groups of records.
  5. Using the LIMIT clause to set the maximum number of records.

How do I add a filter to an Excel query? ›

Filter by using text filters

To open a query, locate one previously loaded from the Power Query Editor, select a cell in the data, and then select Query > Edit. For more information see Create, load, or edit a query in Excel. next to the column containing a text value by which you want to filter.

What is the shortcut for auto filter? ›

We can also use the keyboard shortcut “CTRL+SHIFT+L” to turn on/off the filters. On applying the filter, the drop-down filter menus may appear in the header row of the data.

How to remove autofilter? ›

Remove all the filters in a worksheet

If you want to completely remove filters, go to the Data tab and click the Filter button, or use the keyboard shortcut Alt+D+F+F.

How do you quick filter in numbers? ›

Use Quick Filters

Select a column or cell, move the pointer over the column letter, click the arrow that appears, then choose Quick Filter. If you want to use Quick Filters with a pivot table, select a header cell, row, or column. Select or deselect the checkbox for the data you want to show or hide.

How to use AutoFilter in Excel? ›

Activate AutoFilter.

Go to the “Data” tab, then press “Filter”. Once activated, the column headers will have drop-down buttons. Using these buttons, you can set your filter options.

Can AutoFilter be used to create filters? ›

You can filter on one or more columns of data. With filtering, you can control not only what you want to see, but what you want to exclude. You can filter based on choices you make from a list, or you can create specific filters to focus on exactly the data that you want to see.

What is the AutoFilter field? ›

AutoFilter is a simple Excel function that allows you to only display desired values in a range of cells. By using a menu, you can select which values you want to see and the program will automatically filter your workbook and remove any values that don't match your criteria.

How do I make data appear automatically in Excel? ›

Fill data automatically in worksheet cells
  1. Select one or more cells you want to use as a basis for filling additional cells. For a series like 1, 2, 3, 4, 5..., type 1 and 2 in the first two cells. ...
  2. Drag the fill handle .
  3. If needed, click Auto Fill Options. and choose the option you want.

How do I add a filter drop-down in Excel? ›

Go to the Data tab on the Ribbon, then select Data Validation. On the Settings tab, in the Allow box, select List. If it's OK for people to leave the cell empty, check the Ignore blank box. Check the In-cell dropdown box.

Why is AutoFilter not working in Excel? ›

Hidden Rows or Columns:

Issue: Hidden rows or columns might be inadvertently affecting the filter. Solution: Unhide all rows and columns within the filter range. Use the 'Unhide' option in the 'Home' tab if needed.

How do I set auto data in Excel? ›

Turn automatic completion of cell entries on or off
  1. Click File > Options.
  2. Click Advanced, and then under Editing options, select or clear the Enable AutoComplete for cell values check box to turn this option on or off.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 6055

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.