To add a filter to an Excel sheet, click any cell inside your data and press Ctrl+Shift+L on Windows (Cmd+Shift+L on Mac), or go to Data > Filter. Drop-down arrows appear in the header row of each column, and clicking any arrow lets you sort or show only the rows you want. That is the whole job for most sheets: one keystroke, one click. The rest of this guide covers preparing your data so the filter behaves, using the different filter types, and fixing the common failures.

Note that Excel's ribbon labels can differ slightly between versions, platforms and regions, and the Mac and web versions hide some options behind different menus than Windows. The steps below are written for the desktop app unless stated otherwise.

What You'll Need

  • Excel for Windows, Excel for Mac, or Excel for the web. The mobile apps can view filtered data but cannot reliably create and manage filters.
  • A sheet laid out as a proper table: one header row, one type of data per column, no blank rows or columns splitting the data.
  • Optional but recommended: a backup copy of the file before you start filtering and deleting rows.

Step-by-Step

  1. Clean the layout first. Filters work on a contiguous block of data. Remove blank rows and blank columns inside your table, and make sure every column has a single kind of content (dates in one column, names in another). Merged cells in the header row break filtering, so unmerge them: select the headers, then use Home > Merge & Center to toggle merging off.
  2. Give every column a unique, clear header. Duplicate header names can confuse filters and formulas later. Put the header text in row 1 if possible, or at least leave no blank rows between the header and the first data row.
  3. Click a single cell inside the data. Any cell in the block works. Do not select the whole sheet or hold Ctrl while clicking multiple areas; Excel needs to detect one continuous range.
  4. Turn on the filter. On Windows, press Ctrl+Shift+L. On Mac, press Cmd+Shift+L. Alternatively, open the Data tab and click Filter. Drop-down arrows appear in your header cells.
  5. Check that the arrows span the full width. If an arrow is missing from the last column, Excel stopped reading at a blank column. Fill the gap, then press Ctrl+Shift+L twice (off, then on) to reapply the range.
  6. Apply a simple filter. Click the arrow on a column header. A menu opens with sort options at the top and a list of values below with checkboxes. Untick everything you want to hide - or untick the select-all box and tick only the values you want - then click OK. For long value lists, type in the search box above the list to narrow the choices.
  7. Use number, date or text filters for conditions. Click the arrow, then choose Number Filters, Date Filters or Text Filters (the exact submenu name depends on the column's content). You get conditions such as Greater Than, Between, Begins With, Contains, Before or After. Excel guesses the column type from the data, which is why consistent formatting matters.
  8. Combine filters across columns. Filters on different columns stack with AND logic: filtering Region to North and Status to Open shows only rows that are both. To get OR logic inside a single column, tick multiple values in that column's checklist, or use a custom filter with two conditions joined by Or.
  9. Filter by colour or icon if you use those. Columns with cell fill colours, font colours or conditional-formatting icons get a Filter by Color option in the drop-down. It is useful for flagging rows you have highlighted manually.
  10. Copy or chart the visible results carefully. When you copy a filtered range, Excel copies only visible cells if you select the range normally and copy, but hidden rows can sneak in when you copy whole rows. For reliability, select the data, press Alt+; on Windows (Cmd+Shift+Z on Mac selects visible cells only where supported), then copy and paste.
  11. Clear or remove the filter when you are done. To reset one column, open its arrow and choose Clear Filter From. To remove all filters and the arrows, select a cell in the data and press Ctrl+Shift+L again, or click Data > Filter. Clearing the filter keeps the arrows; turning Filter off removes them.
  12. Consider converting the range to a real table. Select the data and press Ctrl+T (Cmd+T on Mac), confirm the header row, and Excel adds its own filter buttons plus banded rows and automatic range expansion as you type new rows. Structured tables are more robust than plain filtered ranges when you add data regularly.

Common Mistakes

  • Blank rows and columns inside the data. The most common cause of a filter covering only part of a sheet. Excel treats the blank as the end of the range.
  • Filtering, then typing new data below the table. Rows added outside a filtered range or table fall outside the filter and may appear unfiltered or be missed entirely.
  • Sorting only the filter arrow on one column while other columns stay fixed. Filters and sorts act on whole rows, so the row contents stay together - but if you sort a manually selected range instead, rows can become misaligned. Sort via the filter arrow or the Data tab, not by dragging.
  • Deleting filtered rows carelessly. Deleting visible rows while a filter is active removes only those rows; that can be intended, but check the row numbers in the left margin and keep a backup.
  • Mixing text and numbers in one column. Number filters disappear or behave oddly when some cells are stored as text. Look for the small green triangle warning marker and convert with Data > Text to Columns if needed.
  • Assuming filtered-out rows are gone. They are hidden, not deleted. Subtotals and SUM formulas may still include them unless you use SUBTOTAL with a function number that ignores hidden rows.

Tips

  • Use SUBTOTAL instead of SUM when totalling a filtered column so the total reflects only visible rows.
  • Freeze the header row (View > Freeze Panes > Freeze Top Row) so the filter arrows stay visible while you scroll.
  • Name your filter conditions in a helper column if you filter the same way often; a simple formula plus a filter on TRUE is easier to audit than a stack of custom conditions.
  • Turn on Data > Filter inside a table and Excel extends the filter automatically when you add rows below, which avoids re-selecting the range each time.

Troubleshooting

If the arrows do not appear at all, check whether the sheet is protected: Review > Unprotect Sheet (you may need the password). Also check that you are not in a view with the filter disabled, and that the active cell is inside the data rather than in an empty area.

If the arrows appear but filtering does nothing, confirm the column is fully populated and the filter range actually includes it. Press Ctrl+Shift+L twice to refresh the range.

If a date filter shows unexpected groups or a whole month is missing, some dates are probably stored as text. Format the column as Date and re-enter the values, or use Text to Columns to convert them.

If filter arrows look greyed out or a custom filter option is unavailable, the workbook may be in a mode that limits editing, such as a shared or read-only file. Save a copy locally and try again.

If the file is very large and filtering is slow, remove full-column references from formulas and consider turning the range into a table, which Excel can optimize better than an open-ended range.

If Excel crashes or the filter menu freezes, save your work, close the app, and reopen the file before trying again. Reinstalling is the last resort, not the first step.

Frequently Asked Questions

Does filtering delete rows?

No. Filtering hides rows that do not match your criteria. They remain in the file and reappear when you clear the filter.

Can I apply more than one filter at a time?

Yes. Filters on separate columns combine as AND logic, so only rows matching all active conditions are shown.

How do I copy only the filtered rows?

Select the visible range, then copy and paste. To be safe, use the visible-cells-only selection shortcut (Alt+; on Windows) before copying, since hidden rows can otherwise be included in some copy operations.

Why is a filter arrow missing from my last column?

Almost always because a blank column sits between your data and that column, so Excel stopped the range early. Fill the blank or reapply the filter after removing it.

Can I filter in Excel for the web and on mobile?

Excel for the web supports basic filters and sorts. The mobile apps are mainly for viewing and simple edits; building and managing complex filters is best done on desktop.

What is the difference between Filter and a table?

Filter applies to a fixed range and must be reapplied when the data grows. A table (Ctrl+T) includes its own filters and expands automatically as you add rows, which makes it more durable for ongoing data.