A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
The #SPILL! error in Excel usually means the formula is trying to return multiple results, but Excel cannot place them into the cells it needs. This often happens with formulas like FILTER, SORT, UNIQUE, or SEQUENCE.
Please try these checks:
- Click the cell showing #SPILL! Excel will usually highlight the area where the results are supposed to appear.
- Check for anything blocking the spill range
Make sure the cells around the formula are completely empty. Even one hidden value, space, or formula can block the result. Microsoft also notes you can use “Select Obstructing Cells” from the error warning if available.
- Check for merged cells
If the result area contains merged cells, Excel will return #SPILL!. Unmerge those cells and test again.
- Check whether the formula is inside an Excel Table
Some spilled array formulas do not work properly inside a Table. If your homework formula is inside a formatted table, try moving it outside the table or converting the table to a normal range.
- Check if the formula is referencing an entire column
Example: =VLOOKUP(A:A,A:C,2,FALSE)
This can sometimes cause #SPILL! because Excel tries to return too many results. Instead, use a smaller range like: =VLOOKUP(A2:A20,A:C,2,FALSE) or use a single-cell reference and copy it down.
Official Microsoft guide: How to correct a #SPILL! error
Hope this will help.