+ Reply to Thread
Results 1 to 10 of 10

Matching 2 databases based on identifiers that are not exactly the same in both databases

  1. #1
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Matching 2 databases based on identifiers that are not exactly the same in both databases

    Hi there

    I have a list of 20K potential leads. I need to analyse which leads are already customer. The only parameter upon which I can do the matching search is the name of the company. The company's name is mentioned in both xls databases but not always in exactly the same way.

    What is the best way to match both databases as to identify which leads are already customer.

    Best regards


    DOJA

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    Look at doing a fuzzy match in Power Query called Get and Transform in your version and found on the Data Tab. If you post a sample of both tables, I can demo later today.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    Hi

    I added a file. There are 2 identifiers. In List 1 account & zip code and in List 2 Account name & zip code. In my business it happens a lot that multiple accounts have similar names so the notion of postal code is very important.

    Thnx in advance!

    Doja
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    Thnx Alan for your answer. I added a sample file. Would you be so kind as to have a look at it?

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    I have tried to use a fuzzy match and the disparities are too great to return any results save the exact matches. Hopefully, you will find another means to solving this.

  6. #6
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    Thank you Alansidman!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    Perhaps this will help.
    Although it isn't exact, it may give an indication of those that are and are not current customers.
    Four columns compare ACCOUNT NAME, Building Address, City and Zip Code between list1 and list2.
    The Name Match column uses: =ISNUMBER(MATCH(TRIM(A2),LIST1!B$3:B$5,0))
    The Building Address Match column uses: =ISNUMBER(MATCH("*"&B2&"*",LIST1!C$3:C$5,0))
    The City Match column uses: =ISNUMBER(MATCH(TRIM(RIGHT(C2,LEN(TRIM(C2))-IF(ISNUMBER(SEARCH(" ",TRIM(C2))),SEARCH(" ",TRIM(C2)),0))),LIST1!F$3:F$5,0))
    The Zip Code Match column uses: =ISNUMBER(MATCH(D2,LIST1!E$3:E$5,0))
    A fifth column displays a percentage of matches using: =COUNTIFS(F2:I2,TRUE)/4
    You could then filter based on the % Current Customer column, using the smallest amount, to get businesses that are least likely to be current customers.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    JeteMc, Thanks a lot for your answer. I'll need some time to understand your formulaes but the result already helps me a lot. THNX! Doja

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    You're Welcome and thank you for the feedback. I hope that you have a blessed day.

  10. #10
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Matching 2 databases based on identifiers that are not exactly the same in both databa

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with Matching/Comparing Columns from Two Databases
    By Baazar in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-18-2017, 08:20 PM
  2. Matching fields from 2 databases
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 09-27-2015, 07:05 PM
  3. Matching fields from 2 databases
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-13-2015, 05:18 PM
  4. Matching fields from 2 databases
    By BG1983 in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 09-13-2015, 03:04 PM
  5. Matching fields from 2 databases
    By BG1983 in forum Access Tables & Databases
    Replies: 3
    Last Post: 09-13-2015, 11:55 AM
  6. [SOLVED] match 2 databases based on a column with same values
    By jasonsgoat in forum Excel General
    Replies: 0
    Last Post: 04-04-2006, 01:40 PM
  7. [SOLVED] DATABASES
    By becky in forum Excel General
    Replies: 3
    Last Post: 01-20-2005, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1