+ Reply to Thread
Results 1 to 6 of 6

2 worksheets, need to match and fill the data

  1. #1
    Registered User
    Join Date
    01-31-2012
    Location
    washington,dc
    MS-Off Ver
    Excel 2003
    Posts
    3

    2 worksheets, need to match and fill the data

    i am not that advanced in excel and i was wondering if you can help me out.

    i have 2 worksheets both sharing 3 forums of data. worksheet A needs to be completed with the data from worksheet b.

    each row represents a person and the columns are account #, record #, ss#, name, date of service.

    worksheet A is missing account #, record #, but has ss# name and date of service.
    worksheet B has account #, record #, ss#, name, and date of service.

    i need to fill the blanks in with the data from worksheet b to worksheet a......there are over a thousand line items so it would be impossible to copy it manually.

    basically i need some how for worksheet b to fill the blanks in from worksheet a

    hope that all makes sense
    Last edited by NBVC; 01-31-2012 at 05:21 PM.

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

    Re: 2 worksheets, need to match and fill the data

    Can we match up SS#'s or are there duplicate entries of SS#'s? If so, are the SS# and Date of Service combination unique?
    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-31-2012
    Location
    washington,dc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: 2 worksheets, need to match and fill the data

    Quote Originally Posted by NBVC View Post
    Can we match up SS#'s or are there duplicate entries of SS#'s? If so, are the SS# and Date of Service combination unique?
    um there are some duplicate ss# but with different dates of service

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

    Re: 2 worksheets, need to match and fill the data

    On both sheets, concatenate the SS# and Date columns into a separate columns

    like: =A2&"_"&B2

    where A2 contains first SS# and B2 contains first service date.

    Copy formula down.

    Then use INDEX/MATCH

    e.g.

    =INDEX('SheetB'!C:C,MATCH(E2,'SheetB'!$E:$E,0))

    where SheetB is the sheet to get data from and column E of each sheet contains the concatenated ssn/date combo. Column C on sheetB would contain the account numbers, then copy down and to next column if you need data from next column too.
    Last edited by NBVC; 01-31-2012 at 04:20 PM. Reason: Added an apostrophe after _ in first formula

  5. #5
    Registered User
    Join Date
    01-31-2012
    Location
    washington,dc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: 2 worksheets, need to match and fill the data

    Quote Originally Posted by NBVC View Post
    On both sheets, concatenate the SS# and Date columns into a separate columns

    like: =A2&"_&B2

    where A2 contains first SS# and B2 contains first service date.

    Copy formula down.

    Then use INDEX/MATCH

    e.g.

    =INDEX('SheetB'!C:C,MATCH(E2,'SheetB'!$E:$E,0))

    where SheetB is the sheet to get data from and column E of each sheet contains the concatenated ssn/date combo. Column C on sheetB would contain the account numbers, then copy down and to next column if you need data from next column too.
    you are my lifesaver! just took 1 months work and turned it 5 mins! your the best thank you

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

    Re: 2 worksheets, need to match and fill the data

    You are welcome,

    If you are satisfied with the solution provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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