Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Turn On Filter in Excel: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To turn on a filter in Excel, select any cell inside your data range and press Ctrl+Shift+L (Windows) or Cmd+Shift+L (Mac), or go to the Data tab and click Filter. Drop-down arrows appear in the header row, letting you sort and show only the rows you want. This works in Excel for Microsoft 365, Excel 2019, 2021, and Excel for the web. The steps below cover the ribbon method, the keyboard shortcut, and how to filter by text, number, or color.

What You'll Need

  • Excel installed on Windows or Mac, or Excel for the web in a browser.
  • A worksheet with data arranged in columns, ideally with a single header row at the top.
  • Your data range should not contain completely blank rows or columns inside it, as these can break the filter range.

Step-by-Step

  1. Select your data. Click any cell inside the range you want to filter. Excel usually detects the surrounding block automatically. If your data has blank rows or you want to be precise, select the entire range including the header row. Do not select the whole sheet unless you really want filters on every column.
  2. Open the Data tab. On the ribbon, click the Data tab. In the Sort & Filter group, click Filter. The button looks like a funnel. If you are on Excel for the web, the Filter button is in the same place on the Data tab. Menu labels can differ slightly by version, device, or region, but the Data tab and Filter button are consistent.
  3. Alternatively, use the keyboard shortcut. Press Ctrl+Shift+L on Windows or Cmd+Shift+L on Mac. This toggles filters on and off for the selected range. It is the fastest way once you know it.
  4. Check for drop-down arrows. Small arrows should appear in the bottom-right corner of each header cell. If they do not appear, your data may not be recognized as a range, or the active cell may be outside the data. Click a cell inside the data and try again.
  5. Click a header arrow to filter. Click the arrow in the column you want to filter. A menu opens with sort options and a list of values. Use the search box to find specific text, or untick (Select All) and tick only the items you want to show. Click OK.
  6. Use number or text filters for conditions. In the same drop-down, choose Number Filters or Text Filters (the label depends on the column data type). Options include Equals, Does Not Equal, Begins With, Contains, Greater Than, Less Than, and Between. For dates, you get date-specific options such as Before or After. Set your condition and click OK.
  7. Filter by color if needed. If cells have fill or font colors, the drop-down includes Filter by Color. Pick a color to show only rows with that color. This is useful for flagged items.
  8. Clear a filter. To remove a filter from one column, click its arrow and choose Clear Filter From [column name]. To remove all filters and the drop-down arrows, click the Filter button on the Data tab again, or press the same keyboard shortcut. This turns filtering off for the range.

Common Mistakes

  • Filtering a single cell instead of the range. If you click outside the data block, Excel may apply the filter to the wrong area or show no arrows. Always click inside the data first.
  • Leaving blank rows in the data. A completely blank row can cause Excel to treat the data as two separate ranges. Remove blank rows or select the full range manually before turning on Filter.
  • Using merged cells in the header row. Merged cells can prevent filters from working correctly. Unmerge header cells and put one label per column.
  • Forgetting that filters hide rows, not delete them. Hidden rows still exist and can affect copy-paste and some calculations. Use Clear Filter to bring them back.
  • Assuming filters apply to the whole workbook. Filters apply only to the worksheet and range where they are turned on. Each sheet needs its own filter.

Tips

  • Format your data as a table with Ctrl+T (Windows) or Cmd+T (Mac). Tables include filter arrows automatically and expand when you add new rows.
  • Use the search box in the filter drop-down to quickly find values in long lists instead of scrolling.
  • Combine filters across multiple columns to narrow results. Each column filter is applied together (AND logic).
  • To filter by a list of items, use Text Filters > Custom Filter and enter conditions, or paste the list into the search box separated by commas if your version supports it.
  • If you need to count or sum only visible rows after filtering, use the SUBTOTAL function instead of SUM, because SUM includes hidden rows.

Troubleshooting

  • No drop-down arrows appear. Click a cell inside the data range and try the Filter button again. Check that the header row is not merged and that there are no blank rows directly under the headers. If the data is in a table, the filter arrows are already part of the table style; you may need to turn on the header row in Table Design.
  • Filter arrows are greyed out or missing on some columns. This can happen if the range includes columns with no header. Add a header label to each column and reapply the filter.
  • Filtering shows wrong results. Check for leading or trailing spaces in cells. Use Trim or clean the data. Also confirm that the column data type is consistent (numbers stored as text can behave oddly in number filters).
  • Filter button does nothing. The worksheet may be protected. Go to Review > Unprotect Sheet if you have the password. If the workbook is shared, some filter options may be limited.
  • Excel for the web behaves differently. Some advanced filter options are not available in the browser version. If a filter option is missing, open the file in the desktop app.

Frequently Asked Questions

How do I turn off filters in Excel?

Click any cell in the filtered range, then go to Data > Filter or press Ctrl+Shift+L (Windows) or Cmd+Shift+L (Mac). This removes the drop-down arrows and clears any active filters.

Can I filter by more than one column at once?

Yes. Apply a filter to one column, then apply another filter to a different column. Excel shows only rows that meet all active conditions.

Why do my filter arrows disappear after I save and reopen the file?

This can happen if the filter was applied to a range that is no longer recognized, or if the sheet is protected. Check that the data range is intact and the sheet is unprotected. Reapply the filter and save again.

Does turning on a filter delete hidden rows?

No. Filtering only hides rows temporarily. The data remains in the worksheet. Clear the filter to show all rows again.

Can I filter by cell color?

Yes, if the cells have fill or font colors. Click the column filter arrow and choose Filter by Color, then pick the color. This option may not be available in all Excel versions or in Excel for the web.

What is the difference between Filter and Sort?

Filter hides rows that do not match your criteria. Sort rearranges the order of rows based on values. Both are on the Data tab and can be used together.