Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Add Filter in Excel

    How to Add Filter in Excel

    Asmi DhakalBy Asmi DhakalJuly 20, 2023 Excel 6 Mins Read

    When you have a larger data set, analyzing a specific group of data can be a bit complicated. For example, if you’re looking at the sales list of a company, you may want to filter the data to check the list of employees who generated the least amount of revenue. Fortunately, Excel has the Filter tool for you to locate such values.

    Asides from the tool, you can also use the FILTER function in Excel. You can use both of these methods for basic to advanced filtering of your data.

    Using the Filter Tool

    The Filter tool in Excel covers almost all basic data filtering. This includes filtering your data on the basis of cell values, and color, and even setting rules for numbers.

    If you convert your range to a table (Ctrl + T), Excel will automatically insert the filter option. You can also add a filter on a normal data range through the Excel ribbon or an Excel shortcut.

    Shortcut:

    Ctrl + Shift + L

    Ribbon:

    1. Head to the Data tab.
    2. Click on Filter from the Sort & Filter section.
      Filter Excel

    Filter Range by Cell Values

    Cell values are almost always the criteria used to filter a data range in Excel. Once you add a filter to your range, you will find a drop-down menu on the top cell of a column. You can filter by one, or multiple criteria.

    1. Select the drop-down icon from the header of the reference range.
    2. Uncheck the box next to Select All.
    3. Enter your criteria in the search box or click on the box next to them.
      Filter According to Values in Excel
    4. Click OK.

    Filter by Color

    Filtering through color is a great filter option especially if you’re using conditional formatting. You can also use this method if you’ve applied conditional formatting icons on your cells.

    However, it is not limited to conditional formatting. Even if you’ve manually changed the fill color, or the font color you can use these criteria to filter by color in Excel.

    1. Select the fly-out menu on the column header.
    2. Choose Filter by Color.
      Filter According to Color in Excel
    3. Select your criteria.

    Filter by Numbers

    This filter option can be a lifesaver for documents like sales sheets. The filter feature has the option to filter your data set through multiple rules, including the option to create your custom filter.

    1. Click on the filter menu on the reference column header.
    2. Select Number Filters.
    3. Choose your criteria.
    4. If you wish to create a custom filter, select Custom Filter.
      • Click on the fly-outs or enter custom values in each field.
      • Select OK.Custom Autofilter Excel

    Use Advanced Filter

    Excel also offers an advanced way of filtering your data set. Using advanced filters, you have more control over setting the criteria range to filter your range. You can also use an advanced filter to filter duplicate data from your table.

    Advanced Filter Tool

    Before you use the advanced filter, you must first create a criteria range. This range should include the reference column header followed by your criteria under it. You can have one or multiple criteria depending on your needs. 

    We have included four different examples in this section for you to see how advanced filter works in Excel.

    Example 1: Filter Data According to One Criterion

    Let’s start with the basics. We will be using the advanced filter tool to filter our data set according to Project. Excel will remove the data of all employees except the ones working on the Hiring project using the filter tool.

    1. On an empty cell, enter “Project”. Immediately under Project, enter “Hiring”.
      Single criteria Advanced Filter
    2. Head to Data and select Advanced from the Sort & Filter section.
    3. Choose whether you want to filter the range on the same or different location under Action.
    4. Reference your data set in the List range field.
      Advanced Filter in Excel
    5. Set your criteria range.
    6. Click OK.

    Example 2: Filter Data According to Multiple Criteria

    To filter your data set according to multiple criteria, all you have to do is to set two fields as your criteria range. You can set multiple criteria to filter cells within the reference column or set multiple reference columns.

    We will be filtering our data set according to the Name, Jared, and Status, Active.

    1. On two empty cells, enter Name and Status next to each other.
      Multiple Criteria Advanced Filter
    2. Under Name, enter Jared, and under Status, enter Active.
    3. Move to Data and choose Advanced.
    4. Choose whether you want to filter the range on the same or different location under Action.
    5. Reference your data set in the List range field.
    6. Set your Criteria range.
      Referencing Values in ADvanced Filter
    7. Click OK.

    Example 3: Set Multiple Filter Criteria for the Same Column

    You can choose more than one criterion to filter data within the same reference column. For this, you will have to enter your criteria under the same criteria range. 

    We will be using the same table as before to set two filters only those values with IT and QA under the Department column.

    1. On a new cell, enter Department.
    2. Right under the cell, enter IT then QA.
      Multiple Criteria within Column
    3. Head to Data > Advanced.
    4. Next to List range, reference your data set.
    5. Reference the new Department column as your Criteria range.
      Reference Values in ADvanced Filter
    6. Click OK.

    Example 4: Use Wildcards to Filter Data

    The use of wildcards is one of the key features of advanced filters. You can use the asterisk, question, and tilde wildcards under the criteria range to filter your data set accordingly. 

    Here’s a little reminder of what each of these wildcards does in Excel:

    Wildcard NameSymbolFunction
    Asterisk*Select all values that begin or end with the set value.
    *ly can return both sly and ally. Similarly, Un* can return both unhappy and unhinged. 
    Question?Acts as a placeholder for the missing text.
    T?m can return both Tim and Tom.
    Tilde~Overrides the function of a wildcard when used in front of them.
    ~*ly return *ly and ~t?m returns t?m.

    Let’s use the asterisk wildcard to filter data to view only those fields that start with the letter “A” in the Category section.

    1. Create a criteria range. Under “Category”, enter A*
      Use Wildcard to Filter data
    1. Head to Data > Advanced.
    2. Choose an Action.
    3. Select your data range as the List range.
    4. Next to the Criteria range, reference the new field you just created.
    5. Click OK.
      Filtered Value

    Use FILTER Function

    Excel also has the FILTER function to set multiple criteria for filtering a data set in your worksheet. You can use the FILTER function as an alternative to using the Advanced Filter tool. 

    Here is how you can use the FILTER function while constructing a formula:

    =FILTER(array, include, [if_empty])
    • array: Your data set
    • include: The criteria for filtering data
    • [if_empty]: Message if the data specifies in “include” isn’t found

    Example 1: Filter by One Criterion

    Let’s use the FILTER function to filter out all data except IT from the Department column. Here is what our formula will look like:

    =FILTER(A1:H26,C1:C26=“IT”)
    Filter According to Values in Excel

    Example 2: Filter by Multiple Criteria

    By default, FILTER only takes in one criterion to filter data. However, you can use the BOOLEAN login to set multiple criteria. Simply, concatenate as many criteria as you want using the asterisk (*) operator.

    We will use FILTER to extract data whose Status is Inactive, and is under Project, Good Life.

    =FILTER(A1:H26,(E1:E26="Inactive")*(D1:D26="Good Life"))
    FILTER function with multiple criteria
    Advanced Excel
    Asmi Dhakal

      Asmi is a content writer specializing in MS Office. She loves writing Excel-related content to assist other users to learn their way around the program. She started using Excel when she first entered the industry as a marketing intern. Soon, she realized that learning the often-overlooked spreadsheet program was no piece of cake. In her articles, she attempts to brief out complex topics to help beginner to intermediate-level Excel users. Asmi uses Excel for everything, including creating a grocery list to managing her personal finance. She’s a bit dramatic when it comes to the Flash Fill feature; so much so that could write a eulogy out of it. When she’s not working, you’ll find her learning a new recipe, or cleaning up her mess (out of the failed recipe).

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Using the Filter Tool
        • Filter Range by Cell Values
        • Filter by Color
        • Filter by Numbers
      • Use Advanced Filter
        • Example 1: Filter Data According to One Criterion
        • Example 2: Filter Data According to Multiple Criteria
        • Example 3: Set Multiple Filter Criteria for the Same Column
        • Example 4: Use Wildcards to Filter Data
      • Use FILTER Function
        • Example 1: Filter by One Criterion
        • Example 2: Filter by Multiple Criteria
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.