Forum Discussion

Vojtch575's avatar
Vojtch575
Copper Contributor
Feb 28, 2024
Solved

Conditional formatting based on difference of two dates

Hi, I guess this should be simple but I have been trying to figure out this for quite a while a cannot get it right.

 

I want to format a color of a cell (red) based on time passed between the date put in one cell (last time speaking with someone) and today. If the difference is larger than 18 months I want the cell to be colored.

 

thanks in advance!

5 Replies

    • Liz_Schaffer's avatar
      Liz_Schaffer
      Copper Contributor
      This is *almost* what I'm needing, but I need it in days, not months. How would I enter that formula?
      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        Liz_Schaffer 

        Depends on what exactly you'd like to highlight. For example

        =TODAY()-$A1 > 20

        to highlight dates which are more than 20 days in past.