# 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"))

Thank you,

Ashley

• ✭✭✭✭✭✭

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.

• ✭✭✭✭✭✭

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.

• ✭✭✭✭✭

Thanks @KPH, that seems to have done it. I really appreciate it.

Ashley

• ✭✭✭✭✭✭

Happy to help!

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!