+ Reply to Thread
Results 1 to 2 of 2

Macro to pull data from several other worksheets + sort

  1. #1
    Registered User
    Join Date
    07-02-2018
    Location
    Melbourne
    MS-Off Ver
    Mac 14.4.8
    Posts
    1

    Macro to pull data from several other worksheets + sort

    Hi,

    Having some trouble here. I have 5 worksheets that summarise data from other worksheets. I want one final worksheet to include data from each of the 5 worksheets. The 5 summary sheets include "Code", "treatment week", "No of goals", "No of goals with 777", "no of goals excluding 777s, and 888s", and "average excluding 777s and 888s".

    In my final summary sheet I would like:
    Code (taken from each sheet)
    Client or Partner (info can be taken from the worksheet name, if C_XXXXX then client, if P_XXX then partner)
    Treatment condition (info taken from worksheet name, e.g. C_PA-CBT, where C is Client and PA-CBT is the treatment condition)
    No of weeks completed of treatment (e.g. if there are 6 repeats of the code in the same sheet, then it will be 6 treatment weeks completed)
    No of Goals for a specific treatment week (1, 2, 3, 4, 5, 6, all separate headings)
    No of 777s for each week (same as no of goals with 777s)
    Average for each week (same as average excluding 777s and 888s)

    How on earth should I do this? Just some guidance for what to look into would be helpful so I can read a little more about whether it suits and then specify my question further.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Macro to pull data from several other worksheets + sort

    Hello r9191,

    With so little information provided, it will difficult to offer you advice on how to proceed. You should always include before and after examples for reference. These examples should be faithful to your original data. As always, posting your workbook is the best option whenever possible.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. [SOLVED] Macro to pull columns of data from multiple worksheets into summary worksheets
    By crandell84 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2018, 05:44 PM
  2. Need Macro to pull data from list and create new worksheets for each result
    By kingsdime29x in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2014, 07:25 PM
  3. Replies: 1
    Last Post: 07-11-2014, 04:19 PM
  4. Macro to pull data from 3 other worksheets, plus filtering help
    By Thunderer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-20-2013, 05:35 PM
  5. MACRO to Pull Data from multiple worksheets onto a summary sheet based on an ID
    By eswonson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2013, 03:31 PM
  6. [SOLVED] Help with creating a macro to anaylse and pull data from multiple worksheets
    By eoghanmolloy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-29-2012, 02:31 AM
  7. Help:macro to auto sort data to different worksheets...
    By 2nd Time Around in forum Excel General
    Replies: 2
    Last Post: 08-06-2005, 08:05 AM

Tags for this Thread

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