Fix Excel #SPILL! Error Caused by a Merged Cell
Question details
The user needs to fix a #SPILL! error caused by referencing a merged cell range in a formula.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula links one merged cell to another, with both ranges merged across three cells.
- Observed behavior
- Excel returns a #SPILL! error when the formula references the full merged range, even though similar formulas work elsewhere in the workbook.
Check which cells belong to each merged range and identify the upper-left cell in the source range. Select the formula cell and review the formula bar so you can replace the full merged reference without changing the intended destination.
Reference only the upper-left cell of the merged range
Use this solution when a formula references a merged range such as A1:C1 and returns #SPILL!.
A merged range stores its value in the upper-left cell. Referencing the entire merged range can be interpreted as a dynamic array that needs to spill into occupied cells. Pointing the formula to the upper-left cell returns the stored value without creating a spill range.
Click the cell displaying the #SPILL! error and locate its formula in the formula bar.
If the source range is merged across A1:C1, replace a reference such as =A1:C1 with =A1, using the actual upper-left cell of the merged range.
Press Enter to apply the revised formula and verify that the linked value appears without the #SPILL! error.
Use implicit intersection for a compatible Excel formula
Try this alternative when you need to keep the merged-range reference syntax and your Excel version supports implicit intersection.
Fix merged-cell #SPILL! formulas in WPS Spreadsheets
WPS Spreadsheets lets you edit the formula directly, replace a merged-range reference with its upper-left cell, and confirm the result in a familiar spreadsheet interface. It supports common Excel workbook formats for a smooth transition.
- 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, choose Spreadsheets, and open the workbook containing the #SPILL! error.
- 2. Select the error cell: Click the cell showing #SPILL! and review the formula in the formula bar.
- 3. Change the merged reference: Replace the full merged reference, such as A1:C1, with the upper-left cell reference, such as A1.
- 4. Apply and verify the formula: Press Enter, then confirm that the linked value displays correctly and no spill error remains.

Frequently Asked Questions
Why does a merged-cell reference cause a #SPILL! error in Excel?
A reference such as A1:C1 can be treated as an array that needs to return values across multiple cells. Because the range is merged or the target cells are occupied, Excel cannot spill the result and displays #SPILL!.
What formula should I use for a merged range A1:C1?
Use =A1, because A1 is the upper-left cell and contains the value for the merged range. Do not use =A1:C1 when you want only the merged cell's value.
Can I use the @ operator to fix this error?
In Excel versions that support implicit intersection, you can use =@A1:C1 to force a single value from the range. Referencing the upper-left cell directly, such as =A1, is usually clearer and more broadly compatible.
Do I need to unmerge the cells to remove the #SPILL! error?
No. You can keep the cells merged and update the formula to reference only the upper-left cell. Unmerge the cells only if you need each cell to contain or display separate values.




