+ Reply to Thread
Results 1 to 14 of 14

Copy Data From Every Sheet To A Master Sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Copy Data From Every Sheet To A Master Sheet

    Macro Help.xls

    I have a workbook with 34 sheets. I have 1 sheet per school in my district (33) and then a Summary sheet. I want to be able to update the data in each individual school sheet and it automatically update the summary sheet. I will not be adding data to each school sheet on the same days/at the same time/at the same frequency. In other words, I might add 1 row of data to the School 1 sheet today, 3 rows of data to the School 7 sheet today, 8 rows of data to the School 20 sheet tomorrow, etc but I want the Summary sheet to always be up-to-date. How do I do this? I have tried some of the suggestions I have found on here but can't seem to get it to do what I want. Does my request make sense? I have uploaded my file if anyone has any suggestions. Thanks in advance for any help!

    Kimi

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    See the attached file.

    I made this with an macro (see the sheet consolidated).

    Please reply.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    oeldere,

    Thank you. That is almost exactly what I am looking for with one exception. Is there a way to not have rows already designated for each school on the consolidated sheet? Is there a way to run the macro where it automatically knows to move to the next available row? I know that I can eventually run a sort by date but I am looking for
    automation. Example: row 1 might be School 1, row 2 might be school 11, row 3 might be school 30, row 4 might be school 1 again, row 5 might be school 1 again, etc. It would all depend on when they submit a request to me. Thank you for your help!

    Kimi

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    In the consolidated sheet you get all data in one sheet.

    Then you can easily analyze the data.

    In that case I find it very easy to know from which sheet the data comes from.

    If you don't want that info you could (eventualy) hide that column.

    I can delete that info from the macro (but I think it's usefull).


    You can activate the macro with an button (if we add one on the consolidated sheet).

    If I read your question you want to sort the data on date.

    Is that correct.

    Please reply.

  5. #5
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    More Macro Help kimi4989 (VBA oeldere) (2).xlsm

    oeldere,

    You are so helpful and I am very appreciative! Hopefully this will be my last question. Is there a way for you to set the macro to automatically sort the data on date? If there is a way for you to edit the macro to automatically sort the data on date (oldest to newest) then my next question is can you tell me how to edit the column labeled "Balance"? As of right now it is copying the balance from the individual school sheets over to the consolidated sheet which is what I asked you to do but I decided that columnjust does not make sense on the consolidated sheet. I would like to have to show a beginning balance of $238,029 and then have each expenditure that copies over from the school sheets "total price" column automatically subtracted from the beginning balance and then each expenditure subtract from the previous one to keep a running balance. Does that make sense? Is that possible? I have uploaded the same file with an example of what I am talking about.

    Kimi

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    I'm intrested in what you want to achieve with the data on 1 sheet.

    Maybe a pivot table, will be helpfull for that.

  7. #7
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    oeldere,

    I work in our local school system and need to keep track of how each school in our districtspends the funds they are allocated in one of our budget line items. I need to be able to quickly, at-a-glance track by school and as a whole district as well as by type of expenditure by date. It needs to be a spreadsheet I can print out for the state auditors as well.

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    See the attached file.

    You can push the button to get all data and also sort the data.

    The range of the sort is till row 2.500. If you have more rows, you have to change the macro.

    After that I made an pivot table of the data.

    Please reply.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    oeldere,

    That is perfect! Thank you so much for your help!

    Kimi

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    Thanks for the reply.

    Glad I could help.

    You can add rep(utations) to the ones who helped you by clicking on the star.

  11. #11
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    Hi Oeldere! Are you able to help me with this excel file again? For some reason, the macro it is not pulling data from all rows (that have data) in all active worksheets into the "Consolidated Sheet". For example, there is data on rows 2-22 on one sheet but the macro didn't pull the data from rows 5-15. One sheet has data only on rows 2 and 3 and they aren't showing on the Consolidated Sheet at all. Can you help me? I am not sure what I need to modify. Thanks!

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    Difficult to say without seeing your file.

    Maybe there are no data in column A?

  13. #13
    Registered User
    Join Date
    09-09-2013
    Location
    Georgia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Copy Data From Every Sheet To A Master Sheet

    Excel Help.xlsm
    oeldere-
    I have attached the file. Everything else (formatting, etc) is just the way I like it except for I can't get the data to refresh in the table. Any suggestions?

    Thank you so much!!

    Kimi

  14. #14
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Data From Every Sheet To A Master Sheet

    You got trouble with the data in the consolidated sheet

    OR

    You got trouble with the pivot table.

    It is not clear to me, (also not with the example you added).

+ 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. copy data from multiple sheet to master sheet with specific columns only
    By sinha.riteshabap in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2013, 06:59 AM
  2. [SOLVED] macro to auto copy data from multiple sheet to one master sheet
    By roger556 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2012, 01:52 AM
  3. Macro to copy data from one sheet to a master sheet with running totals
    By gmi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2012, 10:53 AM
  4. [SOLVED] Search for heading in data sheet and copy range to corresponding sheet in master workbook
    By sans in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-07-2012, 10:02 AM
  5. [SOLVED] How to copy data from master list sheet to another sheet based on category
    By nazrulfadzli in forum Excel General
    Replies: 2
    Last Post: 05-17-2012, 08:19 AM

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