+ Reply to Thread
Results 1 to 7 of 7

Combining information from two sheets into fixed rows on sheet 1.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2007
    Posts
    12

    Combining information from two sheets into fixed rows on sheet 1.

    In sheet 1, I have a master list of students. Sheet 2 is pulled from a database of an online quiz that records their presence or absence at the particular class. Sometime, students do not fill out the online quiz, therefore their name does not appear in sheet 2. Consequently, I cannot figure out how to combine the two sheets in any type of automated way. I would like for the names in sheet 2, to appear under their respective names in sheet 1. If the name is not there, I need the row to remain blank. I have tried custom sort, but that doesn't because if a name does not appear on sheet 2, it continues the sort instead of leaving that row blank. Is it possible to paste and sort, or refer to sheet two in that manner? I have attached an example. Thanks!
    Attached Files Attached Files
    Last edited by WillisJones; 03-14-2012 at 01:58 PM.

  2. #2
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Combining information from two sheets into fixed rows on sheet 1.

    Example #2.xlsx

    Here is one solution. Can you be more clear about what you want from the combination of the two sheets?
    Last edited by darknation144; 03-13-2012 at 10:49 AM.

  3. #3
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: Combining information from two sheets into fixed rows on sheet 1.

    Another example - The line underneath is read from sheet 2. If name not found row stays blank and the cells above will format to yellow if different from Sheet 1 results. If the names stay the same not a problem but if you are going to add to them you may want to think about using dynamic name ranges.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-03-2011
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Combining information from two sheets into fixed rows on sheet 1.

    BarryTSL, Thanks! That is exactly what I was trying to do. Still not sure how you formatted the cells to turn yellow if different, but that also helps alot. Were you manually copying the
    =IFERROR(VLOOKUP(A2,Sheet2!$A$2:$A$410,1,FALSE),"")
    on every other line, or is there a way to automate that? I think I understand the code, but I'm not sure if I need to manually do that on every other line. Thanks!

  5. #5
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Re: Combining information from two sheets into fixed rows on sheet 1.

    Turn the cells yellow using the conditional formatting, if you look in "manage rules" you will see the formula, but easy enough to use the "format painter" brush. And yes I just copied one row of the cells (A3 to F3 ) for example with the formlas in and pasted them in every other row. If you use one hand on Ctrl V and the other on the down arrow it won't take you long.

  6. #6
    Registered User
    Join Date
    11-03-2011
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Combining information from two sheets into fixed rows on sheet 1.

    Thanks! You helped me out of a jam.

  7. #7
    Registered User
    Join Date
    11-03-2011
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Combining information from two sheets into fixed rows on sheet 1.

    darknation144
    Thanks! Sorry I wasn't clear about what I needed. The response after yours has the solution I was looking for.

+ 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