Switch Formula

Options

Hello,

I have recently integrated a project plan from MS plan to Smartsheet's however I can't seem to get the auto RAG Switch function working working as it was in Project Plan. This is the formula I used. Can anyone please help :)

Switch(
      ([% Complete] = 100), "C",
      ([Baseline Finish] < Now()), "R",
      ([Finish] > [Baseline Finish]), "A",
      ([Finish] <= [Baseline Finish]), "G",
      True, "ERROR!"
 )


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!