+ Reply to Thread
Results 1 to 6 of 6

Matching fields from 2 databases

  1. #1
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Matching fields from 2 databases

    Hi, I am in the process of matching up fields from 1 database to fields in a 2nd database. Each database is unique in the sense that they name things differently, one has some fields for things that the other does not, etc. But, I am trying to think of the best way to get a good chunk of the matches done in bulk, then looking at everything individually. So, my question is: Is there a way to compare 2 different columns, and if a cell from column 1 contains the same words, or similar words as column 2 then match them together.

    An example would be Database1 = Red Brick House Multi and DataBase2 = Red_House_2 Story - Probably not the best example, but hopefully you understand where I am going with it... I just need to find similar values within each comparison column and then have them matched up together.

    I don't know if there is a way to do that or not, but, figured was worth asking the question. Or, if anyone has any suggestions regarding a different tactic, I would love to learn. Thanks for any help!

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Matching fields from 2 databases

    No, not easily. You could start with an inner join in the fields and see how far that gets you, but there's no way of doing a fuzzy match to the extent you want - it would take a huge amount of work unless there's more of a pattern between the data fields than you've indicated.

    Ps to help with your searching, databases don't have rows and columns, they have records and fields

  3. #3
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Matching fields from 2 databases

    Well, the data dump from each database was into excel so that is how I am matching the two and why I referenced as columns. Question, what are the limitations of the fuzzy match?

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Matching fields from 2 databases

    Why have you posted this in an access sub forum if you are using excel?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,924

    Re: Matching fields from 2 databases

    I will move this to the VBA forum for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Matching fields from 2 databases

    Hi BG1983

    Google on fuzzy match excel vba. You'll get a lot of hits.

    Here's a link to one of them.
    http://code.google.com/p/fast-vba-fu...e/trunk/Fuzzy1

    If you upload a sample of your two Data Files I'm sure one of us will look at it with you.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. Matching Name Fields in Two Columns
    By chcalissie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-22-2014, 08:42 AM
  2. Results based on matching fields
    By herminator76 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-16-2014, 07:07 AM
  3. Matching Up Fields From 1 Spreadsheet To Another
    By ndsx in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-03-2014, 11:59 AM
  4. Matching 2 fields and doing a count
    By Shaz_79 in forum Excel General
    Replies: 1
    Last Post: 01-03-2012, 09:45 PM
  5. Matching name fields
    By jartzh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2009, 09:19 AM
  6. Help matching fields in a database
    By simjambra in forum Excel General
    Replies: 2
    Last Post: 03-13-2009, 12:28 PM
  7. matching multiples fields in 1 row
    By Hobochunk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-28-2005, 02:35 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