Smart Systems for Home

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

How to Add a Filter in Excel 2019: Step-by-Step

· 8 min read · Home Tech

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

To add a filter in Excel 2019, click any cell inside your data range, go to the Data tab on the ribbon, and click Filter in the Sort & Filter group. Excel reads the contiguous block around your cursor and drops a small dropdown arrow into the header row of every column. That is the whole job: from that moment each column header has a menu that lets you sort, tick individual values, or build number, text and date rules so only matching rows stay visible. Note that ribbon labels and dialog wording can differ slightly between Excel versions, regions and languages, so a step labelled one thing here may read a little differently on your screen.

What You'll Need

  • Excel 2019 installed on Windows or Mac (the steps below are written for the desktop app; Excel for the web has the same Data > Filter command, though some dialog wording differs).
  • A worksheet with data laid out as a table: one header row with one label per column, and no completely blank rows or columns inside the block.
  • Ideally, every column holding a single type of data (all text, all numbers, or all dates) so the filter menu offers the right rules.

Step-by-Step

  1. Clean up the layout first. Scroll through your data and remove fully blank rows and columns that sit inside the block. If your headers and data are separated by an empty row, Excel will treat only one of those pieces as the range. It also helps to make the header row visually distinct so you can confirm the filter arrows land in the right place.
  2. Click a single cell anywhere inside the data. Do not select the whole sheet, and do not select only the header row. A single cell in the middle of the block is enough, because Excel expands the selection automatically to the surrounding contiguous region.
  3. Open the Data tab. On the ribbon, click Data. The commands you need live in the Sort & Filter group on the left side of that tab.
  4. Click Filter. The Filter button is a toggle, and it looks pressed once active. Dropdown arrows appear in the bottom-right corner of each header cell. Clicking it a second time removes the arrows and clears any filtering you had applied.
  5. Confirm the range covered the whole table. Check that every one of your columns has an arrow. If the arrows stop partway across, Excel stopped at a blank column. Undo the filter, fill or delete the gap, and turn Filter on again.
  6. Open a column's dropdown to see your options. Click the arrow in a header. The menu shows Sort A to Z or Sort Smallest to Largest, Sort Largest to Smallest, a search box, a checklist of every distinct value in that column, and submenus such as Text Filters, Number Filters or Date Filters. Excel picks the submenu based on the data type it detects, so a column of mixed text and numbers may only offer Text Filters.
  7. Filter by ticking values. Untick (Select All) to clear the list, then tick only the entries you want and click OK. This is the fastest method for a handful of categories, such as three product names or two sales regions. The search box above the list is useful when a column has hundreds of distinct entries.
  8. Or filter by a rule. Hover over Number Filters (or Text Filters, or Date Filters) and choose a comparison such as Greater Than, Between, Begins With or Does Not Equal. A small dialog opens where you type the value and, if you need a second condition, pick And or Or and set the second comparison. Click OK to apply.
  9. Stack filters across columns. Each column you filter narrows the result further, because conditions are combined with AND. Filtering Region to North and then Order Date to This Month shows only North rows from the current month. The arrows of filtered columns turn into a small funnel icon, and the row numbers on the left show gaps where hidden rows sit.
  10. Read the status bar. When rows are hidden by a filter, Excel displays a message near the bottom of the window telling you how many records were found. This is the quickest way to confirm the filter actually did something rather than silently matching nothing.
  11. Clear individual filters when done with them. Open the dropdown again and click Clear Filter From "ColumnName". To wipe everything at once, use Data > Clear in the Sort & Filter group. This removes filter criteria but keeps the arrows in place so you can filter again.
  12. Remove filters entirely if you no longer need them. Click Data > Filter again to switch the feature off. All hidden rows reappear and the arrows disappear.
  13. Consider formatting as a table instead. Select your range and use Insert > Table, then tick My table has headers. Tables come with filter arrows built in, expand automatically as you add rows, and keep formatting and formulas aligned. Convert back with Table Tools > Design > Convert to Range if you prefer plain cells.

Common Mistakes

