+ Reply to Thread
Results 1 to 7 of 7

Create A Summary sheet from variable worksheets

  1. #1
    Registered User
    Join Date
    10-05-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Create A Summary sheet from variable worksheets

    Hi,

    I need help with a macro for creating a summary sheet with variable work sheets in a workbook. The number of sheets will vary for each workbook. So, I would like to use this macro to create summary sheets for various workbooks. I completed the macro and everything is working fine except a minor issue. I also need to create a auto sum of rows in the summary sheet. I have attached the example worksheet to this thread. As the rows in the summary sheet would depend on the no. of work sheets, I need dynamic auto sum function and I am having hard time to sum the rows (the yellow shaded cells). Any help is greatly appreciated.

    Thanks
    Kish
    Attached Files Attached Files

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Create A Summary sheet from variable worksheets

    I added some code to put the sum formula in your highlighted area.
    Good Luck!!!
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-05-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Create A Summary sheet from variable worksheets

    Thanks for the code Skywriter. I apologize for my late reply. The code is working fine but the sum formula is always displayed in the row "H". If I add another two or three sheets then the sum formula doesn't work. I wanted the sum function to be dynamic with the sheet numbers. Example: If there are 8 sheets then the sum formula should be pasted on "J" column and sum columns "C" to "I". Your help is greatly appreciated.

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Create A Summary sheet from variable worksheets

    I just gave you what it looked like you wanted. I can't tell by your code what you are trying to do and the data you are using on each sheet is the same, so It's a little confusing. I don't really want to study your code trying to figure out what you are doing. If you want to explain in detail what it is your code is doing and what it is you want, then I'd be more than happy to help you.

    Quote Originally Posted by kammariarun View Post
    Thanks for the code Skywriter. I apologize for my late reply. The code is working fine but the sum formula is always displayed in the row "H". If I add another two or three sheets then the sum formula doesn't work. I wanted the sum function to be dynamic with the sheet numbers. Example: If there are 8 sheets then the sum formula should be pasted on "J" column and sum columns "C" to "I". Your help is greatly appreciated.

  5. #5
    Registered User
    Join Date
    10-05-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Create A Summary sheet from variable worksheets

    Thanks again for the reply. Actually, I slightly modified your code to do what I need. Thanks for your help on this. Have a great day!
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-05-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Create A Summary sheet from variable worksheets

    I am having a hard time to find "SOLVED" for the thread. Anyway, thanks for your again.

  7. #7
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: Create A Summary sheet from variable worksheets

    Go up to the top where there's a drop down list that says "Thread Tools", it's just above your first post.
    Quote Originally Posted by kammariarun View Post
    I am having a hard time to find "SOLVED" for the thread. Anyway, thanks for your again.

+ 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. Extract data from worksheets to create a summary sheet
    By sniffer in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-28-2013, 07:17 PM
  2. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  3. need to create a summary sheet based on variable data
    By Binns105 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2012, 11:02 AM
  4. Summary sheet to create multiple worksheets
    By originata in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2012, 05:42 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