Forum Discussion

dwinter860's avatar
dwinter860
Copper Contributor
Aug 02, 2024
Solved

>= TODAY function returning the wrong values

Hi! I'm trying to create a conditional formatting formular that highlights a row in green if both the cell in column E = "y" and the date in column D is any date after or including today. This is the...
  • Riny_van_Eekelen's avatar
    Aug 02, 2024

    dwinter860 

     

    The rows marked with green are texts. Date are in fact numbers . You can check the true nature of a value in a cell with ISNUMBER or ISTEXT. Thus, remove the "th" and "nd" bits in the dates and it will work. And perhaps you will have "st" and "rd" somewhere else as well.

     

    Since texts are always greater than a number the check $D3>=TODAY() will always return TRUE.

     

    By the way, you don't need the IF when you set the conditional formatting rule. So, use your first formula. 

Resources