Forum Discussion

Rick151's avatar
Rick151
Copper Contributor
Jan 27, 2021
Solved

Conditional formatting for x number of days before

I am trying to set a conditional formatting for an expiration date field. The idea is to show via color coding (green, yellow, and red) when the expiration date is approaching according to the cell (...
  • mtarler's avatar
    mtarler
    Jan 28, 2021

    Rick151 so as JMB17 indicated your reference is wrong.  Your 'Applies to' field is $E:$E which means your top left most cell is E1 but your formulas all use E3 which is why everything is off by 2 rows.  You can change the formulas to use E1 and it will work.

    That said, you could also just use the built in conditional formatting:

    and then you don't need any cell references.

    And alternative solution instead of having 3 conditional formatting rules you can use ICON sets instead:

      

    a different look which may or may not be good for what you want.

     

Resources