Forum Discussion

AS2021's avatar
AS2021
Copper Contributor
Sep 15, 2021

Conditional formatting not reading dates

Good morning,

 

I have a spreadsheet in which dates have been formatted as dates in the Home tab, and where I already tried using "Text to Columns" in the Data tab to make sure the dates are formatted as dates and not text.  Nevertheless, when I try to apply conditional formatting to highlight dates that are less than TODAY(), it doesn't work as intended - it just highlights everything.   

 

If the data is formatted correctly - as dates - what else could be going wrong?  Or is the data still not formatted correctly?  

6 Replies

  • mathetes's avatar
    mathetes
    Silver Contributor

    AS2021 

     

    Used a different formula---Conditional Formatting is great, but not always intuitive, as you're discovering. It almost always takes me a few trial and error steps to get the result I'm seeking. Did here too. 

     

    • AS2021's avatar
      AS2021
      Copper Contributor
      I used "Format only cells that contain". Then applied the "Less than" condition to TODAY(). The quotations were inserted by excel - never would've figured to delete them after having applied the condition: if excel auto-added them, what could be wrong with it? Now I know.
      Thank you all.
      • Adina1986's avatar
        Adina1986
        Copper Contributor

        AS2021​ I pray to God for you! :)You save a lot of time for me with the explanation.Thank you, very,very much!!!

  • AS2021 

    Th rule says Cell Value less than ="TODAY()"

    But "TODAY()" is a text string, not a date. Change ="TODAY()" to =TODAY()

Resources