Forum Discussion

CraigCrisp's avatar
CraigCrisp
Copper Contributor
Oct 17, 2024

Conditional Formatting - How do I get an entire row to change color based on any date being entered.

How do I get an entire row to change color based on any date being entered into the first cell of the row? I would like to apply this to all rows where only rows with a date in the first cell will change colors.

11 Replies

    • CraigCrisp's avatar
      CraigCrisp
      Copper Contributor

      SergeiBaklan uhm, perhaps letters, words, numerals that are not date formatted; you can even paste photos in a cell if you like. Hope that helps Mr. MVP.

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        CraigCrisp 

        Formulas in Excel, includes one used in conditional formatting, works with cell values, not with properties like formats.

        Other words, if we have 25 in A1 and Jan 25,1900 in B1, =A1=B1 returns TRUE since both cells have exactly the same value, even if formatted differently.

        If no other logic to separate numbers which are not considered as dates, afraid that's with VBA programming.

Resources