+ Reply to Thread
Results 1 to 9 of 9

Summing Accross multiple worksheets

  1. #1
    Registered User
    Join Date
    07-28-2008
    Location
    Chicago
    Posts
    15

    Summing Accross multiple worksheets

    I have three worksheets which I want to sum (on a fourth worksheet). I want to sum for a specific date range (date column) by a specific item (column a,b,c). All four sheets are formated exactly the same.

    Sheet 1, 2,3

    Date A B C
    1/1/2010 100 25 62
    2/1/2010 200 35 72
    3/1/2010 300 45 82

    Sheet 4

    Date A B C
    1/1/2010 ?? ?? ??
    2/1/2010 ?? ?? ??
    3/1/2010 ?? ?? ??

    Thanks,
    Ron
    Last edited by rbiamonte; 06-02-2010 at 05:26 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing Accross multiple worksheets

    =Sumif('Sheet1'!A:A,">="&A1,'Sheet1'!B:B)-Sumif('Sheet1'!A:A,">"&B1,'Sheet1'!B:B)

    this formula sums column B for dates in A that are defined by start/end dates in A & B1, respectively.

    Do the same for all 3 sheets and add together.

    Or you can do your sumif in a specific cell of each sheet.... and then just Sum the cell on each sheet... e.g. =Sum('Sheet1:Sheet3'!X1) where X1 contains sum on each sheet.
    Last edited by NBVC; 06-02-2010 at 01:22 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Summing Accross multiple worksheets

    this should do the trick..

    =SUM(Sheet1:Sheet4!A2:C4)

  4. #4
    Registered User
    Join Date
    07-28-2008
    Location
    Chicago
    Posts
    15

    Re: Summing Accross multiple worksheets

    Quote Originally Posted by NBVC View Post
    =Sumif('Sheet1'!A:A,">="&A1,'Sheet1'!B:B)-Sumif('Sheet1'!A:A,">"&B1,'Sheet1'!B:B)

    this formula sums column B for dates in A that are defined by start/end dates in A & B1, respectively.

    Do the same for all 3 sheets and add together.

    Or you can do your sumif in a specific cell of each sheet.... and then just Sum the cell on each sheet... e.g. =Sum('Sheet1:Sheet3'!X1) where X1 contains sum on each sheet.
    I tried to follow this; however, it did not work. The above formula is only giving me one condition so the amount is not being returned. What I need is if I assign a date then it will pull all the amounts for that date within the three worksheets and sum the amount.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing Accross multiple worksheets

    And you tried day92's answer?

    If so, and not what you want, post an actual sample workbook showing what you need.

  6. #6
    Registered User
    Join Date
    07-28-2008
    Location
    Chicago
    Posts
    15

    Re: Summing Accross multiple worksheets

    Quote Originally Posted by NBVC View Post
    And you tried day92's answer?

    If so, and not what you want, post an actual sample workbook showing what you need.
    Okay here is the sample. I appreciate all of your help.
    Attached Files Attached Files

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing Accross multiple worksheets

    As long as every cell is one to one... so sheet4 would be exact same setup of sheets1 to 3, then in B3 enter:

    =SUM(Sheet1:Sheet3!B3)

    copy it down and across the matrix.

  8. #8
    Registered User
    Join Date
    07-28-2008
    Location
    Chicago
    Posts
    15

    Re: Summing Accross multiple worksheets

    Quote Originally Posted by NBVC View Post
    As long as every cell is one to one... so sheet4 would be exact same setup of sheets1 to 3, then in B3 enter:

    =SUM(Sheet1:Sheet3!B3)

    copy it down and across the matrix.
    Its not the same. What if in worksheet 1,2,3 you have more than one line item with the same date? You can't just sum accross with the above formula. Sheet 4 is not going to be exactly like sheet's 1 thru 3.

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing Accross multiple worksheets

    Then maybe...

    Please Login or Register  to view this content.
    copied across matrix..

    Adjust ranges to suit if you Sheets 1 to 3 might be more rows than the summary.

+ 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