Help with formula to change symbols based on status of task?

I'm developing a project management protocol for an educational intervention implementation. Want the task complete status to change color symbols based on:

Red = task is past end date (have end date column)

Yellow = task is 7 days from end date

Green = task is in progress between start date (have start date column) and 7 days prior to end date

Blue = task completion (have task completion column) checked

Blank if start date, end date, or task completion blank.

Pretty new to Smartsheet and would love help with this formula.

Thanks

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    @Mike TV There are a number of articles in the Help and Learning section as well as the Formula Handbook. There are actually a ton of resources outside of asking a question in the Community including help in various places regarding nested IF statements (which is what is needed in this case).


    @cjdoe Give this a try:

    =IF(AND([Start Date]@row <> "", [End Date]@row <> ""), IF([Task Completion]@row = 1, "Blue", IF([End Date]@row< TODAY(), "Red", IF([End Date]@row<= TODAY(7), "Yellow", IF([Start Date]@row<= TODAY(), "Green")))))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!