Combining IF and ISBLANK

Hello,

I have these two formulas working separately on a four-color symbols column, but I cannot combine the two of them without getting error messages.

=IF(ISBLANK([M1 Completed Date]@row), "Gray")

=IF([Milestone Due Date 1]@row >= [M1 Completed Date]@row + 9, "Green", IF([Milestone Due Date 1]@row <= [M1 Completed Date]@row + 4, "Red", "Yellow"))

Could someone please help me put them together?

Thank you,

Ashley

Best Answer

  • KPH
    KPH ✭✭✭✭✭✭
    Answer ✓

    Hi @Ashley McAdoo

    Try

    =IF(ISBLANK([M1 Completed Date]@row), "Gray", IF([Milestone Due Date 1]@row >= [M1 Completed Date]@row + 9, "Green", IF([Milestone Due Date 1]@row <= [M1 Completed Date]@row + 4, "Red", "Yellow")))

    Gray is checked first, if M1 Completed is not blank then your G R Y formula is evaluated.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!