How to Copy Conditional Formatting Between Excel Workbooks with Merged Cells
Question details
The user needs a reliable method to copy conditional formatting rules between different Excel workbooks where the destination range contains merged cells.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Transferring complex conditional formatting rules across workbooks that utilize merged cell structures.
- Observed behavior
- When copying conditional formatting across workbooks, Excel applies the source range size instead of adapting to the destination range size. This causes formatting errors, particularly when the merged cells in the source and destination do not match exactly.
Ensure that both your source and destination workbooks are open side-by-side. Verify that the merged cells in your destination sheet are merged into the exact same shape and size as those in your source sheet before attempting to transfer the formatting.
Use Format Painter with Identically Merged Cells
This method relies on making the destination merged ranges exactly match the source ranges, allowing the Format Painter to apply the formatting flawlessly.
The Format Painter is the quickest way to duplicate conditional formatting rules, but it struggles when cell structures differ. By ensuring your target cells are merged identically to the source cells beforehand, you prevent Excel from miscalculating the range boundaries.
In your destination workbook, select the cells you want to format and use 'Merge & Center' so they perfectly match the shape and size of the source merged cells.
Switch to your source workbook and click to select the merged cell that currently holds the desired conditional formatting.
Navigate to the Home tab on the Excel ribbon and click the 'Format Painter' icon (the paintbrush).
Switch back to the destination workbook and click on the identically merged destination cell. The conditional formatting rules will immediately apply.

Copy the Entire Worksheet as a Template
If matching merged cells manually is too tedious for a complex sheet, copying the entire worksheet preserves all cell structures and conditional formatting automatically.
Easily Handle Formatting and Merged Cells with WPS Spreadsheet
WPS Spreadsheet provides powerful tools for managing complex layouts. It seamlessly handles conditional formatting and merged cells across different files, making it easier to maintain visual consistency in your data reports.
- 1. Match the Merged Cells: Open both files in WPS Spreadsheet and ensure the destination cells are merged to match the source cells.
- 2. Select and Copy Format: Select the formatted source cell and click the 'Format Painter' icon on the Home tab.
- 3. Apply the Format: Click the destination merged cell to instantly apply the conditional formatting rules.

Frequently Asked Questions
Why does my conditional formatting break when copying to another workbook?
Conditional formatting relies on specific cell and range references. When copied to a new workbook, especially one with different range sizes or unmatched merged cells, the software struggles to map those references correctly, which distorts the formatting range or applies the rule to the wrong area.
Can I use 'Paste Special' to copy conditional formatting?
Yes. You can copy the source cell, right-click the destination cell, select 'Paste Special', and choose 'Formats'. However, just like the Format Painter, this will only work correctly if the destination merged cells are the exact same shape and size as the source.
How do I unmerge cells quickly to fix formatting range issues?
Select the merged cells, navigate to the Home tab, and click the 'Merge & Center' button to unmerge them. Once the cells are split into a standard grid, you can apply your conditional formatting and then re-merge them if necessary.
Does duplicating a worksheet also copy the cell values?
Yes, using the 'Move or Copy' feature duplicates everything on the sheet, including static text, values, formulas, and formatting. To use it purely as a formatting template, you must manually delete the data contents while keeping the cell structures untouched.




