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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!