Forum Discussion
DavidSims
Mar 06, 2019Copper Contributor
Conditional Formatting Help Please!
Hi,
I am trying to set up conditional formatting for when a number is above or below the mid part of a range.
E.g. the lower range is 200 and the upper range is 300, if the number I have is 249 or below I want the cell to highlight green and if it is 250 or above (up to 300) then I want it to highlight yellow.
I am sure it is very simple and I am just over complicating it massively! Any help would be greatly appreciated
Thanks
- Rich99Iron Contributor
Hi David, I used two conditional formats, one for below 250 and one for above, have attached a file rather than trying to explain.
- DavidSimsCopper Contributor
Hi Rich
Thanks for this but maybe I should have been a bit clearer. The upper and lower ranges differ on each row, it might be 200-300 but the next row will be 825-1000, the next row 525-675 etc. I then have a value in another cell and I need to format that cell green if it is closer to the upper range and yellow if it is closer to the lower range
Hope that makes sense
That could be the rule formula for the green as
=A1>=(MAX($A1:$K1)+MIN($A1:$K1))/2
and similar for another color