Help with 3-level Conditional formatting + fill down

maximillianrg

Board Regular
Joined
Aug 7, 2014
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hello and thank you for the help

J3=215, J4=214 and so on to J93

N3=215 and conditional formatting for this cell has 3 rules
Cell Value < J3 (green format) applies to =$N$3:$N$5
Cell Value = J3 (yellow format) applies to =$N$3:$N$5
Cell Value > J3 (red format) applies to =$N$3:$N$5

The above works as designed and if cell N15 = greater that J3 its red, equal to J3 its yellow, and less than J3 its green - this is perfect

When I do a fill down if J3 into J4 and J5 the conditional formatting no longer works as I want N4 to look at J4 and apply the same conditional formatting with the goal to have this work when filled down to J93 - My guess is its the $ somewhere but I'm stuck

Max
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Combine the three conditions into 1 condition using nested IF formula!

like,

=IF(N3<J3, (green format), IF(N3 = J3, (yellow format) ...

But does it have to be a rowwise comparison? i.e. would N3 be compared to J3, N4 compared to J4 and so on? Not sure why is that required.

If that's not the case and N3:N5 needs to be compared only with J3 then in the formula use $J$3 instead of J3.
 
Upvote 0
While one could write an if statement like =if(N3<J3"G",if(N3=J3"Y","R")), I do not know how to use this in conditional formatting to shade a cell so I'm lost here. Basically I'm creating a weight loss journal and the person logs their weight daily. Column N represents the weight of the day and the weights prepopulated in column J is the target for the day. If their we in us inder target, the cell is green, if equal to its yellow and of over its red.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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