Applying Conditional Formatting without overwriting existing formatting

TGreenwood

New Member
Joined
Nov 5, 2020
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Good morning

I am trying to set up conditional formatting on a spreadsheet. I've it set up correctly on the top row, and wish to apply it to the rest of the sheet.
However, I don't want to simply drag it down as it overwrites the existing formatting (not conditional).
Is there any way I can get the Conditional Formatting to apply to the rest of the sheet using a method other than the standard copy/paste/Format Painter etc?

Format Rule:
=$D13='Audit Exam task'!$H$3:$H$5

Applies to:
=$A$13:$S$13

I need it to cover every row on the sheet. I am aware that if the formula is true, it will overwrite the formatting, which I am fine with.

Thank you
 

Attachments

  • Audit Test Sheet.JPG
    Audit Test Sheet.JPG
    187.1 KB · Views: 35

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Welcome to the forum. :)

Just edit the 13 at the end of the Applies To range to whatever row number you need. Note that unless H3:H5 is a merged cell, your current formula doesn't really make sense.
 
Upvote 0
Welcome to the forum. :)

Just edit the 13 at the end of the Applies To range to whatever row number you need. Note that unless H3:H5 is a merged cell, your current formula doesn't really make sense.
Thanks Rory, but that hasn't worked?

And yes, H3:H5 is a merged cell.
 
Upvote 0
What exactly does "hasn't worked" mean? I do this frequently, so I know it works. :)
 
Upvote 0
What exactly does "hasn't worked" mean? I do this frequently, so I know it works. :)
I updated the Applied To range, and tested it, but the top line stayed green, not the one I was testing.
 
Upvote 0
No, since you used a relative row number in the $D13 part. (I'm assuming that you need to compare all rows to H3)

Did you change the value in D13 as well? If not, I'd expect it to remain green.
 
Upvote 0
No, since you used a relative row number in the $D13 part. (I'm assuming that you need to compare all rows to H3)

Did you change the value in D13 as well? If not, I'd expect it to remain green.
No, I changed the value in H3:H5, and want the corresponding row to highlight green, not D13.
e.g.: If the value in D34 is in H3:H5, then row 34 will highlight.
 
Upvote 0
So what do your Formula and Applies To boxes look like now?
 
Upvote 0
Format Rule:
=$D13='Audit Exam task'!$H$3:$H$5

Applies to:
=$A$13:$S$34
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top