How do we create CASE statements in Smartsheet by Multiple IF statements?
I'm having an UNPARSEABLE error when trying to createa a formula to get a "30 Days" category from a field which used to be "free-form" and recently just became a dropdown. Hence I get "30 Days" or "30 days" in the field. Below is the formula, what is causing the error?
=IF(CONTAINS("30 Days",[Business Retention],1),"30 Days",
IF(CONTAINS("30 Days",[Business Retention - Other],1),"30 Days",
IF(CONTAINS("30 days",[Business Retention],1),"30 Days",
IF(CONTAINS("30 days",[Business Retention - Other],1),"30 Days", "Others"))))
Answers
-
Hi @molson ,
Try putting "@row" after the column names and see if that helps. So each would look like this - "[Business Retention]@row" as an example.
Hope that helps,
Dave
-
Thank you Dave! The @row worked together with removing the ",1" inside the CONTAINS arguments.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!