Formula Errors

Fix Excel #SPILL! Error Caused by a Merged Cell

Jason MillerJason Miller Nov 12, 2026 871 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Select the formula cell

Click the cell displaying the #SPILL! error and locate its formula in the formula bar.

2
Replace the merged-range reference

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.

3
Confirm the formula

Press Enter to apply the revised formula and verify that the linked value appears without the #SPILL! error.

Use the first cell in every merged range: For a merged range such as D1:F1, reference D1 rather than D1:F1. Apply the same rule to each merged range used in the formula.

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. 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, choose Spreadsheets, and open the workbook containing the #SPILL! error.
  2. 2. Select the error cell: Click the cell showing #SPILL! and review the formula in the formula bar.
  3. 3. Change the merged reference: Replace the full merged reference, such as A1:C1, with the upper-left cell reference, such as A1.
  4. 4. Apply and verify the formula: Press Enter, then confirm that the linked value displays correctly and no spill error remains.
Resolve merged-cell spill errors by referencing the upper-left cell of the source range.Edit and recalculate formulas in a lightweight spreadsheet application.Open and save Microsoft Excel .xlsx and .xls workbooks with broad format compatibility.Use a familiar ribbon-based interface for reviewing merged cells and formulas.
microsoft office alternative - wps office

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.