ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. How to Filter Data in Excel (Ctrl+Shift+L)

How to Filter Data in Excel (Ctrl+Shift+L)

By ExcelReady Team·Updated October 30, 2026·5 min read

The short answer

To filter data in Excel, click any cell in your table and press Ctrl+Shift+L (Mac: ⌘⇧F), or choose Data > Filter. Arrow buttons appear in the header row. Click an arrow, untick (Select All), tick the values you want and click OK. Hidden rows aren't deleted: clear the filter and they come back.

Key takeaways

  • Ctrl+Shift+L (Mac: ⌘⇧F) turns filter buttons on and off; Data > Filter does the same.
  • Ticking several values in one column shows rows that match any of them.
  • Filters on two columns show only rows that pass both.
  • SUM still adds hidden rows; SUBTOTAL(109, range) adds only the visible ones.
  • The FILTER function (Excel 2021 and Microsoft 365) returns matching rows with a formula instead.
On this page+
  1. How to filter data in Excel
  2. Filter by one or several values
  3. Filter by number, text or date conditions
  4. Filter more than one column
  5. How to tell a filter is on, and how to clear it
  6. Reapply, sort and copy filtered data
  7. Total only the visible rows with SUBTOTAL
  8. The FILTER function: a formula alternative
  9. Practise it

To filter data in Excel, click a cell in your table and press Ctrl+Shift+L (Mac: ⌘⇧F), or choose Data > Filter. An arrow button appears in each header cell, and you use it to show only the rows you need, such as one department or amounts over $1,000. Nothing is deleted. This guide covers the clicks, the conditions, totals that respect the filter, and the FILTER function.

The examples use a list of 10 expense claims in A1:D11, with the columns Employee, Department, Region and Amount.

How to filter data in Excel#

First, check that your data has a header row: a top row with a name for each column. Then turn on the filter buttons:

  1. Click any cell inside the data.
  2. Press Ctrl+Shift+L. On a Mac, press ⌘⇧F, or ⌃⇧L (Control, not Command).
  3. Or click Data > Filter, or Home > Sort & Filter > Filter.

A small arrow button appears in every header cell. Press the same shortcut again to remove the buttons and clear every filter at once.

Excel guesses the range from the cell you click. A blank row in the middle stops it, so the rows below the gap aren't filtered. Remove blank rows first, or select the whole range before you press the shortcut. If your data is an Excel table (Ctrl+T, Mac: ⌘T), the buttons are already on.

Filter by one or several values#

The value list is the quickest filter. To show only the Sales department:

  1. Click the arrow in the Department header.
  2. Untick (Select All). This clears every box at once.
  3. Tick Sales.
  4. Click OK.

To show Sales and Marketing, open the same arrow again and tick Marketing too. Rows that match any ticked value show. In a long list, type in the Search box to find a value quickly.

Filter by number, text or date conditions#

For a condition instead of a list of values, use the condition menus. Their names depend on the column type:

Column holdsMenuExample options
NumbersNumber FiltersGreater Than, Between, Top 10, Above Average
TextText FiltersContains, Begins With, Does Not Equal
DatesDate FiltersThis Month, Last Quarter, Between

To show amounts over $1,000: click the arrow in Amount, choose Number Filters > Greater Than, type 1000 (no $ or comma), and click OK. For two conditions in one column, choose Custom Filter and join them with And or Or, such as "greater than 500 and less than 1000". If you used colors to mark cells, Filter by Color shows only those rows; our guide to conditional formatting in Excel shows how to color them by rule.

Filter more than one column#

You can filter several columns at once, and a row shows only if it passes every filter. Keep Sales and Marketing in Department, and add Amount greater than 1,000. Four rows are left:

EmployeeDepartmentRegionAmount
Ana LopezSalesNorth$1,250
Chloe KimSalesWest$2,100
Gus MollMarketingNorth$1,480
Jo BrooksMarketingEast$1,150

So filters on different columns work like AND, and ticked values within one column work like OR.

How to tell a filter is on, and how to clear it#

A filtered table gives three signs:

  • A funnel icon on the arrow of each filtered column.
  • Blue row numbers that skip the hidden rows.
  • A message in the status bar at the bottom, like "4 of 10 records found".

To clear one column, open its arrow and choose Clear Filter From "Amount". To clear all of them, choose Data > Clear, or press Ctrl+Shift+L (Mac: ⌘⇧F) twice: once to remove the buttons, once to turn them back on.

Reapply, sort and copy filtered data#

Three habits save time once a filter is on:

  • Reapply after editing. A filter doesn't re-check rows when you change their values. If you edit an amount so it no longer matches, the row stays visible until you choose Data > Reapply (Windows shortcut: Ctrl+Alt+L).
  • Sort from the same menu. Every filter arrow also has Sort A to Z and Sort Smallest to Largest, so you can filter to Sales and then sort the claims by amount without leaving the menu.
  • Copy only what you see. When you select a filtered range and copy it, Excel copies only the visible rows. Paste it into a new sheet to send a manager just the rows they asked for.

