+ Reply to Thread
Results 1 to 5 of 5

Compare and Merge Data from Multiple Sheets in a worksheet

  1. #1
    Registered User
    Join Date
    03-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Compare and Merge Data from Multiple Sheets in a worksheet

    I have looked everywhere, but I can't seem to find something that will work for me. I am a newbie when it comes to programming in excel, but I have been given the task at work to put a database together.

    We have a database together already, and I combined the lists into something we could sort alphabetically. Basically, we have a bunch of sheets from each of my colleges with information about students. Some of us have the same students, so that information pops up multiple times in the combined list.

    I want to know if there is a way to combine that information, without adding or changing it in anyway. I just simply want to merge it. So, for example:

    StudentName ID Period Teacher Math English
    Appleseed, Johnny 931 1 Swiss 3 (blank)

    combined with this:

    StudentName ID Period Teacher Math English
    Appleseed, Johnny 931 3 Cheese (blank) 2

    To get something like this:
    StudentName ID Period Teacher Math English
    Appleseed, Johnny 931 1, 3 Swiss, Cheese 3 2

    Is this possible in Excel? I have more categories, but this example shows the basics.

    Thank you to anyone that can help!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Compare and Merge Data from Multiple Sheets in a worksheet

    Sure, it can be done. Why dont you attach a sample excel file?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Compare and Merge Data from Multiple Sheets in a worksheet

    This is a basic example of what we currently have.


    Sample File.xlsx

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Compare and Merge Data from Multiple Sheets in a worksheet

    Can you provide an output sheet that you need? Which tab in your attachment should be used as the raw data?

  5. #5
    Registered User
    Join Date
    03-06-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Compare and Merge Data from Multiple Sheets in a worksheet

    The alphabetical sheet currently shows all the names, even in multiple. I would like it to combine the multiples and only show each student one time with the information combined. The raw data is the names from each teacher in those tabs. Then, I have it set up to pull that info. on to the "By teacher" and "Alphabetical" sheets. Does that make sense?

+ 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