Randombard
Active Member
- Joined
- Jun 30, 2008
- Messages
- 392
Hi All,
I have a problem with name matching.
I have 2 databases that I have inherited both containing the same account names.
I need to combine these names into one summary page/reference page.
My problem arrises where the names have either been spelt wrong or are entered differently.
I.e
DB1
Bob Simmon
DB2
Simmon Bob
I have experimented with:
=IF(ISERROR(LOOKUP(2^15,SEARCH($D2,INDIRECT("Result"&I$1)),Result1)),IF(ISERROR(LOOKUP(2^15,SEARCH(INDIRECT("Result"&I$1),$D2),Result1)),J2,LOOKUP(2^15,SEARCH(INDIRECT("Result"&I$1),$D2),Result1)),LOOKUP(2^15,SEARCH($D2,INDIRECT("Result"&I$1)),Result1))
and many variants/ranges
To a certain level of success but this does through up incorrect results and on occation no results at all.
I am happy to go ptogramaticaly with this, if there are any suggestions.
Thanks
I have a problem with name matching.
I have 2 databases that I have inherited both containing the same account names.
I need to combine these names into one summary page/reference page.
My problem arrises where the names have either been spelt wrong or are entered differently.
I.e
DB1
Bob Simmon
DB2
Simmon Bob
I have experimented with:
=IF(ISERROR(LOOKUP(2^15,SEARCH($D2,INDIRECT("Result"&I$1)),Result1)),IF(ISERROR(LOOKUP(2^15,SEARCH(INDIRECT("Result"&I$1),$D2),Result1)),J2,LOOKUP(2^15,SEARCH(INDIRECT("Result"&I$1),$D2),Result1)),LOOKUP(2^15,SEARCH($D2,INDIRECT("Result"&I$1)),Result1))
and many variants/ranges
To a certain level of success but this does through up incorrect results and on occation no results at all.
I am happy to go ptogramaticaly with this, if there are any suggestions.
Thanks