+ Reply to Thread
Results 1 to 2 of 2

Thread: how to match data

  1. #1
    Registered User
    Join Date
    10-05-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    how to match data

    Matching/adding new data

    I need to do this for about 500 rows; help? Is there an easy way that I have not yet discovered?

    I have a spreadsheet with Column A and Column B. I got new data via a second method. How can I match rows in column A with column A2 so I can compare existing data between Column B and Column C?

    Current:
    My data
    Column A Column B
    a 12
    b 1
    c 3
    d 5
    e 7

    New
    Column A2 Column C
    a 10
    c 3
    d 3
    f 0


    I need:
    Column A Column B Column C
    a 12 10
    c 3 3
    d 5 3
    f - 0

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,222

    Re: how to match data

    The basic formula would be:

    =VLOOKUP(A2,'New'!A:B,2,FALSE)

    where A2 is the search item (cell A2 in the Data Sheet) and the Lookup Table is in columns A and B in the "New" sheet.

    To cater for missing entries:

    =IFERROR(VLOOKUP(A2,'New'!A:B,2,FALSE),"")

    Regards

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