Formula for drop-down menu selections

DonnaH
✭✭✭
=IF(CONTAINS([202-Disability,801- Offender,802 Low income,803ESL]@row, "Disability"), 1, 9)
What changes need to be made to the above formula to return a "1" if "Disability" is selected, and a "9" if it is not selected--whether or not there are multiple selections made in the drop-down menu?
This formula works when "Disability" is the only item selected. However, if more than one item is selected in the drop-down (i.e., "Low income", "Offender" and/or “Disability”) then it returns a "9".
Tags:
Answers
-
Hi, @DonnaH. You can use FIND().
IF( FIND("Disability", [Column_Name]@row) <> 0, 1, 9)
A multi-select value is text, so FIND() will work.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 202 Use Cases
- 515 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!