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
Click inside the data range.
Choose Data ▸ Filter or press Ctrl+Shift+L.
Open a header arrow and select values, text filters or date filters.
Clear filters before exporting if all rows should be included.
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 a filter 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. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
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. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. If you take one thing from this page on “add a filter in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
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.
Other ways people ask this
This is also commonly searched as “how to add filter in excel”, “how do i add filters in excel”, “how do you add a filter in excel” and “add filter in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to add filter in excel”, “how do i add filters in excel”, “how do you add a filter in excel” all point at the one operation explained on this page, which is why they all lead here.