How to enter specific text if the cell contains a partial match?
My If statement: =IF(OR([Task Name]@row = "Discovery", [Task Name]@row = "Analysis", [Task Name]@row = "Build", [Task Name]@row = "Test", [Task Name]@row = "Deploy", [Task Name]@row = "Design"), "PMO", IF(OR([Task Name]@row = "PER", [Task Name]@row = "PRT", [Task Name]@row = "CK1 RTS", [Task Name]@row = "CK2 RTB", [Task Name]@row = "CK3 VT", [Task Name]@row = "CK6 RTD"), "CKPT", IF(OR([Task Name]@row = "Project COMMs", [Task Name]@row = "MTG:", [Task Name]@row = "EMAIL:"), "COMM", COUNT(ANCESTORS([Task Name]@row)) - 1)))
For the If formula in bold I want to return the word "COMM" to the Milestone Group column if the text "MTG" or "EMAIL" is found anywhere in a cell in the Task Name column.
How can I write this formula for this to happen?
Best Answer
-
@kaia2001 Use the Contains() function: https://help.smartsheet.com/function/contains
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
Answers
-
@kaia2001 Use the Contains() function: https://help.smartsheet.com/function/contains
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Great! Thank you!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 452 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!