+ Reply to Thread
Results 1 to 17 of 17

Transferring data from several worksheets to one "summary" worksheet in the same workbook

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Transferring data from several worksheets to one "summary" worksheet in the same workbook

    Hi,

    My company is implementing new pay plans for our employees. I have created a workbook where each employee will have a worksheet that will automatically calculate how much they will be paid for each pay period. However, for internal purposes, we would like to have some of the fields transferred to another "summary" worksheet.

    I have attached a sample. I would like to have the green highlighted portion from each of the worksheets transferred to the worksheet titled "Payroll Sheet".

    I have been reading up on VBA and Macros, but I am not too familiar with it still.

    Could someone please help me with this?

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-08-2013
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    102

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    When you say that you want the green portion of each individual's employee transferred to the summary worksheet, is there a way you want the summary worksheet ("Payroll Sheet") to appear? Do you have a sample non-blank Payroll Sheet that could show us how you would like things to be visually laid out? Knowing the layout would help us to write a VBA procedure that would cycle through all the individual tabs and transfer the green portions to the Payroll Sheet.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    How do you want the data arranged in the "Payroll Sheet." Is it just a copy and paste into the next available row going down the spreadsheet? Help us here.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    I ran the macro below.

    See the attached file.

    Please Login or Register  to view this content.
    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.

  5. #5
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    Pay Plan Template.XLSYes! I am sorry I was not clear. I uploaded a Payroll Sheet that is not blank.

    I would like to have the green box from each worksheet transferred over to the Payroll Sheet. I'd like to have as many fit on one page as possible....

    Thank you! I appreciate your guys' help!

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    What about the solution in #4?
    Last edited by oeldere; 08-28-2013 at 03:10 PM. Reason: changed 3 into 4.

  7. #7
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    would it be possible to have the Consolidation worksheet update automatically when the information in the other worksheets are changed? Would I just run the macro everytime? I am sorry, I am not that familiar with macros so I do not know exactly how it works....

    Thank you!

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    I could add an button to push, to update the data.

    But what are you going to do with the data on the consolidated sheet?

  9. #9
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    I would just use that data to input it into our payroll system.

    Would it be possible for you to walk me through what you did to create the macro? I would like to do it on several other workbooks also.

  10. #10
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    What about the formatting? Is it possible to keep the formatting the same also?

    Thank you in advance for all your help!

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    We can also change the format, but first please respond if the data on the consolidated sheet is the result you want.

    Or you don't want e.g. the values with the totals?

    Please show in an excel file how the sheet consolidated has to look, so you can inport the data into the pay-roll system.

    And did you test the import of data in your pay-roll sysgtem?
    There has to be an format which is neccesary for the import?

    Please reply.

  12. #12
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    Yes, the data on the sheet is what I'd like. However, it's going to change from pay period to pay period. I will need to make a copy of this workbook and change the name every pay period. For example, it would say "Tech Pay 8-15" one pay period. Then for the next payroll, I would make a copy, rename it "Tech Pay 8-31", and update the information with the new data.

    I would like the consolidated sheet to look exactly as it is in the consolidated sheet sans the highlight. Also, there is not a necessity for it to be in a certain format because we are not going to be importing the file, just the information. It's going to be a manual input.

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    Please Login or Register  to view this content.
    1) Where would you add this?

    2) Isn't it possible to import the data; that would be much easier and avoid faillure's.

    3) what is the use of change the format, pure visual ?

  14. #14
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    It would be added to our payroll files on our in house servers. We can't import the data at the moment because we are on a new payroll system that still needs to have to be ironed out before we move onto importing data. Furthermore, a lot of the employees in this department are not very computer literate. That's why the data has to be easy for them to read and so that is why I'd like to keep it in the same format.

  15. #15
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    The names of the sheet will not affect how the code runs. The only thing needs to change is the name of the consolidation(Master) sheet.
    You can add/change the names of the sheet to what ever you like. All you have to do press the button and code does the job for you.

  16. #16
    Registered User
    Join Date
    12-27-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2002
    Posts
    14

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    Thanks! But is there a way to keep the formatting?

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

    Re: Transferring data from several worksheets to one "summary" worksheet in the same workb

    Maybe like this?

    See the attached file.

    I made an button to activate the code.

    Please reply.

+ 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. Run Macros on all except "Summary" and "Reports" worksheets in a workbook
    By daralea in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-10-2013, 05:42 PM
  2. [SOLVED] 2 workbooks transferring cell data from workbook1 to workbook 2 (when cell has "art" in it
    By garfield8626 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2013, 02:36 PM
  3. [SOLVED] Need Macro to compile data from "Weekly" sheets and sum up into "Monthly" summary sheet
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2013, 07:25 PM
  4. [SOLVED] Consolidating "Select Worksheets" in a Workbook into a Consolidated Worksheet
    By tecmkr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2012, 12:53 PM
  5. [SOLVED] Transferring date from multiple worksheets to a "totals" worksheet.
    By tonyDeBrasco in forum Excel General
    Replies: 3
    Last Post: 07-22-2005, 01:05 PM

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