Nest If statements with countifs, contains, checkboxes.
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 have the formula for that thanks to this community. = IF(COUNTIF(Supervisor@row:VP@row, CONTAINS("Approved", @cell)) = 5, "Approved", IF(CONTAINS("Review", Supervisor@row:VP@row), "In Review"))
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.
I would like my status column to change from approved to public if that box is check.
How do I go about adding this step.
Thanks,
Steph
Answers
-
Nevermind. I figures it out so soon as I posted the question.
=IF([Public]@row = 1, "Public", IF(COUNTIF(Supervisor@row:VP@row, CONTAINS("Approved", @cell)) = 5, "Approved", IF(CONTAINS("Review", Supervisor@row:VP@row), "In Review")))
-
I'm glad you were able to figure it out! Thanks for posting your solution.
Cheers,
Genevieve
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!