How to parse out part of a repeated phrase within a cell
I have created a new column called "Workstreams" that has a "CONTAINS" formula @row that parses workstream names out of a "tags" column. (The cell in that row and in that tag column has multiple tags that the CONTAIN formula is parsing into my Workstreams column.)
It works great until one of my workstream tag names is also PART of a name for other tags in that same cell. So, I need the workstream "Exxon" but not only does that column have "Exxon," it has "Exxon," "Exxon Weekly Report," "Exxon Team," and "Exxon Party."
I need a way to parse out "Exxon" so when I run a Workstream report the other "Exxon Weekly Report" etc. don't show up. I need it to return a filter on Exxon and leave out the other Exxon-tags. I tried hyphenating, but it still doesn't work. Help! :-)
Answers
-
Just use column@row="Exxon" Instead of CONTAINS("Exxon",column@row)
-
Try HAS instead of CONTAINS. HAS is specifically for the situation you describe - finding one of many options in a multi-select cell but not relying on the string being unique.
-
Hi @kfb,
Could you please add a screenshot of your sheet after removing any sensitive data? This will help us create the exact formula for you.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!