+ Reply to Thread
Results 1 to 8 of 8

Table Matching and Comparing

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    TX
    MS-Off Ver
    2013
    Posts
    38

    Table Matching and Comparing

    1.PNG2.PNG3.PNG

    I've Attached the file from the pictures above. Any assistance would be greatly appreciated. Thank You in Advance
    Attached Files Attached Files
    Last edited by jlara0687; 03-02-2018 at 06:09 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Table Matching and Comparing

    If you are able to use PowerQuery (free add-in for Ex2013 Pro Plus from MS site) try this
    (PowerQuery is not a formula or vba so you will not see how it works until you install this add-in, now you can only see the result)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    TX
    MS-Off Ver
    2013
    Posts
    38

    Re: Table Matching and Comparing

    Thank You for your help,

    I was was just recently able to get PowerQuery for my workstation. I've attached a similar document from the original post but with more specific instructions relating to PowerQuery. The below databases come from two different systems that should be talking to each other, but do not always match. What I am attempting to do is to look for mismatches by setting Database 1 and Database 2 side by side, matching Sector 1 from both databases, then comparing the mismatches between sector 2, 3, 4, and 5... This is only a representation of what the tables look like in a small scale.


    This second example was created manually. Would like to learn how to use Excel PowerQuerty to create Database 1 and Database 2 as shown from Database 1 and Database 2 from above example. The Match / No Match is just for my own benefit to see where the missmatches are to be corrected and will be created manually.


    I'd like to learn how to make it so that when comparing Database 1 and Database 2, matching by Sector 1; I could have in either Database 1 or 2 a row created as a blank depicting either a repeat occurred or that there is no such entry on opposite database. The example below has a blank row on Database 2 for row # 1. Entry in Database 1 for row 1 does not exist in Database 2, therefore a blank was created for Database 2. The same goes for rows 15, 16, and 17; Database 1 and Database 2. A blank row was created for row 16 and 17 on Database 2 since data on row 16 and 17 for Database 1 was repeated and did not exist in Database 2. Any help would be greatly appreciated
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Table Matching and Comparing

    Too much to read
    You want to compare two tables?
    One way is:
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-06-2018
    Location
    TX
    MS-Off Ver
    2013
    Posts
    38

    Re: Table Matching and Comparing

    Your help is much appreciated. Basically what i am trying to do is match both tables by using a specific column. If in either table the data does not match for that column, a blank row will be created in the opposite table.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Table Matching and Comparing

    1. table 1 ==> table 2
    2. table 1 <== table 2
    3. table 1 <==> table 2
    which option you want?

    edit:
    third option you've in post #4

    if you want compare by columns - merge these tables then use conditional columns 5 times (with result TRUE/FALSE or MATCH/NOT MATCH or whatever you want)
    Last edited by sandy666; 03-30-2018 at 03:50 PM.

  7. #7
    Registered User
    Join Date
    02-06-2018
    Location
    TX
    MS-Off Ver
    2013
    Posts
    38
    Option 4, the only problem is that I can do it manually buti usually deal with 1000+ rows, it would take hours and hours.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Table Matching and Comparing

    Why rows? you need to compare columns - if A1 = A2 show TRUE else FALSE
    exactly as in your example

+ 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. Replies: 7
    Last Post: 06-30-2017, 09:23 AM
  2. [SOLVED] Comparing and matching data
    By atif_ar in forum Excel General
    Replies: 13
    Last Post: 12-14-2015, 06:41 PM
  3. Comparing and matching data
    By atif_ar in forum Excel General
    Replies: 1
    Last Post: 12-12-2015, 12:28 PM
  4. Desperately Need Help! - Matching/comparing
    By ThatGirl123 in forum Excel General
    Replies: 4
    Last Post: 10-30-2014, 09:48 AM
  5. Replies: 2
    Last Post: 04-18-2013, 05:56 PM
  6. Matching/ Comparing two Sheets
    By SamsSpin in forum Excel General
    Replies: 7
    Last Post: 06-13-2011, 10:25 AM
  7. Comparing and matching data
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-04-2009, 04:16 AM

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