Hi, I am looking for a solution to match any names in first column (delimited by semi column) to that of the second column. Any help appreciated.
Expected result | ||
Remitter | Receiver | Any Name matched? |
Jack Ma; John Poh; Robert Fan | John Poh | Yes |
Jack Ma; John Poh | Jack Smith | No |
ABC Limited; Asia Company | Asia Company; Africa Company; US Company | Yes |
Solved! Go to Solution.
Hi @RajBala
As there's multiple names per row, I'd use a text to columns tool to split it out (into one name per row) and match from there. Example attached:
Hope that helps
Andy
A slightly different approach avoids using joins, so might run a touch faster.
To compare the receivers one at a time against the remitters, we need to separate multiples into single instances. Used the Text to Columns tool, separating into rows, and then a Data Cleansing to remove leading spaces
A formula tools uses Contains to figure out if receivers matches to the remitters.
Build back the original number of rows with a Summarize. Then another formula tool checks if there are any "yes" in a multiple receiver row. If so, a "yes" is the final answer.
Please let me know if this works.
Cheers!
Esther
Thanks for your help, however one issue though:
Contains formula does not match exact names. So "Jack Ma" is contained in "Jack Mason" and therefore it returns "Yes". In this case I want it to return "No" as "Jack Ma" is not exactly same as "Jack Mason"