To add a filter in Google Sheets, select your data range (or click any cell inside it), then open the Data menu and choose Create a filter. Each column header gets a filter icon; click it to pick values or set conditions. That is the short version. The rest of this guide covers the exact clicks, the differences between the browser and the mobile app, and how to fix the usual snags.

What You'll Need

  • A Google account with access to Google Sheets.
  • A spreadsheet with data arranged in columns, ideally with a header row. Filters work best when the first row contains column names.
  • A computer browser for the full filter menu, or the Google Sheets app on Android or iPhone for basic filtering. Some advanced options are only in the browser version.

Step-by-Step

  1. Open your spreadsheet in Google Sheets. You can use sheets.google.com in a browser or the Google Sheets app.
  2. Select the data you want to filter. Click any cell inside the table. If you want to filter only part of the sheet, drag to select that range first. If you select a single cell, Sheets usually applies the filter to the surrounding block of data.
  3. Open the Data menu. In the browser, click Data in the top menu bar. On mobile, tap the three-dot menu (or the menu icon) and look for the data or filter option.
  4. Choose Create a filter. In the browser, click Create a filter. On mobile, tap Create filter or Filter depending on your app version. Labels can differ slightly by version, device, or region.
  5. Check the filter icons. A small filter icon appears in each column header. If you do not see icons, your data may not have a clear header row, or the filter was applied to a different range.
  6. Click a filter icon to open the filter menu for that column. You will see options such as sorting, filtering by values, and filtering by condition.
  7. Filter by values: uncheck the values you want to hide, or use the search box to find a value. Click OK. The sheet now shows only rows that match your selection.
  8. Filter by condition: choose a condition such as Text contains, Greater than, or Is empty, then enter the value. Click OK. This is useful for numbers and dates.
  9. Add more filters by clicking other column icons. Each column can have its own filter, and they combine.
  10. Remove a filter when you are done: open the Data menu and choose Remove filter. This clears all filter settings but keeps your data.

Common Mistakes

  • Filtering the wrong range. If you select only one cell, Sheets may guess the range. If the filter icons appear on the wrong columns, remove the filter and select the full table first.
  • No header row. Filters assume the first row contains column names. If your first row is data, the filter will treat it as a header and you may lose the ability to filter by that value. Add a header row before filtering.
  • Expecting filters to delete rows. Filters only hide rows. To permanently remove rows, you need to delete them, not filter them.
  • Confusing filter with filter view. A standard filter changes what everyone sees in the sheet. A filter view is personal and does not affect other viewers. Use Data > Filter views > Create new filter view if you want a private filter.
  • Forgetting that filters affect sorting. Sorting while a filter is active can reorder only the visible rows, which may scramble your data. Remove the filter before sorting the whole sheet.

Tips

  • Use filter views when sharing a sheet. Others can keep their own filters without interfering with yours.
  • Name your filter views so you can switch between them quickly.
  • Combine filters with conditional formatting to highlight rows that match a condition.
  • On mobile, the filter menu is more limited. For complex conditions, use the browser version.
  • If you need to filter by color, that option exists in the browser filter menu under Filter by color, but not in all mobile versions.

Troubleshooting

  • Filter icons do not appear: Make sure you selected a range that includes a header row. Try selecting the entire table and creating the filter again. If you are on mobile, check that you are in edit mode, not view-only.
  • Filter menu is grayed out: The sheet may be protected or you may not have edit permissions. Ask the owner for edit access.
  • Filter removes rows you wanted to keep: Open the filter menu and check your selections. Use Clear to reset that column's filter.
  • Filter view is not saving: Filter views are saved automatically, but they are tied to your Google account. Make sure you are signed in and have edit access.
  • Data looks wrong after filtering: Hidden rows may still be included in calculations. Use SUBTOTAL instead of SUM if you want totals to reflect only visible rows.

Frequently Asked Questions

Can I add a filter to only part of a sheet?

Yes. Select the range you want, then create the filter. The filter applies only to that range. If you select a single cell, Sheets may expand the selection to the surrounding data block.

What is the difference between a filter and a filter view?

A filter changes the view for everyone with edit access. A filter view is personal and saved with your account, so others do not see it unless they open it.

How do I remove a filter?

Open the Data menu and choose Remove filter. This clears all filter settings for that range. On mobile, tap the filter icon and look for a remove or clear option.

Can I filter by color?

In the browser version, yes: open a column's filter menu and choose Filter by color. Mobile apps may not offer this option.

Why does my filter hide rows that contain the value I selected?

Check for extra spaces or different capitalization. The filter matches exact values. Use a condition like Text contains for partial matches.

Does filtering affect formulas?

Filtering hides rows but does not remove them from calculations. Functions like SUM still include hidden rows. Use SUBTOTAL to calculate only visible rows.