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
- Click on any cell within your data range
- Or select the entire range: Click and drag to select all the data you want to filter
- 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
- Click Data in the menu bar
- Click Create a filter
- 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
- Click the filter icon (funnel) in the column header you want to filter
- You'll see a list of all unique values in that column with checkboxes
- Uncheck "Select all" to clear all selections
- Check the values you want to see
- 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:
- Click the filter icon in a column
- Click Filter by condition
- 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
- Enter the criteria
- Click OK
Example: Filter to show only names that contain "Smith".
Step 5: Filter by Number
For numeric filters:
- Click the filter icon in a number column
- Click Filter by condition
- 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
- Enter the number criteria
- Click OK
Example: Filter to show only sales greater than $1,000.
Step 6: Filter by Date
For date filters:
- Click the filter icon in a date column
- Click Filter by condition
- 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
- Enter the date criteria
- Click OK
Example: Filter to show only dates in the current month.
Step 7: Filter by Color
If your cells have background colors:
- Click the filter icon in the column
- Click Filter by color
- Choose the background color or text color
- Only rows with that color will be displayed
Step 8: Apply Multiple Filters
You can filter multiple columns at once:
- Apply a filter to the first column
- Apply a filter to a second column
- 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 Data → Remove filter
- Remove filter icons: Click Data → Remove filter (removes all filters and icons)
Filter Views (Advanced Feature)
To save different filter configurations:
- Click Data → Filter views → Create new filter view
- Set up your filters
- Give it a name
- 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 → Filter → Filter by selected cell's value
Common Mistakes to Avoid
- Not including headers: Always include header row when selecting data to filter
- Filtering formulas: Be careful - filtered data still exists, formulas still calculate on hidden rows
- Copying filtered data: When copying, only visible (filtered) rows are copied
- Deleting filtered data: Make sure you're deleting the right rows - check that filters are showing what you expect
- 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.
Related Guides
- How to Filter Data in Excel - Excel version
- How to Sort Data in Google Sheets - Organize your data
- COUNTIF in Google Sheets - Count filtered results
- Google Sheets AI Guide - Learn how AI can automate your Google Sheets workflows
- AI Spreadsheet Tools - Discover how AI transforms spreadsheet work