Deleting is different: if you select visible rows and delete them, only those rows go, but they are gone for good. Undo with Ctrl+Z (Mac: ⌘Z) if you didn't mean it.

Total only the visible rows with SUBTOTAL#

A normal SUM adds hidden rows too. With the filter above on, =SUM(D2:D11) still shows $10,820, the total of all 10 claims. To add only the rows you can see, use SUBTOTAL with 109:

Excel formula
=SUBTOTAL(109,D2:D11)

Now the result is $5,980, the four visible claims. Change the filter and it updates. =SUBTOTAL(103,A2:A11) counts the visible rows. Put these formulas above or below the data, not in rows that might be hidden. Our SUBTOTAL function guide explains every function number.

The FILTER function: a formula alternative#

The FILTER function returns the matching rows in a new place, instead of hiding rows in the original. It needs Excel 2021 or Microsoft 365:

Excel formula
=FILTER(A2:D11,B2:B11="Sales")

This lists every Sales claim, and the results spill into the cells below and to the right. It updates as soon as the data changes, with no clicks. To combine conditions, multiply them: =FILTER(A2:D11,(C2:C11="North")*(D2:D11<1000)) returns the North claims under $1,000. See the FILTER function guide, and FILTER function vs AutoFilter for when to use each.

Filtering is one of the everyday Excel skills for admin jobs. If your list sits on another tab, you can still total it from a summary sheet; see how to reference another sheet.

Practise it#

Filters are quick to learn by doing. In ExcelReady's filter a table lesson, you turn on the filter buttons with the shortcut, filter by one and several departments, add a number condition, total and count the visible rows with SUBTOTAL, clear everything, and then answer a manager's question with two filters, all in a live spreadsheet. Practise filtering data in the lesson.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

A filter hides rows; the FILTER function lists the matching rows somewhere else. Click E2 and use FILTER to return every row of A2:C7 where the department in B2:B7 is "Sales".

fx
ABCDEF
1
Employee
Department
Amount
2
Ana Lopez
Sales
1250
3
Ben Ortiz
Marketing
640
4
Chloe Kim
Sales
2100
5
Dev Patel
IT
980
6
Emma Reed
Finance
430
7
Femi Ade
Sales
760
8
9
10

Tip: FILTER takes the rows you want back first, then a test on one column, like B2:B7="Sales".

Practise this in a lesson

LessonFilter a tableTurn on filter buttons with Ctrl+Shift+L, filter by one or several values and by a number condition, total and count only the visible rows with SUBTOTAL, then clear the filters.Function guideFILTERReturn every row that matches a condition with Excel's FILTER. Multiple criteria, empty results and #SPILL! explained, with live practice.

Frequently asked questions

What is the shortcut to filter in Excel?

+

Ctrl+Shift+L on Windows. On a Mac, use ⌘⇧F, or Control+Shift+L. Press it once to turn the filter buttons on, and again to turn them off and clear all filters.

Does filtering delete data in Excel?

+

No. A filter only hides the rows that don't match. Clear the filter and every row comes back.

Why is my Excel filter not showing all the data?

+

Usually a blank row splits the table, so Excel only filters the rows above it. Remove the blank row, or select the whole range before you turn the filter on.

How do I sum only the filtered rows?

+

Use SUBTOTAL with 109, like =SUBTOTAL(109,D2:D11). It ignores rows hidden by the filter, while SUM adds every row.

How do I filter by more than one condition in the same column?

+

Use Number Filters or Text Filters and choose Custom Filter. There you can combine two conditions with And or Or, such as greater than 500 and less than 1,000.

Sources

  • Filter data in a range or table - Microsoft Support
  • FILTER function - Microsoft Support
  • SUBTOTAL function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to filter data in Excel
  2. Filter by one or several values
  3. Filter by number, text or date conditions
  4. Filter more than one column
  5. How to tell a filter is on, and how to clear it
  6. Reapply, sort and copy filtered data
  7. Total only the visible rows with SUBTOTAL
  8. The FILTER function: a formula alternative
  9. Practise it

Keep reading

Data tools· 5 min read

Conditional Formatting in Excel: Highlight What Matters

Conditional formatting colors cells automatically when they meet a rule. Select the cells, go to Home > Conditional Formatting, and pick a rule such as Highlight Cells Rules > Greater Than. To color whole rows, use New Rule > Use a formula, with a $ before the column letter: =$E2>5000. Rules update whenever values change.

Data tools· 6 min read

How to Reference Another Sheet in Excel

To reference another sheet, type the sheet name, an exclamation mark, then the cell: =Prices!B3. If the name has a space, put single quotes around it: ='Last Year'!B5. The easiest way is to type =, click the other sheet's tab, click the cell and press Enter, and Excel writes the reference for you.

Data tools· 5 min read

SUBTOTAL in Excel: Totals That Ignore Filtered Rows

SUBTOTAL calculates a total that skips rows hidden by a filter: =SUBTOTAL(109,D2:D11) adds only the visible amounts, while SUM adds every row. The first argument picks the calculation: 9 or 109 sums, 1 or 101 averages, 3 or 103 counts non-empty cells. The 100s also skip rows you hid by hand.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free