Formula Errors

Fix a FILTER #SPILL! Error Inside an Excel Table

John WilsonJohn Wilson Dec 2, 2026 868 views

Question details

The user needs to display FILTER results without a #SPILL! error when using an Excel Table.

Fix a FILTER #SPILL! Error Inside an Excel Table
Product
Microsoft Excel
Device & OS
not provided
Scenario
A FILTER formula is entered inside an Excel Table to return matching rows.
Observed behavior
The formula returns #SPILL! inside the table but works in a regular worksheet range.
Before you start

Check the source table name and column names on the Table Design tab. Identify an empty worksheet area outside all Excel Tables with enough room for the filtered results.

Solution 1Recommended

Move the FILTER Formula Outside the Excel Table

Use a regular worksheet range to let FILTER spill its results while keeping the source data in a table.

Excel dynamic array formulas cannot spill inside an Excel Table. The source data can remain in a table, but the FILTER formula and its spill area must be outside it.

1
Choose an empty cell

Select a cell outside any Excel Table, leaving empty cells below and to the right for the results.

2
Enter the FILTER formula

In the selected cell, enter a formula such as =FILTER(SourceTable[[Column1]:[Column2]],SourceTable[Status]="Open","No results"). Replace the table name, column names, and condition with your own.

3
Check the spill area

Press Enter. If #SPILL! remains, select the formula cell and use the error indicator to identify and clear any obstruction in the intended spill range.

Move the FILTER Formula Outside the Excel Table
Need results in an Excel Table?: A spilled formula cannot populate a table directly. Consider using Power Query or VBA to load the filtered results into a table instead.
Free Microsoft Office alternative

Filter Spreadsheet Data with WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel workbooks and use filtering tools to work with your data as you transition from Microsoft Office.

Filter spreadsheet rows using familiar data toolsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar interface for an easier transition from ExcelWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does FILTER work outside the table but not inside it?

FILTER returns a dynamic array that spills into neighboring cells. Excel Tables do not support spilled array formulas inside their cells, so place the formula in a regular range outside the table.

Can FILTER still reference data in an Excel Table?

Yes. Enter FILTER outside the table and use structured references such as SourceTable[Status] in the formula. The source data can remain in the table.

Why do I still see #SPILL! after moving the formula?

The intended spill range may contain data or overlap a table. Select the formula cell, check the error indicator, and clear or move any obstruction.

How can I put filtered results into an actual table?

Use Power Query to filter the source data and load the results into a worksheet table, or use VBA to populate a table. A FILTER formula cannot spill directly into an Excel Table.