Excel 2019 Filter Function: Step-by-Step Guide
In this article
Excel 2019 does not include the FILTER function. FILTER is a dynamic array function introduced in Excel 365 and Excel 2021, so typing =FILTER( into Excel 2019 returns a #NAME? error. To filter data in Excel 2019, use AutoFilter or Advanced Filter on the Data tab, or use helper columns with functions like IF and COUNTIF to build a filtered view. The steps below cover the methods that actually work in Excel 2019.
What You'll Need
- Excel 2019 for Windows or Mac (the steps are nearly identical; menu labels can differ slightly by version, device or region).
- Data arranged in a table with a single header row and no blank rows or columns inside the range.
- Optional: a second area on the sheet if you plan to use Advanced Filter for extracting results.
Step-by-Step
- Prepare your data. Make sure each column has a clear header in row 1, and remove any merged cells, blank rows or subtotal rows inside the data range. AutoFilter treats the first row as headers, so a missing header can hide the first record.
- Select the data range. Click any cell inside the data and press Ctrl+A (Windows) or Command+A (Mac) to select the current region, or drag to select the full range including headers.
- Turn on AutoFilter. Go to the Data tab and click Filter. Drop-down arrows appear in each header cell. If you see the arrows but no filtering happens, check that the active cell is inside the range.
- Apply a simple filter. Click the arrow in the column you want to filter. Tick the values you want to keep, or use the search box in the drop-down to find a value. Click OK. Rows that do not match are hidden, not deleted.
- Use number or text filters for conditions. Click the column arrow, point to Number Filters or Text Filters, and choose a condition such as Greater Than, Contains or Between. Enter the value and click OK. Use Custom Filter to combine two conditions with AND or OR.
- Filter by colour or icon (optional). If cells have fill colours or conditional formatting icons, the column arrow includes Filter by Color. This is useful for flagging rows manually.
- Copy filtered results. Select the visible rows, then press Alt+; (Windows) to select visible cells only, or use Find & Select > Go To Special > Visible cells only. Copy and paste to another sheet. Without this step, hidden rows are copied too.
- Clear or remove filters. To clear one column, click its arrow and choose Clear Filter From [column name]. To remove all arrows, go to Data > Filter again. To show all rows without removing arrows, use Data > Clear.
- Use Advanced Filter for complex criteria. Set up a criteria range above or beside your data: copy the header, then type the condition underneath (for example, >100 under a Sales header). Go to Data > Advanced. Choose Filter the list, in-place or Copy to another location. Set the List range and Criteria range, then click OK. For OR logic, put conditions on separate rows in the criteria range; for AND logic, put them on the same row.
- Build a formula-based filtered view (optional). In a helper column, use =IF(condition, value, "") and then filter out blanks, or use =COUNTIF($A$2:$A2, A2)=1 to flag first occurrences. This is not the same as the FILTER function, but it lets you create a dynamic extract that updates when data changes.
Common Mistakes
- Expecting FILTER to work. Excel 2019 does not support =FILTER(). It returns #NAME? because the function is not recognised. Use AutoFilter or Advanced Filter instead.
- Filtering a range with blank rows. AutoFilter stops at the first blank row, so rows below it are ignored. Remove blank rows or convert the range to a table first.
- Copying hidden rows. A normal copy includes hidden rows. Use Alt+; or Go To Special > Visible cells only before copying.
- Confusing filter with sort. Filtering hides rows; sorting reorders them. Applying a sort after a filter can reorder only the visible rows, which may not be what you want.
- Using Advanced Filter with mismatched headers. The criteria range headers must match the list headers exactly, including spelling and spaces, or the filter returns no results.
- Forgetting to clear filters before editing. Editing a filtered range can write into hidden rows. Clear filters or work on visible cells only.
Tips
- Convert your range to a table with Ctrl+T. Tables keep filter arrows attached as data grows and make structured references easier.
- Use the search box inside a filter drop-down to find values quickly in long lists.
- For repeated filters, record a macro or save the workbook with the filter already applied; Excel 2019 stores filter settings with the file.
- Advanced Filter criteria can use wildcards: * for any number of characters, ? for one character.
- Keep a backup copy before running Advanced Filter in-place, because it hides rows and can be confusing to undo.
Troubleshooting
- Filter arrows do not appear. Make sure you selected a cell inside the data range, not an empty cell. If the sheet is protected, unprotect it via Review > Unprotect Sheet.
- Filter returns no rows. Check for leading or trailing spaces in the criteria, and confirm the criteria header matches the data header exactly. Clear the filter and reapply.
- Some rows stay visible when they should be hidden. Look for blank rows inside the range; AutoFilter stops at the first blank. Delete blank rows and reapply.
- You see #NAME? after typing FILTER. That confirms Excel 2019 does not have the function. Use AutoFilter or Advanced Filter, or open the file in Excel 365 or Excel 2021 where FILTER is available.
- Filtered data copies hidden rows. Use Alt+; (Windows) or Find & Select > Go To Special > Visible cells only before copying.
- Advanced Filter gives wrong results. Check that the criteria range is separate from the list range and that OR conditions are on separate rows.
Frequently Asked Questions
Does Excel 2019 have the FILTER function?
No. FILTER is available in Excel 365 and Excel 2021, not in Excel 2019. In Excel 2019, use AutoFilter or Advanced Filter on the Data tab.
Can I use =FILTER() in Excel 2019 if I update?
No update adds FILTER to Excel 2019. You need a Microsoft 365 subscription or Excel 2021 or later to use it.
What is the difference between AutoFilter and Advanced Filter?
AutoFilter is quick and works with drop-down arrows for simple conditions. Advanced Filter uses a separate criteria range and can copy results to another location, which is useful for complex AND/OR logic.
How do I filter by multiple columns at once?
Apply a filter to one column, then apply another filter to a second column. Excel combines them with AND logic, so only rows matching both conditions remain visible.
Why does my filter hide the wrong rows?
Check for blank rows, merged cells or stray spaces in the data. Also confirm the filter is applied to the correct range and that no rows are manually hidden.
Can I save a filter so it applies when the file opens?
Yes. Excel saves filter settings with the workbook. Apply the filter, save the file, and the same filter will be active when the file is reopened.