Update Health via Formula

Hello, relatively new to Smartsheet here (the person in charge before is no longer with us). I am working on a formula to change the health of a project based upon the status. Caveat - the projects will have multiple statuses and I need the health color to change, even if there are 5-6 statuses listed. I copied where I'm at right now and can make it work for the individual colors, but when I introduce the additional color options, I get an "Incorrect Argument Set". I'm obviously missing something. Help please!


=IF([Technical Status]@row="Active", AND("Assigned (not started)", "Upcoming (starting soon)", "Generating Site Plan", "Site Plan Sent", "Generating Layout", "Layout Sent", "Layout Approved", "Prelim TD's done", "Final Set Ready"), "Green", IF([Technical Status]@row="Complete", AND("Post Coordination", "Revisions"), "Blue", IF([Technical Status]@row="Waiting on Customer", "Red", IF([Technical Status]@row="Inactive (need direction)", "Red", IF([Technical Status]@row="On Hold", "Yellow")))))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!