When your PivotTable can’t expand because something is in the way—such as data, merged cells, or the worksheet’s edge—you’ll see the #SPILL! error. This error replaces the previous pop-up dialog, allowing you to resolve the error on your own time, and aligns PivotTable errors with the familiar experience of dynamic array formulas and spilled arrays. To learn more, see Dynamic array formulas and spilled array behavior.​​​​​​​

Excel worksheet showing a PivotTable #SPILL! error in a cell with a warning icon. A dashed blue outline highlights the intended PivotTable spill range, and blocking data within the range shows “Note: Check inventory for Mountain Bikes,” indicating why the PivotTable cannot expand.

When might PivotTable #SPILL! happen?

PivotTable #SPILL! can occur in several common scenarios: 

  • On insert or move – when you add or move a PivotTable into an area that already contains data or objects

  • On refresh or auto refresh – when the PivotTable refreshes with new data and expands. To learn more about PivotTable Auto Refresh, see Refresh PivotTable data

  • When updating the layout – for example, adding filters, fields, or grand totals that expand the PivotTable range

Why am I seeing #SPILL! with PivotTables?

A PivotTable shows #SPILL! when it cannot fully expand due to something in its way. Your PivotTable may look hidden, but your data is safe—the PivotTable still exists in the cell you placed it. To resolve the error, clear or move the blocking data, or move your PivotTable to an area with enough space.

Note: When you select the #SPILL! cell, you’ll see the PivotTable outline, the PivotTable tab in the Ribbon, and you can still access the PivotTable Fields pane.​​​​​​​ Excel worksheet showing a PivotTable with a #SPILL! error. The right-click context menu is open, showing options like PivotTable Options, and Hide Field List. The PivotTable Fields pane is open on the right, and the Excel ribbon is visible at the top with PivotTable Analyze and Design tabs showing.

Common causes of PivotTable #SPILL! errors:

Cells containing data or formulas: The PivotTable needs enough space to expand. If any cell in its expansion area contains data or a formula, you’ll see #SPILL!.

Excel worksheet showing a PivotTable #SPILL! error in a cell with a warning icon. A dashed blue outline highlights the intended PivotTable spill range, and blocking data within the range shows “Note: Check inventory for Mountain Bikes,” indicating why the PivotTable cannot expand.

Merged cells: PivotTables can’t expand if merged cells are blocking the area. Unmerge these cells or move the PivotTable.

Excel worksheet showing a PivotTable #SPILL! error in a cell with a warning icon. The PivotTable spill range is outlined with a dashed blue border, and blocking data within the range is a merged cell highlighted in yellow showing "Note: Check inventory for Mountain Bikes”

PivotTable extends beyond the worksheet edge: If the PivotTable would overflow the grid, you’ll see #SPILL!. Move or resize the PivotTable to fit within the worksheet.

Excel worksheet showing a PivotTable #SPILL! error in a cell with a warning icon. The intended PivotTable spill range is outlined with a dashed blue border, but the range extends to the edge of the sheet, preventing the PivotTable from expanding.

How to fix the PivotTable #SPILL! error

  1. Locate the obstructing data

    1. Manually select the cells blocking the PivotTable, or

    2. Use the Select Obstructing Cells option in the error menu PivotTable showing #SPILL! error with an open error menu. The menu includes “Select Obstructing Cells” (highlighted).

  2. Clear or move the obstructing data 

    1. Clear or move the obstructing cells, or 

    2. If the blockage is a table or another PivotTable, you may need to move or delete them

  3. Alternatively, move or resize your PivotTable to an area with enough space

Excel ribbon showing the PivotTable Actions group with three buttons: Clear, Select, and Move PivotTable.

Note: Dependent objects, such as PivotCharts or formulas using PivotTable results, will show errors if the PivotTable is in a #SPILL! state. Resolve the error state to restore them.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.