Back to Blog

How to Filter Data in Excel: 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 Excel 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 Excel, 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: Excel will automatically detect your data range if you click any cell within it.

Step 2: Enable Filtering

  1. Click the Data tab in the ribbon
  2. Click Filter in the Sort & Filter group
  3. Dropdown arrows 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 dropdown arrow in the column header you want to filter
  2. You'll see a list of all unique values in that column
  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 Number (Greater Than, Less Than)

For numeric filters:

  1. Click the dropdown arrow in a number column
  2. Click Number Filters
  3. Choose a filter type:
    • Equals: Exact match
    • Greater Than: Values above a number
    • Less Than: Values below a number
    • Between: Values within a range
    • Top 10: Show top or bottom values
  4. Enter the criteria
  5. Click OK

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

Step 5: Filter by Text

For text filters:

  1. Click the dropdown arrow in a text column
  2. Click Text Filters
  3. Choose a filter type:
    • Contains: Text contains specific characters
    • Begins With: Text starts with specific characters
    • Ends With: Text ends with specific characters
    • Equals: Exact text match
  4. Enter the text criteria
  5. Click OK

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

Step 6: Filter by Date

For date filters:

  1. Click the dropdown arrow in a date column
  2. Click Date Filters
  3. Choose a filter type:
    • Equals: Exact date
    • Before: Dates before a specific date
    • After: Dates after a specific date
    • Between: Dates within a range
    • This Week/Month/Year: Quick date ranges
  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 dropdown arrow in the column
  2. Click Filter by Color
  3. Choose the color you want to see
  4. Only rows with that cell 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 dropdown arrow → Clear Filter From [Column Name]
  • Clear all filters: Click DataClear
  • Remove filter arrows: Click DataFilter (toggles off)

Advanced Filter Options

For more complex filtering:

  1. Click DataAdvanced
  2. Set up your criteria range
  3. Choose to filter in place or copy to another location
  4. Click OK

Use case: Complex criteria with OR conditions or formulas.

Filtering Tips

  • Use wildcards: In text filters, use * (any characters) and ? (single character)
  • Top 10 filter: Quickly show highest or lowest values
  • Custom AutoFilter: Create custom filter criteria
  • 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

Tips for Better Filtering

  • Use multiple criteria: Combine filters across columns for precise results
  • Save filter views: Use Advanced Filter to save complex filter configurations
  • Use SheetXAI for complex filters: For complex filtering logic, SheetXAI can generate the right filter automatically
  • Check filtered count: Look at the status bar to see how many rows are visible
  • Use tables: Convert to Excel Table (Ctrl+T) for easier filtering

Filtering with Excel Tables

For easier filtering, convert your data to a table:

  1. Select your data
  2. Press Ctrl+T (Windows) or Cmd+T (Mac)
  3. Check "My table has headers" if applicable
  4. Click OK
  5. Filter arrows appear automatically in headers
  6. Click arrows to filter

Tables make filtering easier and maintain data structure.

Conclusion

Now you know how to filter data in Excel 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