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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!