+ Reply to Thread
Results 1 to 7 of 7

find duplicates across two different tables

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    find duplicates across two different tables

    Hi all,

    I'm brand new and hoping someone can help with a bit of a problem I have.
    I'm quite new to excel and also to this forum, so if this is mega easy and I'm being terribly dense I do apologise.
    I'm running Microsoft Office 2007.

    I have 2 separate tables.. both a list of contacts of sorts.
    In one table I have a list of all my clients (table A), in the other I have a list of "preferred" clients (table B).

    The contact details etc that are stored in table A are more comprehensive to those in table B.
    Effectively, I want to search for all of my preferred contacts from table B and filter for them in table A.
    Then ideally i will sort alphabetically and just cut and paste the details into my preferred client spreadsheet.

    Is there a way of doing this?
    I had a look online and there was something about creating a "relationship" but I don't think excel 2007 allowed me to do it. I certainly hadn't heard of powerview or powerpivot that they were using!

    Hope someone can help.
    Thanks for your time.

    Matt

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: find duplicates across two different tables

    Hi,

    I'm pretty confident that I know a way of making this happen for you, but could you please upload your workbook for me to take a look at?

    Thanks

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: find duplicates across two different tables

    Hi there,
    Thanks for looking and it would be great if you could help.
    For data protection I cant upload the specific workbook, but I will upload an example and hopefully that will work?
    I have uploaded the files in CSV (as that's what the original doc needs to be)
    Any help you can give you be amazing!
    Cheers,
    Matt
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: find duplicates across two different tables

    No worries, I can work with examples

    I have put together a simple spreadsheet that can be made fancier if need be, but at the moment it just demonstrates functionality (hopefully the same functionality that you were hoping for).

    For it to work, the "SortContacts.xlsm" needs to be in the same Windows directory as "table A.csv" and "table B.csv" (or whatever files you have specified in the purple cells on the "Setup" worksheet). Once you have specified the 2 files, press the button and hopefully you are given the result you were looking for.

    I hope this helps

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: find duplicates across two different tables

    I just realised, that going back to your OP, this doesn't sort or anything fancy yet, it just extracts the list from table B and populates with the relevant data from table A.

    Just let me know if I'm on track and then I can help perfect it later anyway

  6. #6
    Registered User
    Join Date
    02-25-2014
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: find duplicates across two different tables

    I had a quick go at this but couldn't get it working right for some reason
    im nipping out to a meeting just now and then can have proper look later
    thank you so much for helping with this
    im not too computer savvy so expect i'll just need to read your instructions better on my return!

    cheers,
    matt

  7. #7
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: find duplicates across two different tables

    OK let me know how you go

+ 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. Macro to find duplicates, concatenate cells, then delete old duplicates
    By givemepuppies in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-04-2016, 02:43 AM
  2. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  3. [SOLVED] Find duplicates, concatenate into different column, sum and delete duplicates
    By rosannang in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2013, 11:23 AM
  4. Replies: 5
    Last Post: 02-28-2012, 02:52 PM
  5. Replies: 1
    Last Post: 07-13-2010, 10:09 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