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!
Sarah
Best Answer
-
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!
Best,
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!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
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!
Best,
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!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andree,
Thank you for the prompt support here!
Yes, removing the "" and the extra ))) seemed to work. I appreciate the help :) Have a great day as well.
Warm regards,
Sarah
-
Excellent!
You're more than welcome!
The main issue was the " " and when you have them surrounding numbers, they are read as text by Smartsheet.
✅Remember! 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!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | 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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!