How to Copy Conditional Formatting to Another Cell in Excel

Conditional Formatting in Excel enables you to quickly format a cell (or range of cells) based on the value or the text in it.

For example, below I have an example where I have student’s scores and I have used conditional formatting to highlight all the scores that are above 80.

If you’re interested in learning all the amazing things you can do with conditional formatting, check out this tutorial where I show some useful conditional formatting examples.

Once you have set the conditional formatting rules for a cell or range of cells, you can easily copy it to other cells on the same sheet or other sheets.

In this tutorial, I will show you how to copy conditional formatting from one cell to another cell in Excel. I will cover multiple ways to do this – such as simple copy-paste, copy and paste conditional formatting only, and using the format painter.

So let’s get started!

Copy Conditional Formatting Using Paste Special

Just like you can copy and paste cells in the same sheet or even across sheets or workbooks, you can also copy and paste the conditional formatting from one cell to another.

Note that you can not just copy and paste the cell. You have to make sure that you copy a cell but only paste the conditional formatting rules in that cell (and not everything else such as the value or the formula).

And to make sure you only copy and paste the conditional formatting, you need to use Paste Special.

Suppose you have a dataset as shown below where I have conditional formatting applied to column B (the Math score) so that all the cells that have the value more than 80 get highlighted.

Data set from which to copy conditional formatting

Now, what if I want to apply the same conditional formatting rule to the second column (for Physics score) os that all the cells above 80 are highlighted in green.

This can easily be done!

Below are the steps to copy conditional formatting from one cell to another:

  1. Select cell B2
  2. Right-click and copy it (or use the keyboard shortcut Control + C)right-click and copy cell
  3. Select the entire range where you want to copy the conditional formatting (C2:C11 in this example)
  4. Right-click anywhere in the selection
  5. Click on the Paste Special option. This will open the Paste Special dialog box.Click on Paste Special
  6. In the Paste Special dialog box, select FormatsClick Format in the Paste Special dialog box
  7. Click on OK

The above steps would copy the conditional formatting from column B and apply it to the selected cells in column C.

Resulting data where conditional formatting has been copied and pasted

One thing to remember when using Paste Special to copy conditional formatting is that it will copy all the formatting. So if there is any border in the cells or if the text has been made bold, etc., that would also be copied.

Note: The same steps shown above would also work when copying and pasting conditional formatting to cells in another sheet or even another workbook.

Copy Conditional Formatting Using Format Painter

Format painter is a tool that allows you to copy the format from a cell (or range of cells) and paste it.

And since conditional formatting is also a part of the formatting, you can also use format painter to copy and then paste it.

Suppose you have a dataset as shown below where I have conditional formatting applied to the Math score column so that all the cells that have the value more than 80 get highlighted.

Below are the steps to use format painter to copy conditional formatting from the Math score column and apply it to the Physics score column:

  1. Select the cell (or range of cells) from which you want to copy the conditional formatting
  2. Click the Home tab
  3. In the Clipboard group, click on the Format Painter iconClick on Format Painter
  4. Select all the cells where you want the copied conditional formatting to be applied
Format Painter to copy conditional formatting

Pro tip: In case you want to copy the conditional formatting and paste it on multiple cells or ranges (that you can not select at one go), click on the Format painter icon twice. That will keep the format painter active and you can paste the formatting multiple times (unless you hit the Escape key).

Once you have the format painter activated, you can use it on the same sheet, on some other sheet in the same workbook, and even on the other workbook.

Again, just like with Paste Special, Format painter also copies all the formatting (including the conditional formatting).

Also read: Conditional Formatting Not Working in Excel

Issue when Copying Conditional Formatting

In most cases, you will have no problems copying and pasting conditional formatting from one cell to another.

But you may face issues if you have used a custom formula to determine which cells to format.

This option allows you to create your own formula and formatting is applied in the formula returns TRUE for a cell and not applied when the formula returns FALSE.

If you have used a formula in conditional formatting that uses absolute or mixed references, then it may not work as expected when copied.

For example, in the below example, I have used the formula =$B2>=80 to highlight all cells in column B that have a value higher than 80.

Conditional Formatting with a custom formula

But when I copy this conditional formatting to column C, it still references the B column and I get the wrong result (as shown below).

Issue with copying Formatting

So, if you copy conditional formatting from one cell to another and don’t get the expected result, it’s best to check the formula used and adjust the references.

For example, in this case, I can change the formula to =B2>=80 and it should work fine.

If you’re wondering where the formula goes, click on the Home tab and then on Conditional Formatting.

In the options that appear, click on ‘New Rule’. In the New Formatting Rule dialog box, click on the option – Use a formula to determine which cells to format.

This will show you the field where you can enter the formula for the selected range. If this formula returns TRUE for the cell, it will get formatted and if it returns FALSE, it will not.

Formula to enter in New Formatting rule dialog box

So these are two simple ways you can use to copy conditional formatting from one cell to another in Excel – using Paste Special and Format Painter.

And in case you see issues with it, check the custom formula used in it.

Hope you found this tutorial useful!

Other Excel tutorials you may find useful:

Excel Ebook Subscribe

FREE EXCEL BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Sumit Bansal
Hello there! I'm Sumit Bansal, founder of trumpexcel.com and an Excel MVP. I started this website in 2013 with a simple goal: to share my love for Excel through easy to follow tips, tutorials and videos. I'm here to help you get the best out of MS Excel to save time and boost your productivity.

2 thoughts on “How to Copy Conditional Formatting to Another Cell in Excel”

  1. i have an issue.
    My formula is looking for none blank cells within the row B, when a non blank cell is TRUE in B i want the attached row to highlight, which I’ve done by selecting the row that highlights, but i cannot remove the $ signs which would usually allow me to copy it to all rows, how do i overcome this issue?

    Reply
  2. This is a helpful article. (I didn’t know the way to keep Format Painter active.) I am still looking for a way around the issue you pointed out with copying and pasting conditional formatting: All formatting from the source is applied. This is a problem for me since the number formatting from the source is applied to the destination with undesirable results.

    Reply

Leave a Comment

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free Excel Tips EBook Sumit Bansal

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster