+ Reply to Thread
Results 1 to 7 of 7

Auto sum different worksheets in workbook

  1. #1
    Registered User
    Join Date
    02-10-2009
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Auto sum different worksheets in workbook

    Hi All,

    Creating a stats program and I want the first weeksheet (i.e the first tab) to be a summary of all worksheets in workbook. With your help here already (Thanks heaps) I have completed the week to week data worksheet and saved as a template. I would now like to auto sum the same cells everytime I create a new templated worksheet to the first worksheet easily.

    Is this possible? And How?

    Thanks again in advance...you guys rock!!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Auto sum different worksheets in workbook

    I'm assuming given the sheets are templates they all have identical layouts and you are summing identical cells across all sheets... eg:

    =SUM(Week1:Week10!A1)

    If you want to adapt the above such that if Week11 is added it is included in the Sum the simplest method is to insert 2 new sheets into your file:

    START
    END

    Insert START before Week1
    Insert END after Week10

    When you insert Week11 you simply insert between Week10 & END sheets... you can then adopt:

    =SUM(Start:End!A1)

    As you insert new sheets the above will encapsulate the new values automatically.

    Does that help ?

  3. #3
    Registered User
    Join Date
    02-10-2009
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Talking Re: Auto sum different worksheets in workbook

    Donkey - Thanks a million, problem solved

    Once again, you guys rock!

  4. #4
    Registered User
    Join Date
    02-10-2009
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Auto sum different worksheets in workbook

    Actually after playing I have found another issue, donkey you are right the data appears in the same cell in all worksheets due to the template created. I now want to chart a cell in seperate workbooks & keep getting "not in range" errors.

    Can anyone help??

  5. #5
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432

    Re: Auto sum different worksheets in workbook

    Hi nigel_p,

    What exactly do you mean by chart a cell?? sorry if im being thick. however if you are trying to link two seperate workbooks together then you need to include the workbook name in the forumla, like so:

    =[Book1.xls]Sheet1!$B$5

    This is just a basic example of getting the value from cell A1 from a workbook called Book1.

    if the work book is not open in the same instance of excel then you need to specify the file directory as shown below:

    ='C:\MyFile\[Book1.xls]Sheet1'!$B$5

    Hope this helps,
    There are only 10 types of people in the world:
    Those who understand binary, and those who don't!

  6. #6
    Registered User
    Join Date
    02-10-2009
    Location
    Sunshine Coast, Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Auto sum different worksheets in workbook

    Thanks Stuie,

    Actually my bad for not explaining well enough.

    What I am trying to do is track the performance of one stat which appears at the same place on multiple worksheets within the same workbook. I know that I should be able to hold CTRL and click on the cell in the different worksheets, but I keep on getting error message (reference is not valid).

    Cheers...

  7. #7
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432

    Re: Auto sum different worksheets in workbook

    Im not to sure why your getting the error unless something in the forumla is mispelt.

    can you paste an example of the forumla??

+ 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