Conditional Formatting based upon value of another cell

theuniquenerd

New Member
Joined
Jun 13, 2018
Messages
4
I'll try and explain my issue and what I'm looking for as best I can. If I'm not clear, please let me know.

I'm trying to figure out how to apply conditional formatting to almost "remove" the formatting if a certain condition applies.

I have a conditional formats for:
Rule (applied in order shown)
Format
Applies to
Cell value <=$A$1
Light Red Fill with Dark Red Text
$C$6:$D$9
Cell value between $A$2 and $B$2
Light Red Fill with Dark Red Text
$C$6:$D$9
Cell value between $A$3 and $B$3
Yellow Fill with Dark Yellow Text
$C$6:$D$9
Cell value between $A$4 and $B$4
Green Fill with Dark Green Text
$C$6:$D$9
Cell value > 99
Green Fill with Dark Green Text
$E$6:$E$9

<tbody>
</tbody>





I'm trying to apply a conditional format rule that will allow the formatting to be removed only from the respective dates in columns C & D if a cell in the same row in column E is 100, ie, it's complete and the row doesn't need to be highlighted for attention purposes.




Example:
A
B
C
D
E
1
4/1/17
2
4/2/17
5/1/17
3
5/2/17
9/30/17
4
10/1/17
4/1/18
5
START
COMPLT
PCT COMPLT
6
Grant Write
9/1/16
4/1/17
100
7
Grant Review
10/1/16
5/1/17
22
8
Grant Final
11/1/16
6/1/17
5
9
Grant Submit
12/1/16
7/1/17
1

<tbody>
</tbody>



Any help would be greatly appreciated!!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
You'd need to use a formula for your conditional formatting... something like

=$E6 >= 100

Just apply that CF to cell C6:D6 and then you can use 'format painter' to apply it to the rest of the cells in that column

You will probably need to have this CF at the top of your list too as youd want this formatting to take precedence over the others... i hope this makes sense!
 
Last edited:
Upvote 0
You'd need to use a formula for your conditional formatting... something like

=$E6 >= 100

Just apply that CF to cell C6:D6 and then you can use 'format painter' to apply it to the rest of the cells in that column

You will probably need to have this CF at the top of your list too as youd want this formatting to take precedence over the others... i hope this makes sense!

Thank you for your reply!!

It did it, except that when I try to format painter it down, the $'s in the CF carry, therefore the CF doesn't apply to the other cells.

Any ideas how to get rid of the auto $'s?

Thanks so much for your help!
 
Upvote 0
Not a problem mate.
Did you make sure that only the column had the $ in front of it. The row number shouldn’t...

Yes I did!

the CF rules manager automatically adds in $'s and there's no way to delete them out, they get added when I hit apply.

If it helps, I'm using Excel 2010

Thanks for the help.
 
Upvote 0
I figured it out with a lot of help from James!

In order to get the format painter to work, you have to format paint using the cells that are listed in the "applies to" field in the rules manager.

Also, the formula rule, even though it lists only the original cell to refer to the changes, when painting it automatically changes the ref cell based on the row that particular format is in.

Also, make sure to put this rule on the top of the list!

This one was a doozy to figure out, and took a better part of 3 days of research to figure out how to do it!
 
Upvote 0
I have never had much luck with the format painter. It never really seems to work the way I expect.
I find it much easier to do apply CF to a multi-cell range in the following manner:
- Select the entire range you want to apply your CF condition to
- Write your CF formula as it pertains to the very FIRST cell in your selected range (Excel will automatically adjust it for the other cells)
The important thing here is to use absolute references in the correct places. Any row or column reference you want locked down, place a "$" in front of it. The references without it will be allowed to float (just like when you autofill a formula).

That is how I always do it, and it hasn't failed me yet!
 
Upvote 0

Forum statistics

Threads
1,215,518
Messages
6,125,293
Members
449,218
Latest member
Excel Master

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