+ Reply to Thread
Results 1 to 14 of 14

SUM all totals into 1 cell

  1. #1
    Registered User
    Join Date
    04-10-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    MAC 2011 Home & Student
    Posts
    8

    Question SUM all totals into 1 cell

    Hi All,

    I'm just having a bit of an issue with the attached workbook.

    I have to total 2 cells from all 135 stores into the Pallets Out cell. I've been using the code that is in there currently, however when I go to add more stores it is constantly erroring. Could it be that there is a limit?

    Any ideas on how to get past this error?DULUX PALLETS FY2015(1).xlsm

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    check this Excel specifications and limits

  3. #3
    Registered User
    Join Date
    04-10-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    MAC 2011 Home & Student
    Posts
    8

    Re: SUM all totals into 1 cell

    Any idea on a different formula I could use for all sheets to gain the total?

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    probably shorter names of tabs
    Last edited by sandy666; 04-12-2015 at 01:21 AM.

  5. #5
    Registered User
    Join Date
    04-10-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    MAC 2011 Home & Student
    Posts
    8

    Re: SUM all totals into 1 cell

    How do you mean?

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    your SUM(...) has 3250 characters, maybe a little shorter will work
    and 128 arguments

  7. #7
    Registered User
    Join Date
    04-10-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    MAC 2011 Home & Student
    Posts
    8

    Re: SUM all totals into 1 cell

    could you suggest a formula to go in there?

    I need the total of those 2 cells for all 135 stores (135 sheets)

  8. #8
    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: SUM all totals into 1 cell

    Quote Originally Posted by TiffanyPatriots17 View Post
    How do you mean?
    They mean you should consider shortening the sheet names.

    but wow, 125 sheets - really? They all appear identical, apart from the name and values - why not combine them onto 1 sheet

    What determines which sheets get included and which dont - or are you trying to include them all?

    If you want all, try this trick...
    =SUM('PRO PAINT N PANEL:STRATCO ST AGNES'!D41,'PRO PAINT N PANEL:STRATCO ST AGNES'!F41)

    edit: you said 135, I get 125?
    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

  9. #9
    Registered User
    Join Date
    04-10-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    MAC 2011 Home & Student
    Posts
    8

    Re: SUM all totals into 1 cell

    Thanks Ford. I can't really shorten the names to much but understand that unfortunately they are long. I will definitely try what you said. I can't combine them into one sheet, as we need to see each store individually.

    I could be wrong about 135 I knew there was a 1 and a 5, but after staring at this sheet for the amount of hours I have, you tend to lose track.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    sum(first name of sheet:last name of sheet!D41)+sum(first name of sheet:last name of sheet!F41)

    something like: SUM(sheet1:Sheet100!D41)+SUM(sheet1:Sheet100!F41)

  11. #11
    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: SUM all totals into 1 cell

    Your list on sheet Store Names is 125, and when I extracted the sheet names myself, I got 125 as well

    My suggested formula gives a total of 509 and 946 with -437 and 1.858

    edit: @ Sandy, isnt that what I just said...without the need for the +sum part?

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    Ford, I keep thread open without refreshing, so I couldn't see yours answer

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUM all totals into 1 cell

    btw, on TOTAL in C14 you've =SUM(C10-C12), enough =c10-c12, and C16: =SUM(C12:C12)/SUM(C10:C10), enough c12/c10
    but I can be wrong

  14. #14
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,953

    Re: SUM all totals into 1 cell

    Please Login or Register  to view this content.
    Ben Van Johnson

+ 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. [SOLVED] How to get cumulative totals from weekly totals (IE sum of all previous cells)?
    By moeburn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-08-2013, 07:29 PM
  2. [SOLVED] running totals in Pivot Table - removing a user from the totals for the current week
    By eisenbergg in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 09-08-2013, 04:39 PM
  3. [SOLVED] How do I group daily totals into weekly/monthly/quarterly totals
    By situationroom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2013, 09:58 AM
  4. Method for calculating Invoice Totals and Grand totals
    By sahran4441 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2010, 10:24 PM
  5. Replies: 4
    Last Post: 01-10-2008, 12:31 PM

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