+ Reply to Thread
Results 1 to 2 of 2

import data based on matching criteria

Hybrid View

jamminz1 import data based on matching... 06-21-2012, 06:32 AM
Ace_XL Re: import data based on... 06-21-2012, 06:57 AM
  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    import data based on matching criteria

    I have 2 spreadsheets:

    Spreadsheet 1 has column headers labeled LAST, FIRST, STATUS AND BADGE ID. Columns LAST and FIRST are populated with last names and first names respectively. TYPE and BADGE ID are blank.

    Spreadsheet 2 has column headers labeled LAST, FIRST, STATUS AND BADGE ID. Columns LAST and FIRST are populated with last names and first names respectively. TYPE is populated with text and BADGE ID is populated with unique numbers.

    Spreadsheet 2 has 1900 rows of data and Spreadsheet 1 has 600+. I need to add the TYPE and BADGE data from spreadsheet 2 to the matching LAST and FIRST of spreadsheet 1.

    This is driving me crazy. Please help!!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: import data based on matching criteria

    Good day,

    Use a helper column and then a simple MATCH & INDEX function to help drive ur exasperation away!

    In Sheet 1, in say Column E (helper column) combine reults of column LAST & column FIRST by using the following

    =CONCATENATE(A1,B1)
    where Column A is Column LAST and Column B is Column FIRST. This will give you a unique combination of last and first names.

    Then on Sheet 2, use the following

    =INDEX(Sheet1!C:C,MATCH(CONCATENATE(A1,B1),Sheet1!E:E,0)) to pull up STATUS and
    =INDEX(Sheet1!C:C,MATCH(CONCATENATE(A1,B1),Sheet1!E:E,0)) to pull up BADGE ID

    Show your appreciation - Press the star icon if this post has been helpful

+ 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