+ Reply to Thread
Results 1 to 5 of 5

Comparing two lists to see where they match

Hybrid View

  1. #1
    Registered User
    Join Date
    01-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    3

    Comparing two lists to see where they match

    Hi,

    I need to compare two lists, one a reference list and one a list of collected data (plant species names). How can I compare them so that those data I have collected which are in the reference list are somehow 'flagged up' or even aligned with the corresponding name in the reference list?

    If this has already been asked and answered, please point me to the thread, as I can't find any.

    Thanks
    Last edited by NBVC; 01-06-2011 at 12:46 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Comparing two lists to see where they match

    =Isnumber(Match(A1,B:B,0))

    this will look for A1 value within column B and return True if found, False if not found.

    Adjust as needed and copy down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Comparing two lists to see where they match

    Thanks for the reply. I can't get that to work, but then I don't really know how to use formulas correctly. If I am to understand that I have to go through list A (about 50 species) one at a time to see if it occurs in list B (600 sp) then that could be very tedious, and no less time-consuminag than doing it manually. I would have thought that comparing two lists would be a basic and straightforward function - it's something I need to do each day, but I know no-one who knows how to do this on excel.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Comparing two lists to see where they match

    It is one formula that you just copy down, by dragging the little black square at bottom right corner of the cell... it adjusts to the next cell reference...

    Say your list A occurs in Sheet1, cells A2:A50

    and your list B is in sheet2, cells A2:A60,

    Then to compare, you would put the formula in Sheet1, B2:

    =ISNUMBER(MATCH(A2,Sheet2!$A$2:$A$60,0))

    and copy it down, so that each item in list A is compared to the whole range in list B.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Comparing two lists to see where they match

    Ok I've got that to work now, thank you very much.

    Matt

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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