06-13-2024 12:36 AM
Hi All,
I have a data file of company names which I would like to match back to our current Salesforce account records using a loose 'CONTAINS' comparison type. Does anyone know how this can be achieved?
For example:
Match file has a company as: Economist
I have accounts in Salesforce with: The Economist Group, Economist Impact, The Economist Intelligence Unit
If I could do a match of: Company > Account Name (contains) this would pick up all the above accounts in Salesforce.
I have been looking at Regular Expression as the comparison type but it doesn't seem to be working as intended and the content on the DT community is pretty light on this at the moment...
Here is what I'm using: .*[value].*
Thanks!
Solved! Go to Solution.
06-13-2024 12:22 PM
Hi @stevecottrell ,
I did some testing and I think this would work for you. DemandTools 5.x does not have a way to match a cell to a field that "contains" a word/string.
We can, however, create a pipeline delimited list of every account name in your file and add it to the regex Comparison Type.
The formula would look something like this but probably much longer:
\b(Interface|Tangram|Environmental|Tangram|Aquathim|Superior|Bug4573|Platinum|Secure|Telus|Unknown|Saluda River)\b
You can easily create a pipeline delimited list in an excel file by using TEXTJOIN. Let me know if you need more details on how to do that.
Hope this helps!
Regards,
06-13-2024 12:22 PM
Hi @stevecottrell ,
I did some testing and I think this would work for you. DemandTools 5.x does not have a way to match a cell to a field that "contains" a word/string.
We can, however, create a pipeline delimited list of every account name in your file and add it to the regex Comparison Type.
The formula would look something like this but probably much longer:
\b(Interface|Tangram|Environmental|Tangram|Aquathim|Superior|Bug4573|Platinum|Secure|Telus|Unknown|Saluda River)\b
You can easily create a pipeline delimited list in an excel file by using TEXTJOIN. Let me know if you need more details on how to do that.
Hope this helps!
Regards,
06-14-2024 12:07 AM
Thanks for replying to this @AnthonyValidity
This is a great suggestion, it worked when I tried it and I think will work for my specific use case going forward too. A few follow up questions:
06-14-2024 09:31 AM
Hi @stevecottrell,
I'm so happy to hear that it worked!
Hope this helps!
06-17-2024 12:16 AM
Thanks for the additional responses @AnthonyValidity. I have also submitted the feature request idea.
Get industry news, expert insights, strategies, and hot tips, served up fresh every week.
Visit the Validity blog