+ Reply to Thread
Results 1 to 8 of 8

Creating A Sum of Tables from Multiple Sheets

  1. #1
    Registered User
    Join Date
    01-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    10

    Creating A Sum of Tables from Multiple Sheets

    Hello I have 1000+ spreadsheets in a single excel file, and each sheet has a numerical table of 71R x 301C. I have to sum all these tables into one table (just like basic matrix summation) and wondering whether there's a macro for this. I have searched the net for a while, but couldn't find one.

    Thanks in advance,
    Al

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Creating A Sum of Tables from Multiple Sheets

    what is the start and end range to sum?

  3. #3
    Registered User
    Join Date
    01-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Creating A Sum of Tables from Multiple Sheets

    Range is A1:KO71

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Sum all sheets

    This seems to work, it took about a second with 375 sheets, just having 1's and 2's in the cells.
    I am not sure how big your value will end up being.
    Change you destination sheet in the code.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Creating A Sum of Tables from Multiple Sheets

    Thank you very much for the code bu maybe I did something wrong, but Excel gave me a single output value, I need to create the output as a matrix with same size (71x301).

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Creating A Sum of Tables from Multiple Sheets

    Quote Originally Posted by Sickgeist View Post
    Thank you very much for the code bu maybe I did something wrong, but Excel gave me a single output value, I need to create the output as a matrix with same size (71x301).
    Darn it, I was stuck in one direction.
    I will be back later.

  7. #7
    Registered User
    Join Date
    01-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Creating A Sum of Tables from Multiple Sheets

    Thanks for your effort once again, I pretty suck with macros

  8. #8
    Registered User
    Join Date
    01-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Creating A Sum of Tables from Multiple Sheets

    Ah at last I've found an easy way, =SUM('*'!A1) gives everything I need.

+ 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