Back to Blog

How to Filter Data in Google Sheets: Step-by-Step Guide | SheetXAI

D
David DeSouza
Dec 1, 2025
Vector illustration showing a spreadsheet window with a funnel icon, representing filtering data to show only specific rows that match criteria

The Problem

You have a large dataset in Google Sheets and need to see only the rows that meet specific criteria. For example, you want to see only sales from a particular region, products above a certain price, or dates within a range. Filtering helps you focus on relevant data without deleting anything.

The Easy Way: Use SheetXAI

If you don't want to manually set up filters, the fastest way is to simply ask SheetXAI.

With SheetXAI, you can open the sidebar and type:

Show only rows where column B is greater than 1000.

SheetXAI will instantly filter your data for you, handling all the filter criteria automatically. You can filter by multiple conditions, dates, text, or complex logic with simple commands.

The Manual Way: Step-by-Step Instructions

To filter data manually in Google Sheets, follow these steps:

Step 1: Select Your Data

  1. Click on any cell within your data range
  2. Or select the entire range: Click and drag to select all the data you want to filter
  3. Include headers: Make sure to include the header row if you have one

Tip: Google Sheets will automatically detect your data range if you click any cell within it.

Step 2: Enable Filtering

  1. Click Data in the menu bar
  2. Click Create a filter
  3. Filter icons (funnel symbols) will appear in each column header

Keyboard shortcut: Ctrl+Shift+L (Windows) or Cmd+Shift+L (Mac)

Step 3: Apply a Filter

  1. Click the filter icon (funnel) in the column header you want to filter
  2. You'll see a list of all unique values in that column with checkboxes
  3. Uncheck "Select all" to clear all selections
  4. Check the values you want to see
  5. Click OK

Example: To show only "Product A" and "Product B", uncheck "Select all", then check only those two products.

Step 4: Filter by Condition

For more advanced filtering:

  1. Click the filter icon in a column
  2. Click Filter by condition
  3. Choose a condition type:
    • Text contains: Text includes specific characters
    • Text does not contain: Text excludes specific characters
    • Text is exactly: Exact text match
    • Text starts with: Text begins with specific characters
    • Text ends with: Text ends with specific characters
  4. Enter the criteria
  5. Click OK

Example: Filter to show only names that contain "Smith".

Step 5: Filter by Number

For numeric filters:

  1. Click the filter icon in a number column
  2. Click Filter by condition
  3. Choose a condition type:
    • Greater than: Values above a number
    • Less than: Values below a number
    • Equal to: Exact match
    • Between: Values within a range
    • Is not empty: Show only cells with values
  4. Enter the number criteria
  5. Click OK

Example: Filter to show only sales greater than $1,000.

Step 6: Filter by Date

For date filters:

  1. Click the filter icon in a date column
  2. Click Filter by condition
  3. Choose a condition type:
    • Date is: Exact date
    • Date is before: Dates before a specific date
    • Date is after: Dates after a specific date
    • Date is between: Dates within a range
  4. Enter the date criteria
  5. Click OK

Example: Filter to show only dates in the current month.

Step 7: Filter by Color

If your cells have background colors:

  1. Click the filter icon in the column
  2. Click Filter by color
  3. Choose the background color or text color
  4. Only rows with that color will be displayed

Step 8: Apply Multiple Filters

You can filter multiple columns at once:

  1. Apply a filter to the first column
  2. Apply a filter to a second column
  3. Both filters work together (AND logic)

Example: Filter by Region = "North" AND Sales > 1000.

Step 9: Clear Filters

To remove filters:

  • Clear one filter: Click the filter icon → Clear
  • Clear all filters: Click DataRemove filter
  • Remove filter icons: Click DataRemove filter (removes all filters and icons)

Filter Views (Advanced Feature)

To save different filter configurations:

  1. Click DataFilter viewsCreate new filter view
  2. Set up your filters
  3. Give it a name
  4. Switch between saved filter views anytime

Use case: When different people need different filtered views of the same data.

Filtering Tips

  • Use multiple criteria: Combine filters across columns for precise results
  • Save filter views: Use Filter Views to save different filter configurations
  • Use SheetXAI for complex filters: For complex filtering logic, SheetXAI can generate the right filter automatically
  • Check filtered count: Look at the bottom of the sheet to see how many rows are visible
  • Filter by selection: Right-click a cell value → FilterFilter by selected cell's value

Common Mistakes to Avoid

  1. Not including headers: Always include header row when selecting data to filter
  2. Filtering formulas: Be careful - filtered data still exists, formulas still calculate on hidden rows
  3. Copying filtered data: When copying, only visible (filtered) rows are copied
  4. Deleting filtered data: Make sure you're deleting the right rows - check that filters are showing what you expect
  5. Forgetting filters are active: Look for the filter icon in column headers to see if filters are applied

Filtering vs Sorting

Filtering: Hides rows that don't meet criteria (data stays in place, just hidden)

Sorting: Reorders all rows but shows everything (data is physically moved)

You can combine both: Filter first to show only relevant rows, then sort those filtered rows.

Conclusion

Now you know how to filter data in Google Sheets manually. It's an essential skill for working with large datasets and focusing on relevant information.

But for those times when you need to apply complex filters or filter by multiple conditions, SheetXAI can filter your data automatically with simple commands, saving you time and ensuring accurate results.

Boost your productivity today.
Start automating your spreadsheets.

Join thousands of professionals saving hours every week. No credit card required to start.

Learn more