How to Add Filtering in Excel

If you just need to add filtering in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: click inside the header row and choose Data ▸ Filter, then use the drop-down arrows to show only matching rows.

On this page7
Annotated stepsExcel
1

Click inside the data range.

2

Choose Data ▸ Filter or press Ctrl+Shift+L.

3

Open a header arrow and select values, text filters or date filters.

4

Clear filters before exporting if all rows should be included.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

Filters temporarily hide rows that do not match selected criteria. They do not delete data, and formulas may or may not ignore hidden rows depending on the function. Filters work best on a clean table with one header row and no blank rows inside the data. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “add filtering in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected filter change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A sales table has Region in column B. Turn on Data ▸ Filter, open the Region arrow and select West. Excel hides every non-West row while keeping row numbers blue to signal a filtered view. Filters are the everyday way to inspect subsets without changing the source data. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. Treat “add filtering in excel” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.

Common mistakes

  • Thinking filtered-out rows were deleted.
  • Filtering a range with blank rows that split the table.
  • Copying visible rows without checking hidden records.
  • Forgetting active filters before totals or exports.

Frequently asked questions

What is the filter shortcut?

Ctrl+Shift+L toggles filters on Windows.

Do filters delete rows?

No. They hide non-matching rows temporarily.

How do I clear filters?

Use Data ▸ Clear or clear each header filter.