IF CONTAINS Help!
Good morning,
I want to return specific values in a cell based on a drop-down list (single values per column), for example, if Activity = Marketing, then return value 45. However I need multiple options in each column, so I need the formula to then look for another activity and return a different value based on that.
Effectively, can I use multiple criteria with multiple results?
So the single formula works fine =IF(CONTAINS("Advertising", Activity@row), 45, "")
But I then want to look for Operations and return a value of 30.
Anyone any suggestions?
Thanks!
Lisa
Best Answer
-
Hi Lisa B 2022,
You can try this formula for your condition-
=IF(CONTAINS("Advertising", Activity@row), 45, IF(CONTAINS("Operations", Activity@row), 30, ""))
Thanks,
Kaveri Vipat
Senior Associate - Smartsheet Development, Ignatiuz Software
2023 Core Product Certified
Did this answer help you? Show some love by marking this answer as "Insightful💡" or "Awesome❤️" and "Vote Up⬆️"
Answers
-
Hi Lisa B 2022,
You can try this formula for your condition-
=IF(CONTAINS("Advertising", Activity@row), 45, IF(CONTAINS("Operations", Activity@row), 30, ""))
Thanks,
Kaveri Vipat
Senior Associate - Smartsheet Development, Ignatiuz Software
2023 Core Product Certified
Did this answer help you? Show some love by marking this answer as "Insightful💡" or "Awesome❤️" and "Vote Up⬆️"
-
Thank you so much, I was trying to put further criteria outside of the bracket! Much appreciated!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!