Forum Discussion

ClaireMcF's avatar
ClaireMcF
Brass Contributor
Feb 15, 2023
Solved

Conditional Formatting multiple rules

I am trying to conditionally format a cell that is green for dates in the future (from today), red for dates in the past (before today) and black for two criteria, 1) date in the past and 2) when a cell has been marked as 'complete'. The first 2 work ok, but I can't get the black conditional format to work for the completed cells. Any ideas

 

    • ClaireMcF's avatar
      ClaireMcF
      Brass Contributor

      SergeiBaklan Thanks for getting back to me. Date is in one cell, with status in another cell. I have several rules in place, which might be complicating things. Trying to get the conditional formatting in the column next to the status column. The red cells should be black because the date is in the past the column next to it reads 'completed'.  Does that make sense?

       

       

       

       

      • SergeiBaklan's avatar
        SergeiBaklan
        MVP

        ClaireMcF 

        In addition, much better to follow "one rule = one format". In your case first three could be combined as

        =AND( G13 <> "In progress", E13>= $A$1) + AND( G13 <> "Not started", E13> $A$1 )

        or like for the green.

Resources