+ Reply to Thread
Results 1 to 7 of 7

Matching Data

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    York, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Matching Data

    Hello,

    I've got 2 lists of publication titles (i.e. text), and I need to find out which titles are present in both lists, and which are only present in one of the lists. I've got a separate table indicating in which list the titles can be found (list 1, list 2 or both) using 0 and 1 for absence and presence respectively. There are a couple of thousand titles in each list, so I'm going to need a formula or macro, etc. if I want to do this in any sort of reasonable time. However, I've been struggling to find one that works. I've been experimenting with IF and VLOOKUP but I've had no luck so far. I was hoping someone might be able to help?

    Thanks,

    JP

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Matching Data

    Without a sample I would try =vlookup(A2,sheetwtitlesA:A,1,false) where you substitute your column you have the titles in where I put sheetwtitles.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Matching Data

    BTW, the titles will need to match to get a match.

  4. #4
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Matching Data

    I think the formula in the attached workbook might help you.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-08-2013
    Location
    York, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Matching Data

    Thanks for the help guys, I really appreciate it! I can see the formula should work, the only issue is that because the 2 lists are from 2 different sources (one compiled by me and one compiled by someone in the US) they're in a slightly different format, meaning that the text in the cells between the 2 lists don't match up perfectly, so formula isn't working at the moment. However I'm getting the list resent to me in the same format as the one I've done, so after I receive that everything should work.

    Thanks again!

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Matching Data

    Without compiling a master list you can insert two helper columns. One helper column for the first list and one for the second list.
    In the helper column for the first list enter this formula and copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In the helper column for the second list enter this formula and copy down.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Sort both lists so that the "In List....." are at the top of the lists and you have the items that are in both lists. All the entries with a blank are only in that list.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Matching Data

    because the 2 lists are from 2 different sources
    why not use the same format as each other? only one of you has to change
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Finding Matching Data in one Column/Adding corresponding matching string value.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 07:23 PM
  2. Indexing and matching data from date range and matching
    By Rickomicko in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2013, 11:46 AM
  3. Matching Data between Files , Deleting Matching Rows
    By nem_vdoxx in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2013, 11:00 AM
  4. Replies: 2
    Last Post: 04-18-2013, 05:56 PM
  5. SQL Query to get count of matching & non-matching data from two tables
    By Kiran2012 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-13-2013, 10:32 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