Smart Systems for Home

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

Excel 2019 FILTER Formula: Step-by-Step Guide

· 5 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

The FILTER function is not available in Excel 2019. It was introduced in Excel 365 and Excel 2021, and Microsoft has not backported it to Excel 2019. If you type =FILTER( into a cell in Excel 2019, you will get a #NAME? error. The practical alternative is to use AutoFilter, Advanced Filter, or a helper-column formula with INDEX/SMALL/IF to extract matching rows. This guide shows you how to achieve the same result without the FILTER function, plus what to do if you are thinking of upgrading.

What You'll Need

  • Excel 2019 on Windows or Mac (the steps below work in both, though menu labels can differ slightly by version and region).
  • A data range with a header row and no completely blank rows inside the data.
  • Basic familiarity with cell references and copying formulas.

Step-by-Step

  1. Confirm your version. Open Excel and go to File > Account > About Excel. If the version says Excel 2019 or Excel 2016, FILTER is not available. If it says Microsoft 365, you have FILTER and can use it directly. This matters because the workaround below is for the older versions.
  2. Set up your source data. Put your data in a clean table-like range, for example A1:D100, with headers in row 1. Select the range and press Ctrl+T (Windows) or Command+T (Mac) to convert it to an Excel Table. Name the table on the Table Design tab, for example SalesData. This makes formulas easier to read and ranges expand automatically.
  3. Choose your filter criteria. Decide which column you want to filter on, such as Region, and what value you want, such as "North". Put the criteria value in a separate cell, for example G1, so you can change it without editing formulas.
  4. Use AutoFilter for a quick view. Click any cell in your table, then go to Data > Filter. Drop-down arrows appear in the header row. Click the arrow on the column you want, untick Select All, tick the value you want, and click OK. This hides non-matching rows but does not extract them to a new location.
  5. Use Advanced Filter to extract matching rows. Create a criteria range above or beside your data: copy the header of the column you want to filter (for example, Region) into a cell, and put the value (for example, North) directly below it. Then go to Data > Advanced. In the dialog, set List range to your table, set Criteria range to the two cells you just created, and choose Copy to another location. Pick a destination cell and click OK. Excel copies only the matching rows to that spot.
  6. Build a formula-based extractor for a dynamic list. If you want the results to update automatically when data changes, use a helper column and INDEX/SMALL. In a new column next to your data (say E2), enter: =IF(B2=$G$1,ROW(),""). This puts the row number in E when the Region in B matches the value in G1. Copy down to the last row of data.
  7. Pull the matching rows with INDEX. In a new sheet or area, in cell A2 enter: =IFERROR(INDEX(SalesData,SMALL($E$2:$E$100,ROW()-1),COLUMN(A1)),""). Copy this across as many columns as your table has, then down as many rows as you expect matches. The SMALL function picks the nth smallest row number from the helper column, and INDEX returns the value from that row and column. IFERROR blanks out extra rows.
  8. Test with different criteria. Change the value in G1 from North to South. The helper column recalculates, and the extracted list updates automatically. This is the closest you can get to FILTER behavior in Excel 2019 without VBA.
  9. Consider upgrading if you need true FILTER. If you have a Microsoft 365 subscription, open the same workbook in the 365 version of Excel and use =FILTER(array, include, [if_empty]). For example: =FILTER(A2:D100, B2:B100="North", "No results"). This spills results automatically and is far simpler than the workaround.

Common Mistakes

  • Typing =FILTER in Excel 2019. It returns #NAME? because the function does not exist in that version. Do not waste time troubleshooting the formula; use the workaround instead.
  • Forgetting to lock the criteria cell. In the helper column formula, use $G$1 so the reference does not shift when you copy down.
  • Using whole-column references in INDEX/SMALL. This can slow down large workbooks. Limit ranges to the actual data rows.
  • Leaving blank rows in the data. Advanced Filter and the helper-column method can skip or misalign rows if there are gaps. Remove blank rows first.
  • Not converting to a table. A plain range works, but a table makes structured references and range expansion easier and less error-prone.

Tips

  • Name your criteria cell (Formulas > Define Name) so formulas read like =IF(B2=Criteria,ROW(),"").
  • Use Data > Advanced Filter with the Unique records only checkbox to get a distinct list of values.
  • If you need to filter by multiple criteria, put them on the same row of the criteria range for AND logic, or on separate rows for OR logic.
  • Keep a backup copy before running Advanced Filter with Copy to another location, in case you overwrite existing data.
  • For simple one-off extracts, AutoFilter plus copy-paste visible cells is faster than building formulas.

Troubleshooting

If the extracted list shows #NUM! errors, your helper column has fewer matching rows than the formula expects. Wrap the INDEX formula in IFERROR as shown, or extend the helper range. If Advanced Filter returns no rows, check that the criteria header exactly matches the data header (same spelling, no extra spaces). If the helper column shows row numbers but the extract is blank, confirm that the COLUMN(A1) reference in the INDEX formula points to the first column of your table. If formulas return #REF!, the table name may be misspelled or the table may have been deleted. If you see #NAME? for FILTER specifically, you are on Excel 2019 and need the workaround or an upgrade.

Frequently Asked Questions

Can I use the FILTER function in Excel 2019?

No. FILTER is only available in Excel 365 and Excel 2021 and later. Excel 2019 does not include dynamic array functions.

What is the closest alternative to FILTER in Excel 2019?

Use Advanced Filter with Copy to another location for a static extract, or a helper column with INDEX/SMALL/IF for a dynamic extract that updates when criteria change.

Will a workbook with FILTER formulas work in Excel 2019?

No. Opening a workbook that uses FILTER in Excel 2019 will show #NAME? errors because the function is not recognized. The formulas will work again if opened in a newer version.

Can I filter by multiple conditions without FILTER?

Yes. Advanced Filter supports multiple criteria rows (OR logic) and columns (AND logic). For formula-based extraction, add more IF conditions to the helper column.

Does AutoFilter extract rows to a new location?

No. AutoFilter only hides rows in place. To copy matching rows elsewhere, use Advanced Filter or copy the visible cells manually.