compare multi-contacts to a text string
Hi everyone,
I am building a schedule for my team that will confirm if a combination of assigned staff 'assigned to' are trained to do a specific task 'task combos'.
the 'staff trained in this task' is a text column that is using JOIN(COLLECT) to combine contacts who are trained in a task, these are in different columns not seen below.
Because i cant join contacts in a single cell my idea was to convert 'assigned to' into a text string and compare that to the 'staff trained…" and use the checkbox to confirm if those are indeed trained staff. in the checkbox column my current 'not working' formula is
=IF(CONTAINS([text of 'assigned to']@row, [staff trained in this task]@row), 1, 0)
My problem seems to be the commas when i convert the contacts into text, i cant seem to get rid of that, however i feel there must be a way to ignore the comma and just search the names?
thanks in advance
Joe
Answers
-
Hi @joe86,
Rather than trying to remove the comma and space from the “text of ‘assigned to’” column, how about adding the comma and space as a delimiter in the JOIN(COLLECT) formula in the “staff trained in this task” column? For example, your formula would look similar to:
- =JOIN(COLLECT([assigned to]:[assigned to], test:test, "yes"), ", ")
Check out this help article for more information on using JOIN and COLLECT together:
Does that work for you?
Georgie
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!