If Excel's FILTER function returns a #CALC!, #VALUE!, #SPILL!, or #NAME? error, the cause is almost always one of four things: you are on a version of Excel that does not support dynamic arrays, the formula is blocked from spilling into occupied cells, the range references do not line up, or the file is saved in a format that strips the function. Fixing it means checking your Excel version and update channel first, then clearing the spill range, then verifying that the include argument returns the same number of rows as the array argument. The steps below walk through each cause in the order that resolves the most cases fastest.
What You'll Need
- Excel for Microsoft 365, Excel 2021, Excel 2024, or Excel for the web. The FILTER function is not available in Excel 2019 or earlier, and it is not available in older perpetual-license builds.
- A worksheet where the formula's output area is empty, or the ability to clear cells below and to the right of the formula.
- Your data formatted as a proper range or Excel Table, with no merged cells inside the array you are filtering.
- An active Microsoft 365 subscription if you are on the subscription version, since dynamic array functions require the current update channel.
Step-by-Step
- Confirm your Excel version supports dynamic arrays. Open Excel and go to File > Account > About Excel. Look for "Microsoft 365" or a 2021/2024 perpetual version. If it says Excel 2019, Excel 2016, or an older build, FILTER will always return #NAME? because the function does not exist in that version. There is no workaround that adds it; you must upgrade or use Excel for the web.
- Check that you are on a current update channel. In Microsoft 365, go to File > Account > Update Options > Update Now. Dynamic array functions rolled out through channel updates, and a stalled or deferred update can leave you on a build that lacks them. After updating, close and reopen Excel before testing the formula again.
- Clear the spill range. A #SPILL! error means something is blocking the output. Click the error, and Excel outlines the blocked range. Delete or move whatever sits in those cells, including stray spaces, hidden rows, or a second formula. Merged cells in the spill area also block output; unmerge them first.
- Verify the include argument returns the same number of rows as the array. The syntax is =FILTER(array, include, [if_empty]). If your array is A2:C100 (99 rows) but your include is B2:B50, the sizes mismatch and you get #VALUE!. Both arguments must cover the same number of rows. Write the include as a full-column comparison such as B2:B100="Open" to match.
- Use the correct comparison operator and data type. Text criteria need quotes: B2:B100="Active". Numeric criteria do not: C2:C100>500. Mixing a number stored as text with a numeric comparison returns no matches or an error. Check for leading apostrophes or cells formatted as Text.
- Handle empty results with the if_empty argument. If no rows match, FILTER returns #CALC! by default. Add a third argument, for example =FILTER(A2:C100, B2:B100="Open", "No open items"), so the formula returns a readable message instead of an error.
- Save the file in a modern format. FILTER requires .xlsx, .xlsm, or .xlsb. Saving as .xls or .csv strips dynamic array formulas and can turn them into static values or errors. Use File > Save As and pick Excel Workbook (*.xlsx).
- Test with a minimal formula. In a blank area, enter =FILTER(A2:A10, A2:A10<>""). If that works, the problem is in your original arguments, not the function. If it still fails, return to step 1.
Common Mistakes
- Using FILTER in Excel 2019 or earlier and expecting it to work. It will not; the function is exclusive to dynamic-array versions.
- Forgetting that FILTER spills. Typing the formula inside an Excel Table's data body, or next to other data, causes #SPILL! because the output has nowhere to go.
- Mismatched range sizes between the array and include arguments, which is the most common cause of #VALUE!.
- Leaving out the if_empty argument and then treating #CALC! as a bug rather than the expected "no results" signal.
- Referencing whole columns like A:A in the include argument on very large sheets, which is slow and can behave unexpectedly; use bounded ranges such as A2:A10000.
- Copying a FILTER formula into an older workbook or a different app (such as Excel Mobile on an outdated build) where dynamic arrays are not supported.
Tips
- Press Ctrl+Shift+Enter only if you are on a legacy version that supports array formulas; on dynamic-array versions, Enter alone is correct and adding the legacy keystroke can change behavior.
- Use a cell reference for criteria instead of hard-coding text, so the filter updates when the criteria change: =FILTER(A2:C100, B2:B100=G1, "None").
- Combine conditions with multiplication for AND and addition for OR: (B2:B100="Open")*(C2:C100>100) for AND, or (B2:B100="Open")+(B2:B100="Pending") for OR.
- Wrap FILTER in SORT or UNIQUE to clean up results: =SORT(FILTER(A2:C100, B2:B100="Open"), 1, 1).
- If you need the result to stay put, copy the spilled range and paste as values, but remember it will no longer update.
Troubleshooting
If you still see #NAME?, the function is not recognized by your build. Confirm the version and update channel as in steps 1 and 2; there is no formula-level fix. If you see #SPILL!, click the error and read the outlined range; clear every cell in it, including cells that look empty but contain a space or a formula returning "". If you see #VALUE!, recheck that array and include cover the same rows and that your criteria data types match. If you see #CALC!, add the if_empty argument or confirm that at least one row actually meets the criteria. If the formula works in a new blank workbook but not in yours, the file itself may be corrupted or saved in a legacy format; save a copy as .xlsx and test again. Finally, if you are on Excel for the web, dynamic arrays are supported, but some older browsers can block them; try a current version of Edge, Chrome, or Firefox.
Frequently Asked Questions
Why does FILTER return #NAME? in my workbook?
Almost always because your Excel version does not include the function, typically Excel 2019 or earlier. Check File > Account > About Excel and update or upgrade if needed.
Can I use FILTER in Excel 2019?
No. FILTER is a dynamic array function and is not available in Excel 2019 or older. You would need to use helper columns with INDEX and MATCH, or upgrade to Microsoft 365, Excel 2021, or Excel 2024.
What does #SPILL! mean?
The formula's output range is blocked by existing data, merged cells, or another formula. Clear the outlined cells and the result will appear.
Why does FILTER return #CALC! instead of results?
No rows matched your criteria. Add a third argument such as "No results" to display a message instead of the error.
Does FILTER work in Excel for the web?
Yes, in current browsers. If it does not, update your browser and confirm you are signed in with a Microsoft 365 account that has the feature enabled.
Can I filter by multiple conditions?
Yes. Multiply conditions for AND, add them for OR, and wrap each condition in parentheses so Excel evaluates them correctly.