Multiple if statements combined into 1

Hi,
I am trying to create a formula to update the status column.
If ALL 5 people columns has any combination of "approved", "approved: with questions", "approved: with comments", then it marks the status Approved.
If any of the 5 people columns has "In Review" or Reviewed: with questions", the status column in mark as "In Review".
I am not sure how to build this the most efficient way.
Answers
-
Hi, you can try the steps below. Not sure if it works effectively, just a suggestion.
1) Put new column "Approval status" in the sheet
2) Create automation "Change cell value"
3)Inside automation workflow, consider "When rows are added or change" > when "Any Field" changes .....
4) Then, add "condition to filter row" where "Supervisor" column "is one of" Approved, approved with comments etc. -- "Add another condition" --and where "Manager" column "is one of" Approved, approved with comments etc.. and so forth
5) Change cell value "Select a column: Approval status" to Approved
6) Repeat to set automation for Review status.
-
I hope you're well and safe!
Try something like this.
= IF(COUNTIF(Supervisor@row:VP@row, CONTAINS("Approved", @cell)) = 5, "Approved", IF(CONTAINS("Review", Supervisor@row:VP@row), "In Review"))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
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 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.
-
-
Excellent!
You're more than welcome!
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.
-
I would like to add another thing to this formula and can't seem to get the syntax correct. I added another column [Public] that is a check box option.
I would like my status column to change from approved to public if that box is check.
=IF([Public ]@row = 1, "Public")
Can I or how do I add that to my existing formula?
=IF(COUNTIF(Katrina@row:Maria@row, CONTAINS("Approved", @cell)) = 5, "Approved", IF(CONTAINS("Review", Katrina@row:Maria@row), "In Review"))
I hope this makes sense and thanks for any help.
Steph
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!