In Excel for Microsoft 365 on Windows, press Ctrl+Shift+L to add filter dropdowns to a selected data range—or to turn them off again. Click a dropdown in the header row to filter the records; the shortcut adds the controls but does not choose any filtering criteria for you.
The Excel shortcut for adding filters
Click a cell inside your data, then press Ctrl+Shift+L. Excel usually identifies the surrounding block of data and adds a dropdown arrow to each column heading. If Excel does not select the range you expect, select the complete range, including its header row, before using the shortcut.
This is a toggle: pressing Ctrl+Shift+L again turns AutoFilter off for the range. It is not a command to apply a particular filter, and it does not delete rows. When you want to see only certain records, open a column’s dropdown and choose the values or conditions to display.
You can also use the ribbon: select a cell in the range and choose Data > Filter. The ribbon command is useful if you forget the shortcut or want to confirm which command you are using. If you only need to filter once, neither a formula nor a macro is required.
What the shortcut changes
AutoFilter places dropdown controls in the header cells of a list or range. Those controls let you temporarily hide rows that do not match the selected criteria. For example, in a sales list with columns for Region, Product, and Amount, you could show only the East region, only a particular product, or amounts above a threshold.
Filtering changes which rows are visible, not the underlying records. A row hidden by a filter remains in the worksheet and can be shown again by clearing the filter or turning AutoFilter off. This differs from deleting rows, which removes the records from the data. Excel updates the visible results as you change the criteria.
Filters can be combined across columns. If you select East in Region and a particular product in Product, Excel shows rows matching both column filters. Within a single column, you can generally select several values to show, for example, East and West. The filter menu also offers conditions such as text contains, dates before, or numbers greater than, depending on the column’s data.
Apply a filter step by step
- Arrange the list in columns, with one clear heading at the top of each column and one record per row.
- Click any cell within the list. If nearby blank rows or columns make the data boundary unclear, select the exact range, including the headings.
- Press Ctrl+Shift+L, or choose Data > Filter.
- Open the dropdown in the heading you want to filter. Search or select values, or choose a suitable text, number, or date condition.
- Confirm the selection in the dropdown. Excel hides nonmatching rows and displays the remaining records.
For instance, suppose a worksheet has headings Region, Item, and Units, and East appears in some Region cells. Applying the shortcut displays dropdown arrows; selecting East in the Region dropdown leaves East records visible. No rows are erased, and selecting another region or clearing the filter restores other records to view.
Prepare the data so filtering works well
Excel needs to identify a header row and a coherent block of records. A blank row within the list can make Excel treat the data above and below it as separate ranges. A title or explanatory note directly above the headings can also confuse automatic range detection if you click the note instead of a data cell.
Before applying a filter, check that:
- Each column has a distinct heading, such as Date, Customer, or Status.
- There is one header row, with no merged heading cells across multiple columns.
- Records form a continuous block, without completely blank rows or columns splitting the list.
- Values in a column use consistent types and formats where practical. For example, dates should be stored as dates rather than a mixture of dates and text.
If the range is irregular, select it explicitly before choosing Data > Filter. This helps prevent Excel from including unrelated cells or stopping at an unintended blank. It also makes it clear which headings should receive dropdown arrows.
Use the filter dropdowns effectively
Each heading’s dropdown menu is tailored to its contents. A column of text values can be filtered by selected items or by text conditions; a column of numbers can be filtered using number conditions; and date columns provide date-related choices. The search field in a long list of distinct values can be faster than scrolling through every item.
Use the menu’s selection options carefully. Selecting one item while other items remain checked may not narrow the results as expected. To isolate a value, clear the current selections if needed, select the desired value, and apply the choice. The precise menu labels can differ slightly depending on the data type and Excel build.
When multiple columns have active filters, each filter contributes to the visible result. To understand why a record is missing, inspect the dropdowns across the header row: more than one column may be excluding it. A filter indicator in a heading’s dropdown helps distinguish a column with a condition from one that has only the standard arrow.
Clear a filter or remove the arrows
There are two different actions that are easy to confuse. Clearing a column’s criteria shows the rows again while keeping the dropdown controls available. Turning AutoFilter off removes those controls from the range. Use the dropdown’s clear option when you expect to filter the same list again; use Ctrl+Shift+L or Data > Filter to toggle the controls themselves.
To remove the active criteria for all columns while leaving AutoFilter on, use Data > Sort & Filter > Clear when that command is available for the selected filtered range. You can also clear criteria from individual dropdown menus. The Clear command resets filtering; it does not delete the data or remove the heading row.
If you turn AutoFilter off while results are filtered, Excel shows the rows again as the filter controls are removed. If you later apply a filter again, check the dropdowns rather than assuming an earlier set of criteria is still active. Keeping a filter on and clearing its criteria is usually the clearest choice when you are simply finished with a temporary view.
Filtering a normal range versus an Excel Table
A normal range can use AutoFilter without being converted into a Table. The Ctrl+Shift+L shortcut is a quick way to add or remove filter dropdowns for such a list. You remain responsible for managing the range as it grows; data added outside the filtered range may not be included automatically.
An Excel Table is a structured data object. To create one, select the data and choose Insert > Table, then confirm whether the range has headers. Tables normally provide filter dropdowns in their header row and expand to include adjacent data entered as new rows. If your data is already a Table, you may not need the shortcut to add filters at all.
Table filter arrows can be hidden through the Table Design tab’s Filter Button option, depending on the Excel interface. That is different from converting the Table back to a normal range. Choose a Table when its expanding range and structured features are useful; use a normal range when you only need straightforward filtering and do not want to change the data structure.
Windows, Mac, and Excel for the web
For the Windows desktop version covered here, the shortcut is Ctrl+Shift+L. In Excel for Mac, the corresponding filter shortcut is generally Command+Shift+F. Mac keyboard mappings can vary with the keyboard, macOS settings, and Excel version, so the ribbon command is a dependable alternative: use Data > Filter.
In Excel for the web, choose Data > Filter if a keyboard shortcut conflicts with browser shortcuts or does not respond. The ribbon route also avoids confusion when the workbook is open in a browser rather than the desktop application. The exact appearance of menus can vary across versions, but the underlying task—adding header dropdowns and setting criteria—is the same.
Common shortcut problems
- The shortcut types into a cell instead: You may be editing the cell. Press Enter to finish or Esc to cancel editing, select a cell in the data, and try again.
- Arrows appear in the wrong place: Undo if appropriate, select the intended range including its header row, and apply Data > Filter again. Check for blank rows or columns that split the list.
- No arrows appear: Check whether the worksheet is protected or whether the selected cell is outside the intended data. On a protected sheet, filtering may be unavailable unless the sheet’s protection settings allow it.
- The command removes arrows instead of adding them: AutoFilter was already on for that range. The shortcut toggles the setting, so press it again or use Data > Filter to restore the controls.
- Some records seem missing: One or more column filters may still be active. Open the relevant dropdowns and clear the criteria, or use Data > Sort & Filter > Clear.
A useful check is to inspect the header row after applying the command. If each expected heading has a dropdown, AutoFilter is on. If arrows are present but the list looks incomplete, the issue is usually an active criterion rather than a failed shortcut.
Frequently Asked Questions
What is the keyboard shortcut to add a filter in Excel?
In Excel for Microsoft 365 on Windows, press Ctrl+Shift+L with a cell in the data selected. On Mac, use Command+Shift+F, or choose Data > Filter.
Does Ctrl+Shift+L filter the data automatically?
No. It adds or removes the dropdown controls. To filter records, open a heading’s dropdown and select values or a condition.
How do I remove a filter but keep the dropdown arrows?
Clear the criteria from the column dropdown, or use Data > Sort & Filter > Clear to clear the active filters. Do not toggle AutoFilter off if you want to keep the arrows.
Does filtering delete rows in Excel?
No. A filter hides rows that do not match the criteria. Clear the filter to show them again; use a separate delete command only if you intend to remove records.
Why does my Excel filter include only part of the list?
A blank row or column may have split the data, or Excel may have detected a smaller range. Select the entire list, including its headings, before choosing Data > Filter.
Related
- How to Find a Circular Reference in Excel Step by Step
- Find a Circular Reference in Excel and Trace Its Source
- Identify Circular References in Excel: A Step-by-Step Guide
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- How to Create Rules in Outlook to Sort Email AutomaticallyTo create a rule in Outlook, open Settings > Mail > Rules in new Outlook or Outlook on…
- Excel LEN, FIND, LEFT & RIGHT: Text Extraction FormulasTo split text in Excel, combine LEN and FIND with LEFT or RIGHT: use =LEFT(A2,FIND(" ",A2)-1) to return…
- Filter Excel Table by Text: Steps, Options, and FixesTo filter an Excel table by text in Microsoft 365 for Windows, select the drop-down arrow in the…
- Excel VLOOKUP Examples With a Drop-Down ListTo make a drop-down selection drive a lookup in Excel for Microsoft 365 on Windows, create a list…
- Excel Wildcard SUMIF Formula Examples That Match TextTo total values for text that contains a word, use SUMIF with asterisks around the word: with product…
- SUMPRODUCT IF Function: How to Sum with ConditionsNo, Excel does not have a separate SUMPRODUCTIF or “SUMPRODUCT IF” function. To sum values that meet conditions,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.