+ Reply to Thread
Results 1 to 8 of 8

Merging data

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    31

    Merging data

    I have a spreadsheet I use at work with a different worksheet for each day displaying what the staff have achieved and a sheet for a weekly total, bearing in mind that the staff can vary from day to day.
    How can I merge the data from all the other sheets in to the weekly total sheet to show the total productivity for that week?

    Here is a simple example of what I am trying to achieve..

    help.jpg

    And here is the file..

    help.xls


    Cheers guys!

    (Apologies for posting this already in someone else's thread)

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Merging data

    Thanks for starting a new thread Dean

    before I even try to answer this 1, is it really necessary to have (potentially) 365 different worksheets?

    I would suggest that you re-think the layout of your data so that you can enter all data into 1 worksheet, and then have a 2nd sheet with your summary on it.

    If you ask any of the experts here, they will agree that in almost every case, it is better to have 1 sheet as a data entry sheet, and another sheet (or sheets) for summaries etc
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merging data

    the formula is sumif(). You need a sumif() for every day of the week.I included a checksum in B11 of Weekly Total to ensure everybody was accounted for.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Merging data

    @ rcm sumif() will not pull in any new names, and having potentially 365 "plus'd" sumif() would be impractical

  5. #5
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merging data

    OK fdibbins I will wait for the right help and learn

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merging data

    I wrote the macro to populate weektotals
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-24-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Merging data

    That is just what I was looking for. Cheers mate Hopefully I will be able to apply what I have learned to the real spreadsheet when I get to work.

  8. #8
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Merging data

    glad to hear that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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