Formatting Issues

How to Prevent Merged Cells from Unmerging When Copying in Excel

Elise WilliamsElise Williams Nov 10, 2026 868 views

Question details

The user needs to maintain merged cells and conditional formatting when copying data from an Excel file attachment to another workbook.

Product
Excel
Device & OS
not provided
Scenario
Copying spreadsheet content from an email preview and pasting it into a protected destination worksheet.
Observed behavior
Merged cells automatically unmerge and conditional formatting rules are lost during the paste operation, despite the destination sheet being protected.
Before you start

Ensure you have a desktop spreadsheet application installed, as lightweight email web viewers automatically strip out advanced formatting elements like merged cells and conditional rules.

Solution 1Recommended

Download and Copy from the Desktop Application

Avoid copying data directly from an email preview interface, as these web viewers do not support or transfer advanced spreadsheet formatting.

When you copy data from an email file preview, you are copying basic HTML tables rather than native spreadsheet data. The clipboard cannot capture merge structures or conditional formatting from a web viewer, which is why they are lost when pasted. To preserve the structure, you must download the file and use the desktop application.

1
Download the attachment

Click the download icon on the Excel attachment in your email client to save the file to your local computer.

2
Open in desktop Excel

Locate the downloaded file on your computer and open it directly using your desktop spreadsheet application.

3
Copy the native data

Select the required range containing your merged cells and conditional formatting, then press Ctrl+C to copy it from the actual workbook.

4
Paste into the destination

Navigate to your destination workbook, select the target cell, and press Ctrl+V to paste the data with its original structure intact.

Download and Copy from the Desktop Application
Worksheet Protection Limitation: Worksheet protection only prevents unauthorized changes to a destination sheet. It cannot force Excel to recreate merge structures or formatting that were already stripped during the copy process from a web preview.
WPS Spreadsheet Solution

Preserve Advanced Formatting Easily with WPS Spreadsheet

WPS Office fully supports advanced cell formatting, merged cells, and conditional formatting. You can easily open email attachments directly in the lightweight desktop app to ensure your copy-pasting retains perfect layout fidelity.

  1. 1. Download the file: Save the email attachment to your local drive instead of previewing it in the browser.
  2. 2. Open with WPS Spreadsheet: Launch WPS Office and open the downloaded file directly.
  3. 3. Copy the formatted data: Highlight the range containing your merged cells and conditional formatting, then press Ctrl+C.
  4. 4. Paste with source formatting: Switch to your destination sheet, right-click the target cell, and select 'Keep Source Formatting' from the paste options.
100% compatible with Microsoft Excel (.xlsx) formatsAccurately preserves merged cells and conditional formattingLightweight desktop app for instant opening of email attachmentsFree and intuitive interface requiring no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does copying from an email preview alter my Excel formatting?

Email clients use lightweight web viewers designed to display file contents quickly. These web-based previews do not support complex spreadsheet features like merged cells or conditional formatting, so they are stripped out and converted to plain tables when you copy the text.

Can worksheet protection preserve my merged cells when pasting?

No. Worksheet protection is designed to lock specific cells in the destination sheet to prevent edits. It has no ability to retrieve or recreate formatting structures that were already lost in the clipboard during an improper copy action.

How do I ensure conditional formatting transfers when copying between workbooks?

You must open both the source and destination files in a desktop spreadsheet application. Copy the data, then right-click in the destination workbook and use the 'Paste Special' > 'Keep Source Formatting' option to transfer the conditional rules along with the data.