The most frequent failure is a blank row or blank column inside the data. Excel stops at the gap, so only part of the table gets arrows, or rows below the gap never appear when you filter. Scan for empty rows before you start. A second common problem is leaving the header row empty: without labels, Excel generates names like Column1, which makes the dropdowns hard to read and can cause it to treat the first data row as headers. Mixed data types in one column are another trap, because a column containing both numbers stored as text and real numbers will sort and filter inconsistently; look for the small green triangle warning in the corner of cells and convert those values. Finally, people often filter, then copy or paste the visible cells and are surprised when hidden rows come along. Copy only what is visible by selecting the range, pressing Alt+; (Windows) or Cmd+; (Mac) to select visible cells, then copying. On pasting back into a filtered range, paste into visible cells only, or clear the filter first, to avoid overwriting hidden rows.

Tips

  • Use the keyboard shortcut Ctrl+Shift+L (Windows) or Cmd+Shift+L (Mac) to toggle filters on and off without touching the ribbon.
  • Filter arrows can be applied to more than one separate data block on the same sheet by selecting each block and turning Filter on for it.
  • Date Filters include options like Between, This Week and Last Month, but they depend on values being stored as true dates. Text that merely looks like a date will not respond to them.
  • Use Top 10... in the Number Filters submenu to show the highest or lowest values by item count or percentage, which is handy for the best-selling lines.
  • When filtering removes rows from a chart's source, the chart updates too. If you want the chart to keep all data, base it on a separate unfiltered range or a PivotChart.
  • Save a commonly used filter as a view by using a table and the Table Tools > Design tab's options, or simply note the criteria; Excel 2019 does not store named filter presets natively.

Troubleshooting

No arrows appear when I click Filter

Click a cell inside the data first, not an empty cell outside it. If the sheet is protected, filtering may be locked; go to Review > Unprotect Sheet and supply the password. If the workbook is shared, some filter options are limited, so consider taking it out of shared mode.

Arrows appear on only some columns

There is a blank column splitting the block, or adjacent columns contain different data that Excel read as a separate range. Remove the gap, select the full range manually, and reapply the filter.

Filtering by a value shows no rows

The value probably has hidden spaces, inconsistent capitalisation handled by the equals test, or is stored as text while you searched as a number. Use Text Filters > Contains with a fragment of the text, and check for leading or trailing spaces with the TRIM function.

Numbers filter as if they were text

Cells formatted as Text keep their values as text even after you change the format. Convert them by selecting the column, using Data > Text to Columns and clicking Finish without changing any delimiters, which coerces the values into real numbers.

Date Filters are greyed out

Excel does not recognise the entries as dates. Re-enter them in your region's date order, or use Text to Columns to convert them. Regional settings can cause day and month to be swapped on import.

Row numbers skip and I cannot see the hidden rows

That is normal filtering, not corruption. Hidden rows are simply excluded. Clear the filter to bring them back. If you genuinely hid rows manually instead, select the surrounding rows and use Home > Format > Unhide Rows.

Frequently Asked Questions

Does filtering delete rows?

No. Filtering hides rows temporarily. The data stays in the worksheet and reappears when the filter is cleared or the feature is switched off.

Can I filter by more than one colour?

Yes, if cells are filled with a cell or font colour, the dropdown includes Filter by Color and you can stack several colour filters across columns.

Why does the total at the bottom not change when I filter?

Functions such as SUM and AVERAGE include hidden rows. Use SUBTOTAL, which ignores filtered-out rows, to get a total that responds to the filter.

Can I filter with a formula?

Excel 2019 does not have the dynamic array FILTER function; that arrived in later versions and in Microsoft 365. Use AutoFilter, or the Advanced Filter under Data > Advanced, which accepts a criteria range with formulas.

Does the filter carry over when I print?

Yes. Printing respects the current filter, so only visible rows are printed. Clear the filter first if you need the full table in hard copy.

Can I filter more than one sheet at once?

No. Filters apply per worksheet and per data block. You would need to filter each sheet separately or combine the data into one table.