How to Fix #SPILL! Errors When Using Named Ranges in Excel Tables
Question details
The user is encountering a #SPILL! error when applying formulas that contain named ranges inside an Excel table and is seeking an efficient solution to resolve it without manually adding the @ symbol.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Entering formulas that utilize named ranges within the boundaries of an official Excel Table.
- Observed behavior
- Excel returns a #SPILL! error because dynamic array formulas, which are often triggered by named ranges, are not fully supported within Excel tables.
Verify whether your data is formatted as an official Excel Table (which features special Design tabs and structured formatting) or just a standard range, as this determines which solution will work best.
Use Structured References Instead of Named Ranges
Replace standard named ranges with table-specific structured references to calculate data row-by-row without causing array spilling issues.
Excel Tables use a special syntax called structured references. When you use structured references instead of traditional named ranges, Excel understands that you want to calculate values within the specific row rather than generating a dynamic array, effectively preventing the #SPILL! error.
Click on the cell inside your Excel table where you want the formula result to appear.
Type '=' and build your formula by clicking on the table cells in the same row, or manually type the structured references (for example, =[@Hours]*[@Rate]).
Press Enter. The formula will automatically calculate and fill down the rest of the table column without triggering a #SPILL! error.

Convert the Table to a Normal Range
If your workflow relies heavily on dynamic array formulas and named ranges, converting the table back to a standard range will allow the formula to spill correctly.
Move the Named-Range Formula Outside the Table
Place your dynamic array formula in an empty cell outside the official table boundaries so it can spill freely.
Easily Manage Tables and Dynamic Formulas with WPS Spreadsheet
WPS Office provides a robust spreadsheet environment that fully supports advanced formulas, structured references, and seamless data management. Whether you're dealing with named ranges or standard tables, WPS Spreadsheet simplifies data calculation without frustrating errors.
- 1. Open your file in WPS Office: Download and install WPS Office, then open your existing Excel workbook (.xlsx) to get started.
- 2. Format your data effortlessly: Highlight your data and easily turn it into an intelligent table using the 'Format as Table' feature under the Home tab.
- 3. Apply error-free formulas: Use the formula bar to input structured references by simply clicking on column headers, ensuring accurate calculations without SPILL errors.

Frequently Asked Questions
Why does the #SPILL! error only happen in Excel tables?
Excel tables are designed to hold single values in each cell and do not support dynamic array formulas that output multiple values (spill) across adjacent cells. If a formula utilizing a named range attempts to return an array of values inside a table, Excel blocks the action and displays the #SPILL! error.
What does the @ symbol do in Excel formulas?
The @ symbol acts as the implicit intersection operator in Excel. It forces a formula that could potentially return an array to return only a single value corresponding to the same row the formula resides in. Adding it before a named range often resolves SPILL errors in tables, though structured references are generally preferred.
Are structured references compatible when sharing files with older Excel versions?
Yes, structured references (like =[@ColumnName]) have been fully supported in Excel since the 2007 version. Using them is a highly compatible and stable way to write formulas inside tables across modern spreadsheet applications, including WPS Office.




