Match partial texts with multiple returns

Closed
LUM86162 Posts 1 Registration date Monday August 20, 2012 Status Member Last seen August 20, 2012 - Aug 20, 2012 at 11:52 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Sep 11, 2012 at 10:37 AM
Hello,

I have 2 sets of information:

1 simple list of Company Names ( Data-A )
1 array of data including another list of company names ( Data-B )

The company names in Data-A and Data-B will sometimes only be partial matches ( i.e. "Company ABC Incorporated" in Data-A may be "Company ABC Inc." in Data-B ).

There might also be several partial matches in Data-B ( i.e. "Company ABC Inc.", "Company ABC Inc", "Company ABC", etc ).

Ultimately, I'm looking to use the Data-A list to bring back the full row, or some sub-set of that data, in Data-B where there is a reasonable match.

If I use MATCH function on a sub-string of Data-A ( i.e. LEFT(Data-A,11) to get "Company ABC", how will it behave if there are multiple "Company ABC" entries in Data-B?


Any help is appreciated.

Thanks in advance,
Scott.



Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Sep 11, 2012 at 10:37 AM
When it comes to partial match, you can use match and index to get you to closer. However some you would have to resolve manually as I may have
Company ABC Limited
Compary ABC Listed
Compary ABC Ltd

So now you have to make a call what two names are "similiar"
0