+ Reply to Thread
Results 1 to 2 of 2

Combining data that doesn't necessarily align

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    hawaii
    MS-Off Ver
    Excel 2003
    Posts
    1

    Combining data that doesn't necessarily align

    Hello,

    I am trying to use Excel to complete a task.

    I have a spreadsheet. In Sheet 1, I have a list of student test results from a reading test. The data is laid out with Student ID#s in Column A and each student's corresponding test scores in Column B through Column E.

    In Sheet 2, I have a list of results from a math test. Not all of the students from Sheet 1 took this test, but some of them did. It is laid out in the same way with Student ID#s in Column A and each student's corresponding test scores in Column B through Column E.

    What I would like to do is to combine the data into a master sheet, so that I will have Student IDs in Column A, results from Sheet 1(reading) test in Column B - Column E, and results from the Sheet 2 (math) test in Column F - Column I. Since not all students took both tests, I would like the results columns to be blank if they did not take one test or the other.

    Is this possible within Excel? I have attached sample data so that you very smart people might better understand what I want. I appreciate any thoughts or hints you can give me. If this is more appropriate to a database program like Access, let me know.

    Regards,

    Eric
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,935

    Re: Combining data that doesn't necessarily align

    I've just used Sheet 1 to demonstrate how to link (copy matching cells) from Sheet 2. Hopefully, you get the idea.

    Sheet 1, Cell F3: =IFERROR(VLOOKUP($A3,Sheet2!$A:$E,COLUMN(F$1)-4,FALSE),"")

    Copy across and down.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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