Nested IF Statement Inquiry

Hi team, I am having difficulty with nested IF Statements. As part of our project tracking, each phase has a particular value. In order to use dashboards and report on these values (since charts can only use numeric values), I need to create a value for each of the phases below. I have inserted a column directly next to the phase column which i will hide from view on the sheet. Each value is what I would like returned when the phases status is updated.

  • Planning/Analysis - 1
  • Design - 2
  • Development - 3
  • Deployment - 4
  • Wrap Up - 5

Each time I type the formula inside the column, it returns an UNPARSEABLE.

=IF([Current Phase]@row = "Planning/Analysis", "1", IF([Current Phase]@row="Design", "2", IF([Current Phase]@row="Development", "3", IF([Current Phase]@row="Deployment", "4", "5")))))

Can someone assist? I cannot seem to find the error here and do not want this to be a manual thing each time the phase is updated within the sheet.

Thank you!


Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @sarah.deneault

    I hope you're well and safe!

    Try something like this.

    =IF([Current Phase]@row = "Planning/Analysis", 1, IF([Current Phase]@row="Design", 2, IF([Current Phase]@row="Development", 3, IF([Current Phase]@row="Deployment", 4, 5)

    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic week!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: | E:[email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!