+ Reply to Thread
Results 1 to 8 of 8

Summary sheet (Vlookup)

  1. #1
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Summary sheet (Vlookup)

    Hello,

    I have five club register workbooks populated by staff and we now need to keep a "summary" workbook with all the information collated together.
    Each of the five can be a variety of row lengths as they are updated daily.
    How can i have one summary workbook pulling through the information from all.

    Example club workbook.
    Club house 1:
    Student ID, Student Name, Activity, Date.

    It is a literally "copy and paste" of all five workbook sheets but on an updated/daily basis.

    Thank you.
    Last edited by Bryony309; 12-07-2015 at 12:10 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Summary sheet (Vlookup)

    Have you tried Pivot Table?

    Can you upload a sample file here?

  3. #3
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Summary sheet (Vlookup)

    Are the 5 sheets kept in the same folder somewhere?
    Are other workbooks kept in that folder - if so, is there a special file name format that will enable code to recognize the 5 sheets?

    In the summary workbook, what is the name of the tab where the summary should appear? Also, where (what address) on that sheet should the summary start?

    In the 5 sheets - what tab name acts as the source for the summary (where are we pulling from)?
    In the 5 sheets - where is the data located and is the layout identical between them?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,227

    Re: Summary sheet (Vlookup)

    Are you talking about 5 workbooks, each with one sheet; or one workbook (file) with 5 sheets in the one file?

    Is the layout IDENTICAL in all 5 sheets/files?

    I see that the OP has edited her first post to answer the question...
    Last edited by Glenn Kennedy; 12-07-2015 at 12:13 PM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    02-26-2014
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Summary sheet (Vlookup)

    Hi all,

    I don't think a Pivot table would work across different work books.

    This is an example of one of the five club workbooks.
    They list students from their house only.
    And we need a master that "summarizes" all houses from the five workbooks in one sheet, so we can then Pivot Table and graph the overall data.
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,227

    Re: Summary sheet (Vlookup)

    Damn!! I have a solution that will combine multiple sheets into one sheet and another solution that combines multiple files into multiple sheets in one file. So, now I need to get a combination of the two. I'm not sure if my VBA is up to that!! We'll see...

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,227

    Re: Summary sheet (Vlookup)

    OK. Back again. Put the three files (Tom, **** and Harry) in a folder called Raw on your desktop. In each file there is a Sheet 1, from which the code will import the data. The presence of other sheets in each of these workbooks will not interfere with the merge process. There is an extra sheet of junk in one of the files.

    The last sheet (Merge.xlsm) can be put anywhere. Open and enable macros. The code (in module 1 - ALT F11) is as follows:

    Please Login or Register  to view this content.
    For the purposes of this demo, change the path to mirror EXACTLY the path to "Raw" on your PC. On mine it's C:\Users\Windows 8\Desktop\Raw On yours it will probably be different. Currently it is set to import data from Sheet 1 A2 of each file in raw out to column Z. Should you need more columns (and in this case, you don't...), adjust the end column appropriately. I have put the common column headers on the top of the consolidated sheet. Then, hit the "Import Data" button. Job done.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,227

    Re: Summary sheet (Vlookup)

    Ha ha ha. In English, there's a term for "the common man". It's (reproduced here without any spaces between the three names) TomDickandHarry. I used these three names as my example files. It seems that I have offended the Excel Forum censor. The universally accepted four-letter contraction of the name Richard (D-i-c-k) is clearly unacceptable and it has been replaced by ****!!!

    May the Good Lord preserve us from such silly political correctness.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 08-18-2013, 03:29 AM
  2. [SOLVED] Populate summary sheet with values within specific month column on data sheet...
    By blue91 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-12-2013, 12:11 PM
  3. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  4. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  5. programmatic vlookup on "summary" sheet on save
    By pjkeady in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-27-2011, 05:00 PM
  6. Copying a template sheet and putting those multiple sheets data into a summary sheet
    By John Wolfe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2011, 06:29 PM
  7. count summary in Summary Sheet
    By joeBite in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-04-2007, 03:55 PM
  8. Replies: 2
    Last Post: 01-12-2006, 10:35 PM

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