Skip to main content

How to copy conditional formatting rules to another worksheet/workbook?

Author: Kelly Last Modified: 2025-07-09

In Excel, it is common to utilize conditional formatting to visually highlight data and improve the readability of your worksheets. Suppose you have conditionally highlighted entire rows based on duplicate values in the second column (Fruit Column), and marked the top 3 values in the fourth column (Amount Column), as illustrated in the screenshot below. Now, you need to transfer these conditional formatting rules from this specific range to another worksheet or even a different workbook. This task often arises during report standardization, template design, or data consistency processes across multiple data sets. The methods outlined here address different copying scenarios, with practical notes and potential issues to consider along the way.


Copy conditional formatting rules to another worksheet/workbook with Format Painter

For many daily tasks, the Format Painter feature in Excel makes quick work of copying conditional formatting rules from one range to another worksheet or even another workbook. This method is intuitive and ideal for simple structures, but some adjustments may be necessary for more complex or formula-based rules.

1. Select the range whose conditional formatting you want to copy, and then click Home > Format PainterFormat Painter icon.
click Format Painter icon

2. Switch to the target worksheet or workbook and drag the paintbrush Format Painter icon across the desired destination range.
drag the paintbrush across this range

A common issue: when transferring rules involving formulas, the references in the formulas may not automatically update relative to the new range. This is especially relevant if the formatting depends on specific column or row positions.

3. While the destination range remains selected, navigate to Home > Conditional Formatting > Manage Rules. See screenshot:
click Manage Rules feature

4. In the Conditional Formatting Rules Manager dialog box, double-click the rule that is not behaving as intended to open the Edit Formatting Rule dialog. See screenshot:
set options in the dialog box

5. In the Format values where this formula is true box, modify the cell references to fit the new destination range. Double-check column or row references and locking ($) as suits your scenario.

Tip: In the example case, use =COUNTIF($B$23:$B$46,$B23)>1 where $B$23:$B$46 is the relevant second column in the destination, and $B23 refers to the first cell in that column.

6. Click OK and again OK in subsequent dialogs to save changes.

After these steps, the conditional formatting will be correctly transferred and applied in the destination range, delivering consistent visual cues as shown:
the conditional formatting has been copied and pasted into the destination range exactly

Notes and tips:

  • If copying between worksheets or workbooks, ensure all workbooks are open before copying. If you copy to a closed workbook, conditional formatting rules may not copy properly.
  • If copying to non-adjacent ranges or between files with different structures, double-check rule logic and references before finalizing.
  • Format Painter only works well for visible cells and compatible layout; it may not support all aspects of advanced or complex conditional formatting setups.

Copy conditional formatting rules from closed workbook to another worksheet/workbook

If you frequently need to reuse a specific range with conditional formatting in different workbooks—such as for monthly reporting templates or recurring data exports—consider using the AutoText utility from Kutools for Excel. This method is suitable when the data structure remains relatively stable, and it avoids the need to repeatedly open, copy, and paste between files. With AutoText, you save the range along with all its formatting, then insert it with a single click whenever needed.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

1. Click Kutools > Insert > AutoText to display the AutoText pane.
click AutoText to activate the AutoText pane

2. Select the desired range with conditional formatting, click the Add button add button in the AutoText pane. In the New AutoText dialog, assign a memorable name and group, then click Add to finish saving.
add new AutoText entry and specify a group for saving it

At this point, the conditional formatting is saved as an AutoText entry and will always be available for instant insertion in future workbooks.

3. To use, simply click the AutoText entry in the pane; your range, complete with conditional formatting, will be inserted at the cursor location within your workbook. After adjusting ranges as necessary, follow the preceding steps if you need to conform formulas or references.
click the Auto Text entry to insert it into cell

General suggestions:

  • AutoText preserves formatting and formulas but check if destination data fits the original size and orientation to prevent overwriting.
  • This method is ideal for template-based work, but less flexible if data size or shape frequently changes.
  • If adjusting to a new data set with a different number of rows or columns, update conditional formatting rules after insertion.

 

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Related articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!