+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Compare Two Lists

    Hi Everyone. I have a feeling that this is going to be simple, but the solution has eluded me.

    I'm trying to compare two lists. Basically what I want to happen is that if a value in Sheet1!A1 is equal to a value in Sheet2!A1:A100, that it will spit out the corresponding Sheet2 column B value. For instance, if Sheet1!A1 were equal to Sheet2!A41, it would spit out the value for Sheet2!B41. Is there a simple way to do this? Please let me know if you need more information.

    Thanks!
    Last edited by NBVC; 02-04-2010 at 04:10 PM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,146

    Re: Compare Two Lists

    Try:

    =Vlookup(A1,Sheet2!$A$1:$B$100,2,FALSE)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    02-04-2010
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Compare Two Lists

    With a little tweaking, that worked. Thank you for the help! I guess I've just never understood the syntax of the VLOOKUP function. I really need to get up to speed.

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.2.0