Find if a word (from a list) is contained in a text

Wethepeople
Wethepeople ✭✭✭
edited 06/01/23 in Formulas and Functions

I have my table1 with a list

Column A : Client (example : EDF)

Column B : Salesperson associated to the client


I have my table2 on another sheet. The sales person types in the name of the client everyday, but it is sometimes surrounded with other words (example : "Groupe EDF", or "EDF LYON"). I would like a formula to identify that it has a word from table1 in it : "EDF" in it. And have the associated salesperson.

In other words, I would to search if the name of the client of table number 2, has a word from table number 1 in it.

The final goal is to collect the salesperson associated to the client, on table1

I have tried with countif and contains but I can't make it work with a list.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!