+ Reply to Thread
Results 1 to 6 of 6

Provide total items + amounts when compile data in multiple worksheet + alignment (part 2)

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Provide total items + amounts when compile data in multiple worksheet + alignment (part 2)

    Because the main question is resolved by jaslake, I need to create a new thread because I want to add new things to complete my template.

    Here is the main thread:
    http://www.excelforum.com/excel-prog...worksheet.html

    Previosu working code was:

    Please Login or Register  to view this content.
    It will work with the 3 tabs in the workbook. Now, I am trying to extend it even more. I added 3 extra tabs (Reports 4-5-6). What should I amend to the code so the Report 1-2-3 is one set and Report 4-5-6 is another set?

    Report 1 will have the NET total of Report 1-2-3 (since Reports 2 and 3 is referred to Report 1)
    Report 4 will have the NET Total of Report 4-5-6 (since Reports 5 and 6 is referred to Report 4)

    So, the code for D4 and H5 on both Report 1 and 4 needs to be amended to take effect. In addition, I want the "Total Items:" in E will be aligned to the "Text Right"; the number of item in F will be Text Centered. And one last thing, the number of item in H

    What to amend?

    Thanks

    Reports XYZ (Part 2).xlsm

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Provide total items + amounts when compile data in multiple worksheet + alignment (par

    Hi jamewoong

    Are the ACTUAL Sheet Names "Report 1", "Report 2", "Report 3", "Report 4", etc.?

    Alternately, are the ACTUAL Tabs in sequence of how you wish them grouped ("Report 1", "Report 2", "Report 3") then ("Report 4", "Report 5", "Report 6")?

    Will you be adding additional Worksheets? Will they ALWAYS be in Groups of three? Will they ALWAYS be in sequence?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67
    Quote Originally Posted by jaslake View Post
    Hi jamewoong

    Are the ACTUAL Sheet Names "Report 1", "Report 2", "Report 3", "Report 4", etc.?

    Alternately, are the ACTUAL Tabs in sequence of how you wish them grouped ("Report 1", "Report 2", "Report 3") then ("Report 4", "Report 5", "Report 6")?

    Will you be adding additional Worksheets? Will they ALWAYS be in Groups of three? Will they ALWAYS be in sequence?
    Hi Jaslake,

    These are the real format tab name. Report 1-3 contains data from a particular set ; Report 4-5 from another set which I remove the code since it has no purpose.

    Once data is compiled, it will print page Report 1-3 and pages Report 4-6.

    Only 6 reports, no extra tab will be added.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Provide total items + amounts when compile data in multiple worksheet + alignment (par

    Hi jamewoong

    Try this Code in the attached...
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Re: Provide total items + amounts when compile data in multiple worksheet + alignment (par

    Thanks jaslake! I tried to amend it yesterday without success. Now checking your code, I get a better knowledge because I need to assign the variable "i" from 1 to 3 ; and 4 to 6...

    Just learn something! Thanks! :D

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Provide total items + amounts when compile data in multiple worksheet + alignment (par

    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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] Provide total items + amounts when compile data in multiple worksheet
    By jamewoong in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-29-2015, 05:53 PM
  2. Replies: 1
    Last Post: 08-15-2013, 02:15 PM
  3. Replies: 6
    Last Post: 05-30-2012, 11:24 AM
  4. Reading multiple lines in a VLOOKUP to provide a total?
    By Injury Finger in forum Excel General
    Replies: 4
    Last Post: 03-22-2010, 11:17 AM
  5. compile data from multiple worksheets into one worksheet
    By wtuttle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2009, 10:25 AM
  6. [SOLVED] Having a formula provide a running total from multiple worksheets
    By sisko101 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2006, 05:06 PM
  7. [SOLVED] Having a formula provide a running total from multiple worksheets
    By sisko101 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-07-2006, 05:00 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