How to Create a Filter in Google Sheets

To create a filter in Google Sheets, select your data and click Data > Create a filter. Filter buttons appear in the header row, and you click one to filter that column by values, condition, or color. If your list has no column labels yet, make a header row in Google Sheets first.

These steps are for Google Sheets in a web browser on a Windows PC, Mac, or Chromebook, with a separate section for the Sheets app on Android, iPhone, and iPad. They follow Google’s Sort & filter your data help article, checked October 17, 2026.

Filter or Filter View: Which One to Use

A filter hides rows that don’t match what you pick. It doesn’t delete anything. Sheets has two kinds, and the choice matters when other people use the file.

Filter Filter view
Who sees it Everyone with access to the spreadsheet Only you, unless you share its link
Who can change it Anyone who can edit You, or anyone you share it with
Saved Yes, until someone removes it Yes, once you save it
Works with view-only access No Yes, as a temporary view
Sheets app on phone or tablet Yes No

Use a regular filter for a sheet that only you work in, or when the whole team should see the same rows. Use a filter view when you want your own view of a shared sheet without changing what everyone else sees.

How to Create a Filter in Google Sheets

  1. Open the spreadsheet and select the range of cells you want to filter, including the header row. To filter every column, click the gray box where the column letters and row numbers meet to select the whole sheet.
  2. Click Data > Create a filter. You can also right-click the selected cells and choose Create a filter. A green border appears around the range, and each header cell gets a Filter button.
  3. Click the Filter button at the top of the column you want to filter. A menu opens with sort and filter options.
  4. Choose Filter by values, Filter by condition, or Filter by color. Each one is explained below.
  5. Click OK.
Google Sheets filter menu open on a column with Filter by values checkboxes and the OK button
Open a column’s filter menu, choose which values to show, then click OK. The sheet contains sample data.
  1. Check the sheet. Rows that don’t match are hidden, and the row numbers skip where rows are hidden. Google says the bottom right of the sheet shows how many rows are displayed out of the total.

You can filter more than one column. Each column’s filter narrows the rows further, so a row has to match every column’s filter to stay visible. To open a column’s filter menu from the keyboard, select a header cell and press Ctrl + Alt + R (Ctrl + Command + R on a Mac).

Keep in mind that a regular filter is shared. Everyone with access to the spreadsheet sees it, and anyone who can edit can change it. Your filter settings are also saved, even if the data you filtered on is removed.

When only certain cells should stay locked, Sheets uses protected ranges instead, and you can remove sheet protection in Google Sheets once those limits are no longer needed.

Filter Options Explained

Filter by values

The menu lists every value in the column with a check box. Uncheck the items you want to hide. Click Clear to uncheck everything, then check only the few items you want to see. Select all checks them all again. Type in the search box to find an item in a long list. The search only finds items in the list; it doesn’t create a rule.

Filter by condition

Click Filter by condition, open the drop-down (it starts at None), and pick a rule. Then type the value in the box below it. The choices include:

  • Is empty and Is not empty for blank cells.
  • Text contains, Text does not contain, Text starts with, Text ends with, and Text is exactly.
  • Date is, Date is before, and Date is after.
  • Greater than, Less than, Is equal to, Is between, Is not between, and the other number comparisons.
  • Custom formula is for your own rule.

Google also lets you filter cells with valid or invalid data validation rules from the same list. A value filter is better for picking known items from a list, like three sales regions. A condition is better for ranges, like every order over $500.

Filter by color

Click Filter by color, choose Fill color or Text color, and pick a color. Only rows with that color in the column stay visible. This works with colors from conditional formatting, but not with alternating colors.

Filter by cell value

Right-click a cell and choose Filter by cell value. Sheets creates a filter, or adds to the one you have, that shows only rows matching that cell. This is the fastest way to say “show me only rows like this one.”

How to Filter With a Custom Formula

When none of the built-in conditions fit, choose Filter by condition > Custom formula is and type a formula that returns TRUE for rows you want to keep. Write it for the first data row of the range. Sheets checks it against every row and hides the rows where it returns FALSE.

Here are a few examples for a sheet where row 1 is the header row, column A holds dates, column B holds regions, and column C holds amounts:

Goal Custom formula
Rows for East or West =OR(B2=”East”, B2=”West”)
Amounts under 100 or over 1,000 =OR(C2<100, C2>1000)
Dates in October of any year =MONTH(A2)=10
Dates in the current month =AND(MONTH(A2)=MONTH(TODAY()), YEAR(A2)=YEAR(TODAY()))
Values that appear only once in column B =COUNTIF($B$2:$B, B2)=1

The last example follows the pattern Google gives for unique values. The dollar signs keep the range fixed while Sheets moves down the rows. Google also shows how to match more than one word with REGEXMATCH, such as =OR(REGEXMATCH(B2, “Good”), REGEXMATCH(B2, “Great”)).

How to Use a Filter View Instead

A filter view only changes your view of the spreadsheet, so other people aren’t affected. Changes to a filter view save automatically.

  1. Click Data > Create filter view. The sheet’s edges turn dark gray to show you’re in a filter view.
  2. Sort and filter the data with the same Filter buttons.
  3. To keep it, click Save View at the top right, then Save.

