Hello Everyone,

Options

I am using this formula to sort and condionning formatting a a schedule

=IF([Due Date]@row - TODAY() > 15, "Green", IF([Due Date]@row <= TODAY(), "Red", "Yellow")).

The problem I have is add any input to the row will turn red , and I wanted to turn red only when I add the due date !

Thank you!

Answers

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Options

    Hi @SRhimi,

    If you would like a Status to stay blank until you add in a due date, then the following formula should work for you:

    =IF(ISBLANK([Due Date]@row), "", IF([Due Date]@row - TODAY() > 15, "Green", IF([Due Date]@row <= TODAY(), "Red", "Yellow")))

    Sample results:


    Hope this helps!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!