Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
#SPILL! is an Excel-specific error that appears when a formula tries to output multiple values (a spill range) but one or more of the destination cells are not empty or are otherwise blocked. XLOOKUP returns #SPILL! when it is asked to return multiple columns or rows and the cells below or beside it are occupied.
=XLOOKUP(A2,$D$2:$D$100,$E$2:$G$100)=XLOOKUP(A2,$D$2:$D$100,$E$2:$G$100,"Not found",0)The fix here is environmental — clear the blocking cells in F2:G2 so the three-column return has room to spill. The formula itself is valid once the range is empty.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Stop hunting errors by hand.
Upload your spreadsheet and the Auditor flags every #SPILL! and broken formula at once — or paste this one formula and get the fix explained.
Click the #SPILL! cell. Excel highlights the spill range with a dashed blue border and shows 'Spilling into non-empty cell' in the error tooltip. Click the tooltip's 'Select Obstructing Cells' link to jump directly to the blocking cell.
No. Google Sheets uses a different mechanism for array expansion and does not produce #SPILL!. Blocked spill in Sheets typically shows #REF! or silently truncates the output.
Not directly. Excel Tables do not support multi-column spill formulas within the table body. Place the XLOOKUP formula in a cell outside the table, or use separate XLOOKUP formulas for each return column.
The modern replacement for VLOOKUP and INDEX/MATCH — look up a value and return a match in any direction.
How-toConcatenate criteria columns in XLOOKUP's lookup array to match on multiple conditions at once, returning results only when all criteria align.
Error fixFix #N/A errors in XLOOKUP in Excel and Google Sheets — lookup value not found, data-type mismatch, incorrect array size, and match mode issues.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: