Excel Filter Shortcuts for Windows and Mac
By ExcelReady TeamUpdated 5 min read
The short answer
The main filter shortcut in Excel is Ctrl+Shift+L on Windows and Command+Shift+F on a Mac. It turns filter buttons on or off for the data around the selected cell. Then press Alt+Down Arrow (Mac: Option+Down Arrow) on a header to open its filter menu, use the arrow keys and Space to pick values, and press Enter to apply.
Key takeaways
- Ctrl+Shift+L (Mac: ⌘+Shift+F) turns filters on and off; turning them off also clears every filter.
- Alt+Down Arrow (Mac: Option+Down Arrow) opens the filter menu of the selected header cell.
- Ctrl+Alt+L reapplies filters on Windows after the data changes.
- Alt+; (Mac: ⌘+Shift+Z) selects only the visible cells in a range.
- SUBTOTAL(109,range) totals only the rows a filter leaves visible.
On this page+
The main filter shortcut in Excel is Ctrl+Shift+L on Windows and ⌘+Shift+F on a Mac. It adds filter buttons to your headers in one keystroke, and a few more keys let you open the menus, pick values, clear filters and copy the results without touching the mouse. This guide lists every useful filter shortcut and shows a full keyboard-only workflow.
Excel filter shortcuts at a glance#
Here are the keys worth learning, on both systems:
| Action | Windows | Mac |
|---|---|---|
| Turn filters on or off | Ctrl+Shift+L | ⌘+Shift+F |
| Open the filter menu of a header | Alt+Down Arrow | Option+Down Arrow |
| Move in the menu | Arrow keys, Tab | Arrow keys, Tab |
| Tick or untick a value | Space | Space |
| Apply the filter | Enter | Return |
| Close the menu without changes | Esc | Esc |
| Clear all filters (keep buttons) | Alt, A, C | Data > Clear |
| Reapply filters | Ctrl+Alt+L | Data > Reapply |
| Select visible cells only | Alt+; | ⌘+Shift+Z |
| Create a table (with filters) | Ctrl+T | ⌘T |
The examples use this order list in A1:C7:
| A | B | C | |
|---|---|---|---|
| 1 | Order | Region | Amount |
| 2 | 1001 | East | 250 |
| 3 | 1002 | West | 400 |
| 4 | 1003 | East | 175 |
| 5 | 1004 | South | 320 |
| 6 | 1005 | West | 90 |
| 7 | 1006 | East | 510 |
How to turn filters on and off#
Click any cell inside your data and press Ctrl+Shift+L (Mac: ⌘+Shift+F). Excel finds the edges of the data, treats the first row as headers, and adds a drop-down arrow to each header. Press the same keys again to remove the buttons.
Removing the buttons also removes every filter, so all rows show again. That makes pressing the shortcut twice a quick way to reset a sheet.
Excel works out the range from the selected cell, so a fully empty row or column in the middle of your data cuts it short. If filter buttons only appear on part of the header, select the whole range first, including headers, then press the shortcut. The guide to selecting ranges fast shows how: Ctrl+Shift+Arrow (Mac: ⌘+Shift+Arrow) extends a selection to the end of the data.
How to filter a column without the mouse#
Once filters are on, you can choose values from the keyboard:
- Move to a header cell, for example B1 (Region).
- Press Alt+Down Arrow (Mac: Option+Down Arrow) to open its filter menu.
- Use the arrow keys to move down to the list of values.
- Press Space on (Select All) to untick everything.
- Move to East and press Space to tick it.
- Press Enter to apply.
Only the three East orders stay visible. The row numbers turn blue and the header shows a funnel icon, so you can see that a filter is active.
There's also a fast way to filter by one value you can already see. Select a cell that holds it, for example a cell that says West, then right-click and choose Filter > Filter by Selected Cell's Value. On Windows, Shift+F10 opens the same right-click menu from the keyboard. Excel turns filters on if needed and shows only the West rows.
In the same menu, you can type in the Search box to find a value in a long list, and the Text Filters or Number Filters options let you set conditions such as "greater than 300". The guide to filtering data in Excel covers these options in detail.
How to clear and reapply filters#
To show all rows again but keep the filter buttons, clear the filters. On Windows, press Alt, then A, then C, one key at a time. These are the ribbon key tips for Data > Clear. On a Mac, click Data > Clear. To clear only one column, open its menu and choose Clear Filter From "Region".
Filters don't update by themselves when you change the data. If you edit an amount or add new rows, rows that no longer match stay visible until you reapply. Press Ctrl+Alt+L on Windows, or click Data > Reapply.
Filtering hides rows rather than deleting them. If you need to hide rows by hand instead, see how to hide and unhide rows and columns.
How to copy or total only the filtered rows#
When you copy a filtered range, Excel copies only the visible rows. But if rows are hidden by hand rather than by a filter, a normal copy includes them. Press Alt+; (Mac: ⌘+Shift+Z) first to select only the visible cells, then copy with Ctrl+C (Mac: ⌘C).
Totals need care too. SUM adds every row, visible or not. SUBTOTAL with function number 109 adds only the visible rows:
=SUBTOTAL(109,C2:C7)With no filter, the result is 1,745. Filter Region to East and it changes to 935 (250 + 175 + 510), while =SUM(C2:C7) stays at 1,745. Use 103 instead of 109 to count visible non-empty cells.
Filter shortcuts vs the FILTER function#
The shortcuts above control AutoFilter, which hides rows in place. Excel 2021 and Microsoft 365 also have a FILTER function, which copies matching rows to a new place with a formula, such as =FILTER(A2:C7,B2:B7="East"). The original data isn't touched, and the result updates automatically when the data changes.
Use AutoFilter for quick looks and one-off copies. Use FILTER for reports that must stay up to date. The comparison of the FILTER function vs AutoFilter explains when to use each.
A last tip: before you insert or delete rows in a filtered list, clear the filter first. Otherwise you can't see every row you're about to change. The guide to inserting and deleting rows covers the shortcuts for that.
Practise it#
Practise filtering a table in a live spreadsheet: you'll turn filters on, pick values and total the visible rows, with instant feedback. Then practise selection shortcuts so you can select, filter and copy data without reaching for the mouse. Start with the SUBTOTAL exercise on this page.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
When a filter hides rows, SUM still adds them but SUBTOTAL with 109 doesn't. Click C8 and total C2:C7 with =SUBTOTAL(109,C2:C7). Press Enter.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Amount | |||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 | ||||
| 8 | Visible total | |||
| 9 | ||||
| 10 | ||||
| 11 |
Tip: SUBTOTAL takes a function number first (109 means SUM of visible cells), then the range.
Practise this in a lesson
Frequently asked questions
What is the shortcut to add a filter in Excel?
Click any cell in your data and press Ctrl+Shift+L on Windows or Command+Shift+F on a Mac. Filter buttons appear in the header row. Press the same keys again to remove them.
How do I open the filter drop-down with the keyboard?
Select the header cell and press Alt+Down Arrow on Windows or Option+Down Arrow on a Mac. Use the arrow keys to move, Space to tick or untick a value, and Enter to apply.
What is the shortcut to clear all filters in Excel?
On Windows, press Alt, A, C in turn to run Data, Clear, which shows all rows but keeps the filter buttons. Pressing Ctrl+Shift+L twice also clears everything, by turning filters off and on again.
How do I reapply a filter in Excel?
On Windows, press Ctrl+Alt+L, or click Data, Reapply. This updates the filter after you edit or add data, so rows that no longer match are hidden.