Forum Discussion

c_frndz's avatar
c_frndz
Copper Contributor
Feb 17, 2020

Conditional formatting assistance please

How do I highlight a cell yellow if the date is 30 days out?

How do I highlight a cell red if the date is today or passed?

How do I leave a cell alone if there is no date in the cell?

All 3 rules would be for 1 cell.

Thanks in advance!

8 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    c_frndz 

    You may use with formulas

    red
    =A1>=TODAY()
    
    yellow
    =(TODAY()-A1)<30

    the rest won't be formatted

    • c_frndz's avatar
      c_frndz
      Copper Contributor

      SergeiBaklan Thank you Sergei. Please see attached. It doesn't seem like the red formula worked unless i did it wrong. Please advise.

        

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        c_frndz 

        Sorry, it shall be the opposite

        =TODAY()>=$G$19

        to check if the date in the cell is in the past

Resources