Formula Errors

Fix Excel #SPILL! Errors When Linking Text from Merged Cells

Elise WilliamsElise Williams Nov 18, 2026 869 views

Question details

Link text from a merged cell on one Excel worksheet to another without a #SPILL! error.

Fix Excel #SPILL! Errors When Linking Text from Merged Cells
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to display text from a merged source range on another worksheet.
Observed behavior
A formula using a multi-cell reference returns a #SPILL! error when the required destination range contains merged cells.
Before you start

Identify the source worksheet and the upper-left cell of the merged range. On the destination worksheet, check whether the formula cell or its intended output range is merged.

Solution 1Recommended

Reference the source's upper-left cell and unmerge the destination

Use a single-cell reference when you only need to display the text from a merged source range.

1
Find the source value

On the source worksheet, select the merged range and check its upper-left cell. For a range merged from D32 through H35, the value is stored in D32.

2
Unmerge the destination

On the destination worksheet, select the merged destination cells, then choose Home > Merge & Center > Unmerge Cells.

3
Enter a single-cell formula

Select the destination cell and enter ='Front Page'!D32, replacing the sheet name and cell address with your own. Press Enter to display the source text.

Reference the source's upper-left cell and unmerge the destination
Why a single cell works: A merged range stores its value in the upper-left cell. Referencing the whole range can produce an array that needs space to spill.
Work with linked cells in WPS

Link Text from a Merged Cell in WPS Spreadsheets

Use WPS Spreadsheets to display text from a merged source range on another worksheet by referencing its upper-left cell.

  1. 1. Open the workbook: Open WPS Spreadsheets and select Open to choose your Excel workbook.
  2. 2. Identify the source cell: Select the merged source range and note its upper-left cell, such as D32 in D32:H35.
  3. 3. Prepare the destination: Switch to the destination worksheet. If its destination cells are merged, select them and use Home > Merge & Center to unmerge them.
  4. 4. Link the text: Select the destination cell, enter ='Front Page'!D32 with your own sheet name and cell address, and press Enter.
Link merged-cell text with a single-cell formulaOpen and edit Microsoft Excel XLSX and XLS filesUnmerge destination cells using familiar spreadsheet controlsUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Which cell contains the value in a merged range?

The value is stored in the upper-left cell. For a range merged from D32 through H35, reference D32.

Why does a range reference return #SPILL!?

A multi-cell reference can return an array that needs space in the destination worksheet. Merged cells or existing values in the required output area can prevent it from spilling.

How do I refer to a worksheet name containing spaces?

Enclose the worksheet name in single quotation marks, followed by an exclamation point and the cell address, as in ='Front Page'!D32.

Should I use D32:D35 to copy the text from a merged range?

Use D32 if you only need the merged text. D32:D35 requests multiple cells and may return an array; the other cells in a single merged source range do not contain separate copies of the text.