How to Use AutoFilter in MS Excel

Create a table., Select all the data you wish to filter., Activate AutoFilter., Select filter criteria., Utilize custom AutoFilter for more complex sorting., Clear your filters., Deactivate AutoFilter.

7 Steps 3 min read Medium

Step-by-Step Guide

  1. Step 1: Create a table.

    Make sure that your data have column headings to specify the data below it.

    The heading is where the filter will be placed and will not be included in the data that is sorted.

    Each column can have a unique dataset (e.g. date, quantity, name, etc.) and contain as many entries as you wish to sort through.

    You can freeze your headings in place by selecting the containing row and going to “View > Freeze Panes”.

    This will help keep track of filtered categories on large data sets.
  2. Step 2: Select all the data you wish to filter.

    Click and drag to select all of the cells you wish to be included in the filter.

    Since AutoFilter is, as the name implies, an automatic process, you cannot use it to filter non-contiguous columns.

    All columns in between will be set to filter with them. , 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. , Filters options can vary based upon the type of data within the cells.

    Text cells will filter by the textual content, while number cells will have mathematic filters.

    There are a few filters that are shared by both.

    When a filter is active a small filter icon will appear in the column header.

    Sort Ascending: sorts data in ascending order based on the data in that column; numbers are sorted 1, 2, 3, 4, 5, etc. and words are sorted alphabetically starting with a, b, c, d, e, etc.

    Sort Descending: sorts data in descending order based on the data in that column; numbers are sorted in reverse order 5, 4, 3, 2, 1, etc. and words are sorted in reverse alphabetical order, e, d, c, b, a, etc.

    Top 10:
    The first 10 rows of data in your spreadsheet or the first 10 rows of data from the filtered selection Specific conditions:
    Some filter parameters can be set using value logic, like filtering values greater than, less than, equal to, before, after, between, containing, etc.

    After selecting one of these you will prompted to enter the parameter limits (e.g.

    After 1/1/2011 or greater than 1000).

    Note: the filtered data is hidden from view, NOT deleted.

    You will not lose any data by filtering. , A custom filter allows for multiple filters to be applied using “and/or” logic.

    The “Custom Filter…” option is listed at the bottom of the filter dropdown menu and brings up a separate window.

    Here you can select up to two filter options, then select the “And” or “Or” button to make those filter exclusive or inclusive.

    For example: a column containing names could be filtered by those containing “A” or “B”, meaning Andrew and Bob would both appear.

    But neither would appear in a filter set for those containing both “A” and “B”. , To clear a single filter, select the dropdown for the filtered column and select “Clear Filter From ”.

    To clear all filters, select any cell in the table and go to the “Data” tab and press “Clear” (next to the Filter toggle). , If you want to disable the filters completely, simply deselect the AutoFilter option while the table is selected.
  3. Step 3: Activate AutoFilter.

  4. Step 4: Select filter criteria.

  5. Step 5: Utilize custom AutoFilter for more complex sorting.

  6. Step 6: Clear your filters.

  7. Step 7: Deactivate AutoFilter.

Detailed Guide

Make sure that your data have column headings to specify the data below it.

The heading is where the filter will be placed and will not be included in the data that is sorted.

Each column can have a unique dataset (e.g. date, quantity, name, etc.) and contain as many entries as you wish to sort through.

You can freeze your headings in place by selecting the containing row and going to “View > Freeze Panes”.

This will help keep track of filtered categories on large data sets.

Click and drag to select all of the cells you wish to be included in the filter.

Since AutoFilter is, as the name implies, an automatic process, you cannot use it to filter non-contiguous columns.

All columns in between will be set to filter with them. , 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. , Filters options can vary based upon the type of data within the cells.

Text cells will filter by the textual content, while number cells will have mathematic filters.

There are a few filters that are shared by both.

When a filter is active a small filter icon will appear in the column header.

Sort Ascending: sorts data in ascending order based on the data in that column; numbers are sorted 1, 2, 3, 4, 5, etc. and words are sorted alphabetically starting with a, b, c, d, e, etc.

Sort Descending: sorts data in descending order based on the data in that column; numbers are sorted in reverse order 5, 4, 3, 2, 1, etc. and words are sorted in reverse alphabetical order, e, d, c, b, a, etc.

Top 10:
The first 10 rows of data in your spreadsheet or the first 10 rows of data from the filtered selection Specific conditions:
Some filter parameters can be set using value logic, like filtering values greater than, less than, equal to, before, after, between, containing, etc.

After selecting one of these you will prompted to enter the parameter limits (e.g.

After 1/1/2011 or greater than 1000).

Note: the filtered data is hidden from view, NOT deleted.

You will not lose any data by filtering. , A custom filter allows for multiple filters to be applied using “and/or” logic.

The “Custom Filter…” option is listed at the bottom of the filter dropdown menu and brings up a separate window.

Here you can select up to two filter options, then select the “And” or “Or” button to make those filter exclusive or inclusive.

For example: a column containing names could be filtered by those containing “A” or “B”, meaning Andrew and Bob would both appear.

But neither would appear in a filter set for those containing both “A” and “B”. , To clear a single filter, select the dropdown for the filtered column and select “Clear Filter From ”.

To clear all filters, select any cell in the table and go to the “Data” tab and press “Clear” (next to the Filter toggle). , If you want to disable the filters completely, simply deselect the AutoFilter option while the table is selected.

About the Author

J

Jeffrey Kelly

Experienced content creator specializing in pet care guides and tutorials.

32 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: