+ Reply to Thread
Results 1 to 4 of 4

Adding extra worksheets and automatically summing their data into a summary sheet.

  1. #1
    Registered User
    Join Date
    02-09-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2007
    Posts
    1

    Adding extra worksheets and automatically summing their data into a summary sheet.

    Dear All,

    I wonder if this is possible. I want to be able to add a new worksheet to a spreadsheet. It will always be the same sheet but will differ from the previous one based on the creation data only. I then want to be able to sum data from cells on all the sheets (old and new) into a cell on a summary sheet. I am wondering if there is a way that the summary sheet can 'spot' the new sheet and automatically pick up the data rather than me having to crack open the formulas on the summary sheet and editing them.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Adding extra worksheets and automatically summing their data into a summary sheet.

    If you make the last sheet in your workbook blank and insert the new sheet before the last sheet, then this would work

    Sum(firstsheet:lastsheet!A1)
    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

  3. #3
    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
    53,048

    Re: Adding extra worksheets and automatically summing their data into a summary sheet.

    if you add a blank worksheet at the start and end of your data sheets, and call them Start and End, then when you enter your calcs, you could just enter =sum('start:End'!C12) or whatever your references are. this way, you can add or remove sheets as needed, and it will add across all the sheets you need it to, and keep the totals as the data sheets change. make sure your "Master" sheet is before the Start sheet though
    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

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

    Re: Adding extra worksheets and automatically summing their data into a summary sheet.

    You get better help if you add an excel file without confidentional information.

    Please also add the desired (expected) result.
    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.

+ 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