Smart Systems for Home

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

Excel Filter Keyboard Shortcut: How to Use It

· 6 min read · Home Automation

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

The fastest way to turn filters on or off in Excel is the keyboard shortcut Ctrl+Shift+L (Windows) or Command+Shift+L (Mac). Press it once with any cell inside your data selected, and Excel adds filter dropdowns to the header row. Press it again to remove them. This works in Excel for Microsoft 365, Excel 2019, 2016, and most earlier versions. The only thing you need first is a clean data range with a single header row and no completely blank rows or columns inside it.

What You'll Need

  • Excel for Windows or Mac (the shortcut works in both; the modifier key differs).
  • A worksheet with data arranged in columns, with one header row at the top.
  • No completely blank rows or columns inside the data range, because Excel will stop the filter range at the first blank gap.
  • Your cursor inside the data range, not on a blank cell far away.

Step-by-Step

  1. Click any cell inside your data. It does not need to be in the header row; any cell within the block works. If your data has a title row above the headers, click inside the actual table of data, not the title.
  2. Press Ctrl+Shift+L on Windows. On a Mac, press Command+Shift+L. You should see small dropdown arrows appear in each header cell. That is the filter toggle.
  3. Open a filter dropdown with the keyboard. Press Alt+Down Arrow on Windows (Option+Down Arrow on Mac) while a header cell is selected. The filter menu opens.
  4. Navigate the menu with arrow keys. Use Up and Down to move through the list, Space to tick or untick a checkbox, and Enter to apply. Tab moves between the menu's sections (sort options, filter search, value list).
  5. Type to search values. In the filter menu, Tab to the search box and type part of a value. The list narrows as you type. Press Down to enter the list, Space to select, then Enter to apply.
  6. Clear a filter from the keyboard. Select the filtered column's header, press Alt+Down Arrow, then choose Clear Filter from the menu (arrow to it and press Enter). Alternatively, use the ribbon: Alt, then A, then C to open the Clear menu, then F for Clear Filter. Ribbon key tips can vary slightly by Excel version and by which tab is active, so check the letter prompts that appear on screen.
  7. Remove filters entirely. Press Ctrl+Shift+L again (Command+Shift+L on Mac). The dropdown arrows disappear and all rows are shown.

Menu labels and ribbon key tips can differ slightly by Excel version, device, and region, so if a letter prompt on screen does not match, follow the on-screen prompts rather than the letters above.

Common Mistakes

  • Pressing the shortcut outside the data. If the active cell is far from your table, Excel may guess the wrong range or show an error. Click inside the data first.
  • Leaving a blank row or column inside the range. Excel treats the blank as the end of the data, so only part of your table gets filters. Delete or fill the gap first.
  • Using merged cells in the header row. Merged headers break filtering. Unmerge them and put one label per column.
  • Forgetting the Mac modifier. On a Mac the shortcut is Command+Shift+L, not Ctrl+Shift+L. Ctrl+Shift+L may do nothing or trigger a different command.
  • Assuming the filter is gone when rows are hidden. A filter can be active with no visible dropdown if the header row is scrolled off screen. Scroll up to check.
  • Filtering a formatted table and a plain range at the same time. If your data is an Excel Table (created with Ctrl+T), it already has filter buttons; pressing Ctrl+Shift+L toggles them off rather than adding a second set.

Tips

  • Convert your range to a table with Ctrl+T first. Tables keep filters attached as you add rows, and they do not stop at blank rows the way plain ranges can.
  • Use Alt+Down Arrow as your everyday filter key. It opens the menu for the current column without reaching for the mouse.
  • When a filter menu is open, pressing E jumps to the search box in many versions; if that does not work, Tab until the cursor lands there.
  • To filter by more than one column, set the first filter, then move to the next header with the arrow keys and repeat. Filters combine, so rows must match every active filter.
  • Press Ctrl+Shift+L twice to reset: once to remove filters, once to add them back clean. This clears all active filter criteria at once, which is quicker than clearing columns one by one.
  • If you only need to hide a few rows temporarily, filtering is safer than deleting, because the hidden rows stay in the file and come back when you clear the filter.

Troubleshooting

The shortcut does nothing. Check that the active cell is inside the data and that the worksheet is not protected. On the Review tab, look for Unprotect Sheet; if the sheet is protected, filtering may be disabled until you unprotect it (you will need the password if one was set).

Filters appear on only some columns. A blank column or a merged header is splitting the range. Select the full block of data, remove filters, fix the gap or merge, then press Ctrl+Shift+L again.

Alt+Down Arrow does not open the menu. Make sure the active cell is a header cell that actually has a filter dropdown. If the header has no arrow, filters are off for that range.

Rows stay hidden after you clear the filter. Some rows may have been hidden manually rather than by a filter. Select the row numbers on both sides of the hidden rows, right-click, and choose Unhide.

The file behaves differently on another computer. Shortcuts and ribbon key tips can vary with Excel version, keyboard layout, and region. Use the on-screen key tips (press Alt and read the letters) to confirm the right sequence on that machine.

Frequently Asked Questions

What is the keyboard shortcut to add filters in Excel?

Ctrl+Shift+L on Windows and Command+Shift+L on Mac. It toggles filters on and off for the selected data range.

How do I open a filter dropdown without the mouse?

Select the header cell and press Alt+Down Arrow (Option+Down Arrow on Mac). Then use the arrow keys, Space, and Enter to choose values.

Does Ctrl+Shift+L work in Excel for Mac?

No, use Command+Shift+L. The Control key combination is a Windows shortcut.

Why did filters appear on only part of my data?

Excel stops the range at the first completely blank row or column, or at a merged header. Remove the gap or merge and apply the shortcut again.

Can I clear all filters with a keyboard shortcut?

There is no single default shortcut that clears every filter at once. The quickest reliable method is to press Ctrl+Shift+L twice, which removes filters and reapplies them fresh, clearing all criteria.

Does the shortcut work on a protected sheet?

Usually not. If the sheet is protected and filtering was not allowed when protection was set, you must unprotect the sheet first, which requires the password if one was applied.