Forum Discussion
mhasanali381
Jun 03, 2021Copper Contributor
Partial String Match Based on Range and Return Matched Word
I'm Trying to Extract the Name from the Description if it matches our Customer Names List. Please see attached image Here is What I want to do. If Column B contains any word(Partial String M...
HansVogelaar
Jun 03, 2021MVP
In G2 as an array formula confirmed with Ctrl+Shift+Enter:
=IF([@Desc]="","",TEXTJOIN(", ",TRUE,IF(ISNUMBER(SEARCH(" "&TableName[[Column1]:[Column2]]&" "," "&[@Desc]&" ")),TableName[[Column1]:[Column2]],"")))
where TableName is the name of the table.
- mhasanali381Jun 04, 2021Copper Contributor
Thanks @HansVogelaar,
Your formula is working. However, it is returning the same string Many Times. Check attached Screenshot
Is there a way to keep only unique words?
- HansVogelaarJun 04, 2021MVP
Are you using Excel in Microsoft 365?
- mhasanali381Jun 04, 2021Copper Contributor