+ Reply to Thread
Results 1 to 10 of 10

Collating data from multiple sheets

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    40

    Collating data from multiple sheets

    Hi all,
    I'm very much learning how to use Excel at the moment. I work in a hospital and help to run a service that reviews patients and produces care plans to facilitate earlier discharge etc.

    Background: Our current excel workbook has individual worksheets for each employee in the service to record the data specific to the patients that are referred to them. I have created a simplified example (minus real patient information of course!) so that you all can see what I mean.

    The manager of the service requires various statistics to be collated. My thought so far is to have a separate worksheet within the workbook for the manager's stats but I don't know if this will work well or not.

    What I need:
    1. Collated stats from Columns E, F and I from EACH of the worker’s worksheets in the Statistics worksheet.
    Could a pivot table do this? That is, could I use multiple worksheets as source for the pivot table? If not a pivot table what do I need to do in order to collate these stats?
    2. I also need to collate the total number of new referrals to our service (each month/year/etc.)

    Restrictions:
    This is a SHARED workbook so that means I cannot use tables (unless someone has a workaround for this).
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Collating data from multiple sheets

    That is, could I use multiple worksheets as source for the pivot table?
    Do not think you can use multiple sources but you can control multiple pivot tables with a single slicer

    not sure if its suitable for your environment but the way i would do it, is use a macro (which is on your computer rather than the file itself) that combines all the data from all the worksheets into one sheet
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-21-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Collating data from multiple sheets

    Sorry this is where my novice understanding comes in: I'm not sure what you mean by a single slicer. What I was wondering is if I can take data from multiple worksheets and have one pivot table that shows all that data.

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Collating data from multiple sheets

    i stand corrected you can have multiple ranges in single pivot table

    youtube video step by step
    https://www.youtube.com/watch?v=ZBn1-r0I5oE

  5. #5
    Registered User
    Join Date
    07-21-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Collating data from multiple sheets

    Thanks for the reply. I've attempted this but I think the fact that it is a shared workbook means I can't create a pivot. So I guess pivots are out, is there any other way to collate the data I need? (see start of thread)

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Collating data from multiple sheets

    you can use pivot but you cant amend..which kind of defeats the purpose

    anyway my proposal was to use a macro to do the grunt work of taking data from each worksheet
    see attached sheet
    click the button to make it run


    although my comment in post #2 is still valid...i know that hospitals are generally more strict with their security

    not sure if its suitable for your environment but the way i would do it, is use a macro (which is on your computer rather than the file itself) that combines all the data from all the worksheets into one sheet
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-21-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Collating data from multiple sheets

    Quote Originally Posted by humdingaling View Post
    you can use pivot but you cant amend..which kind of defeats the purpose
    Agreed! There's not much point to a pivot that you can't manipulate.

    Quote Originally Posted by humdingaling View Post
    anyway my proposal was to use a macro to do the grunt work of taking data from each worksheet
    see attached sheet
    click the button to make it run
    I tried this but maybe I'm doing something wrong - There was no button to push, just a "drawing" of a box that says "Combine". If I click on the box it just highlights the Drawing Tools function on the ribbon. I know next to nothing about macros but I get the feeling that I need to start learning quickly!

    In the meantime I have found a work around (of sorts) but simply getting the averages from the individual sheets and then adding them, its just a two-step process instead of a one step that's all.

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Collating data from multiple sheets

    oops forgot to assign macro..attached fixed version


    In the meantime I have found a work around (of sorts) but simply getting the averages from the individual sheets and then adding them, its just a two-step process instead of a one step that's all.
    if you can work with this instead then you could probably get away with just formulas
    however i dont know what formula you actually wanting to analyse
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-21-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Collating data from multiple sheets

    Cool thanks. I can see that it works, but because I know nothing about macros I can't seehow it works. So, until I get the time to train myself up on macros I'll stick to formulas. Thanks for the help.

  10. #10
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Collating data from multiple sheets

    not sure if this suits your needs for analysis but i put together indirect method
    ie you add the name of the worker (no spaces...as it kind of screws it up) and the formula will take from the sheet of the worker

    maybe something like this can work for you
    Attached Files Attached Files
    Last edited by humdingaling; 07-22-2015 at 02:22 AM.

+ 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. Macro solution for collating multiple sheets into a summary sheet
    By benslocs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-26-2015, 06:35 AM
  2. [SOLVED] Collating data from multiple sheets
    By darrylfunky in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-08-2014, 07:32 PM
  3. Collating data from multiple sheets
    By 1.zer0 in forum Excel General
    Replies: 0
    Last Post: 05-17-2011, 11:21 AM
  4. Collating/grouping data from different sheets
    By dubstar in forum Excel General
    Replies: 7
    Last Post: 02-28-2010, 11:29 PM
  5. Collating data from varying number of sheets
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2009, 08:22 PM
  6. Replies: 0
    Last Post: 11-26-2009, 04:53 PM
  7. searching and collating values in multiple sheets
    By dave99 in forum Excel General
    Replies: 1
    Last Post: 01-07-2006, 06:55 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