How to add and use filters in Google Sheets

When you analyze your tables in Google Sheets, very often you need only a part of the information, while the table may contain dozens of various datasets. What's more, a bunch of various values may simply interfere.

Sure, you can always duplicate the table and delete those temporarily unwanted values. But isn't it a waste of time?

That is when Google Sheets filters lend a helping hand.

So, what is a "filter"? It's one of many Google Sheets options that lets you hide a part of data that you don't need at the moment. This way you don't need to delete the data. You simply hide it temporarily and can display it back any time.

Besides, this enables you to sort the data. Isn't that a pleasant perk? ?

How to filter your data in Google Sheets?

To filter your table, you need to select the range of interest manually. But something tells me you have loads of data.

So, to do the job faster, I advise you to select entire columns. I explained how to do that in one of my previous articles.

If you want to filter the entire table, just click its any cell and go to Data > Create a filter right away:
Filter data using the Google Sheets menu.

Or simply use a corresponding button on the Google Sheets toolbar:
Filter option on the Google Sheets toolbar.

Note. When you enable Google Sheets filter, it will work only for columns with data. If you have completely empty columns, the filter won't treat them as part of your table. You can include them by selecting the range with these columns manually.

Tip. You may want to lock the first row of the table that contains filter buttons. This way you won't have to scroll all the way up to adjust filter settings.

So, the filter is there. Each column header contains kind of an upside-down pyramid icon meaning that the table can now be filtered.
The table can be filtered now.

Now, let's try and adjust it.

Filter by values in Google Sheets

Let's start with the most basic filter option – filter by value. Decide by which column you'd like to filter first and click that pyramid icon next to the column header:
The triangle icon opens filter options.

Uncheck all the values you want to hide temporarily and click OK.

You'll notice that some of the data has disappeared from the screen right away. Don't worry, the entries weren't deleted. They are there, in your table, you just don't see them because of the Google Sheets filter.

You can sort the remained values either A to Z or Z to A:
Sort the rest of your data A to Z.

Tip. The filter icon changes next to those column headers where the filter is applied.

If necessary, you can always set additional filters. I'll do it with the Product column, to see the information about Dark and Extra Dark Chocolate only:
Apply additional filter to a table using another column.

As a result, both filters are applied to the whole table and there are even fewer entries than before:
Two filters are applied to our table.

The rows we see now meet our two requirements.

Filter by color in Google Sheets

It may very well be that you use different font and background colors to present your data in the best and self-explanatory way possible. For cases like this, there’s another extremely useful option available in Google Sheets – filter by color.

For example, here I have a list of purchased items per order. My conditional formatting rules dictate the following: if the number of items is less than 40, the number is colored red. If greater than or equal to 100, the fill color is green:
Using text and background colors in the table.

Let's apply Google Sheets filters to this table.

Option 1. Filter by text color in Google Sheets

I'm going to filter data by font color and hide all records but those in black:

  1. Apply the filter to your table first.
  2. Then click the pyramid icon in the column to filter by and select Filter by color > Text Color > black:
    Google Sheets: filter by text color.

    Note. Only the rows with the color you select will remain in the table. Other rows will be hidden. So make sure to choose the color that you want to see in your table.

As you can see, all records with any text color but black have been filtered:
Records in red have been hidden.

Option 2. Filter by fill color in Google Sheets

Another way would be to filter by fill color in Google Sheets. I can filter the table and keep only rows with the green background color with the following: Filter by color > Fill Color > light green 3:
Filter by fill color in Google Sheets.

Now I see only rows where Qty cells are colored green:
Only rows with the green background in column E remain.

Note. At the moment, Google Sheets allows neither filtering by both fill and text color nor filtering by several font hues/background hues.

Option 3. Remove all filters by color

To remove any filtering by color simply go to Filter by color > None, and all formerly filtered rows will appear anew:
Remove filtering by color.

So, filtering the table by values or colors is not rocket science. But will it be enough for the list of 100+ entries and a bunch of parameters to consider?

In cases like this, I believe, you'd better apply filters by conditions in Google Sheets. There's even a super tool for the task – the knowledge of absolutely no formula is required. ;)

In addition, that article will teach you how to share different filtering results with different people within one document.

Table of contents


  1. Hello;
    Enjoy your tips... I have lost the menu selection CREATE FILTER" under the DATA menu item n ... in one Google Sheet ? what is happening ? I use all the time in both Excel and Sheets ...
    I deleted all Filter Views, and cannot make the Create Filter work, since it is gone.


    • Hello Marc,

      Regarding your problem, please turn to Google support service for assistance:
      open your spreadsheet and click Help > Report a problem. Then follow the instructions in the Send feedback window.

      I wish I could help you better.

      • I am Very happy your information.

  2. I am trying to filter out some data but only if the 2 columns passed a certain condition. Ex I wanted to eliminate all the zero in column A if column B is also zero. If its only column A that's zero or column B then I dont want it to be filtered out. Can you help me solve this problem? Please! I am trying the custom formula in the filters but i just dont know what formula to use. Please help!

  3. I am unable to get this simple task to work and was hoping you might be able to shed some light.
    Google Help "Filter your data":
    Search: Search for data points by typing in the search box. For example, typing "??" will shorten your list to just the cells that contain "??".

    • Hi Dan,

      To see only values that contain "??", first, pick the "Clear" option to unselect all values from a filter search. Then enter ?? into the filter search field and make sure the value is checked.
      Hope this makes at least a bit clear how to filter the values.

      • And the award for the worst UX in the world goes to...

        Google Sheets column filters for their incredible work on the "Clear then search then Select All" behaviour.

  4. Using the formula:
    - Where $D$2 is the constant number 4017 1501 100
    - Row (A1:A10000) creates 10,000 numbers in sequence (1 - 10,000)
    - The text function (that wraps the row function) creates leading zeros's thus 1 is displayed as 00001
    - The Array function (Entering Ctrl+Shift+Enter) allows you to create 1 formula and apply it for the entire range (10,000 values in this case)

    Look through the shared Google Sheets link for more info:

  5. Hello,
    I have to send my printer a bunch of promo codes, 10,000 to be exact. I'm trying to send him a file from Google Sheets. So the first number would be 4017 1501 100 00001, the 2nd number would all be the same except the last or 00002, and so on to 4017 1501 100 10000. Can this be done?
    Thanks so much,


Post a comment

Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)