Your filter view is saved for later. Here’s how to manage it:

  • Open a saved view: click Data > Change view and pick the view. Only one view can be applied at a time. Click Close at the top right to return to the normal sheet.
  • Rename it: open the view, click its name at the top left, type a new name, and press Enter.
  • Share it: open the view and copy the URL from your browser’s address bar. The link opens the sheet with that view applied for anyone who already has access.
  • Delete or duplicate it: click Options at the top right and choose Delete view or Duplicate view.

You can’t change the order of filter views. If you can only view the spreadsheet, you get a temporary filter view that only you can use, and it won’t be saved.

How to Create a Filter in the Google Sheets App

Google gives the same steps for Android, iPhone, and iPad:

  1. Open the spreadsheet in the Google Sheets app.
  2. Tap More (three dots), then tap Create a filter. Filter icons appear on the column headers.
  3. Tap the filter icon at the top of a column. The Sort and filter menu opens.
  4. Tap items in the list to uncheck them, or tap Filter by condition or Filter by color, tap the down arrow, and choose an option.
  5. Tap Done at the top left. The sheet updates with only the matching rows.

To turn off all filters in the app, tap More > Remove filter. Filter views are only available on a computer.

How to Sort With a Filter

The filter menu also sorts. Click a column’s Filter button and choose Sort A to Z or Sort Z to A. Only the filtered range is sorted, and the header row stays in place.

How to sort by color

Create a filter, click the Filter button at the top of the column, and choose Sort by color. Pick a text or fill color, and cells with that color move to the top of the range. Need to change the colors first? You can add or remove fill color in Google Sheets.

How to alphabetize the whole sheet

  1. Right-click the letter of the column you want to sort by.
  2. Click Sort sheet A to Z (or Sort sheet Z to A).

The whole sheet is sorted by that column. If your list started in a document, you can alphabetize a list in Google Docs.

When a column of prices filters or sorts in an odd order, its dollar signs may be typed text. The article on fixing the currency formatting in Google Sheets shows how to correct it.

How to sort only part of a sheet

  1. Select the cells you want to sort.
  2. If your sheet has a header row, freeze the first row.
  3. Click Data > Sort range > Advanced range sorting options.
  4. Check Data has header row if your columns have titles.
  5. Pick the column to sort by first and choose A to Z or Z to A.
  6. To add another rule, click Add another sort column.
  7. Click Sort.

Only the selected range is sorted, using your rules in order. To keep the header visible as you scroll, freeze the header row in Google Sheets.

Ways to sort in Google Sheets: sort sheet A to Z, sort range, header row and multiple sort columns
Illustration: ways to sort in Google Sheets.

Why Is “Create a Filter” Grayed Out?

These are the common causes:

  • Merged cells or hidden rows and columns. Unmerge the cells and unhide the rows or columns.
  • Conditional formatting rules. Check Format > Conditional formatting.
  • Data validation rules. Check Data > Data validation.
  • You may not have access. Make a copy of the sheet with File > Make a copy and see if the filter option works there. If you only need your own view, use a filter view instead.

Why Your Filter Isn’t Showing the Right Rows

  • New rows are left out. A filter covers the range it was created on. If you added data below or beside it, remove the filter and create it again with the larger range.
  • A value you changed is still hidden or still showing. A filter doesn’t recheck rows on its own after you edit them. Open the column’s filter menu and click OK to apply it again.
  • Numbers stored as text. A number condition such as Greater than may skip values Sheets reads as text. Format the column as a number and try again.
  • A blank column splits the data. Sheets may treat the columns after a blank column as separate data. Select the full range yourself before you create the filter.
  • Nothing changes at all. No rows match your rule, or the rule is on the wrong column. Check the condition and the column.

How to Clear One Column or Remove the Filter

To clear one column but keep the filter on the others, open that column’s Filter menu. Click Select all for a value filter, or set the condition or color back to None, then click OK.

To remove the whole filter, click Data > Remove filter, or right-click any cell and choose Remove filter. All hidden rows come back. Removing the filter also resets its saved settings.

Filter Menu or FILTER Function?

The FILTER function is a formula that copies matching rows to another place in the sheet and updates as the data changes. Google’s FILTER function page gives the format as FILTER(range, condition1, [condition2, …]). For example, =FILTER(A2:C100, C2:C100>500) lists every row with an amount over 500. Each condition has to be the same size as the range, and the formula returns #N/A when nothing matches.

Use the filter menu when you want to work with the rows where they are, such as editing them or deleting a set of rows. Use the FILTER function when you want a separate, always up to date list, such as a summary on another tab.

Sheets Filter Questions

Will sorting break my formulas?

Sorting a filtered range doesn’t change formulas that point into it. For example, a formula of “=B2” stays “=B2” after you sort.

Can I filter a sheet I can’t edit?

Yes, with a filter view. If you only have view access, Google creates a temporary filter view that only you can use, but it won’t be saved.

Does a filter delete my data?

No. Filtered rows are only hidden. Remove the filter or set the column back to Select all and every row comes back.

Can I filter by more than one color?

Not in one column. Filter by color takes one color at a time. To see rows with two colors together, use Sort by color to group each color at the top, or add a helper column that labels those rows and filter on the label.

Can I save a filter so I can use it again later?

A regular filter stays on the sheet until someone removes it. To keep several setups and switch between them, save each one as a filter view and open it from Data > Change view.

Related Guides