Closed Thread
Results 1 to 16 of 16

VBA / Macro help needed to create summary report from another sheet

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Question VBA / Macro help needed to create summary report from another sheet

    Folks,

    Please help me to create a summary report in sheet called “SUMMARY” from the master sheet “ALL JOBS”.

    I have tried to create the same report by using pivot table option, but its giving lot of troubles since the data volume is huge, data vary all the times and sometimes Columns will come without header.

    Then I have tried the same with COUNTA formula but this time I got another issue i.e. if I add new row data in the master sheet then I need to modify the formula each time.

    I have attached the work book of what I am trying to accomplish.


    Thanks in advance for your time and expertise
    Attached Files Attached Files
    Cheers,

    Joshi
    Being with a winner makes you a winner

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi KR,

    Is it just the two tables ultimately?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi XLAdept,
    Thanks for your reply. There are 3 more table similar to the existing ones. Please note that the row data will vary so each tables to get updated automatically. Please help me.

    Thanks in advance.

    Joshi

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: VBA / Macro help needed to create summary report from another sheet

    Try this
    Please Login or Register  to view this content.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi KR,

    It looks as though Jindon has solved your problem?

  6. #6
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi XLAdept and Jindon,
    Thanks for your reply, time and help. Jindon's code works excellent...! One small issue is the cell's formats getting collapsed while deletion or addition of new row data. Is there any chance to auto adjust the cells format too? And as I said in the previous post, can you please help me to generate two more reports in same sheet. Revised workbook is attached with report details.

    Thanks in advance.

    Joshi
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Bump. .......Folks please help

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi KR,

    I'll look at it tomorrow as it's too late now.

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: VBA / Macro help needed to create summary report from another sheet

    I just don't understand what you are trying to do.

    Wait for someone else.

  10. #10
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Xladept / Jindon,

    Sorry for bothering you both. I have attached the new workbook with more details as advised, this may give you better understanding. kindly lookt at once and please help me to fix these reports.

    Thanks,

    Joshi
    Attached Files Attached Files

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi KR,

    I've sort of adapted Jindon's code but you'll need to run both programs:

    Jintest - virtually Jindon's test code and

    Dontest - my awkward attempt to make things work.

    *The last table doesn't agree with your sample but it jives with the data.

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi Xladept,

    Thank you so much, we almost there. some issues with your code.

    1. When I change the row data in sheet ALL JOBS then re-run the code, the summary is not adjusting the row data. i.e. If I change all the "Main Task Actionee" to "OPD" then I re-run the code, the "Total" is appearing two times.
    2. The Count Calculation is incorrect for Report No. 4
    3. Row header (title) not filling automatically (like "No of Jobs", "Total", etc.)

    Please see the attached workbook for better understanding. Kindly advise and help me please.

    Thank you so much for your time and help.
    Attached Files Attached Files

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA / Macro help needed to create summary report from another sheet

    Hi KR,

    We need to settle on the format and set up of the SUMMARY sheet - I've preserved your formatting by using the set up that you had in the sample prior to this one. And, you need to check your own figures f.r. There are just 4 Field Maintenance entries not 8???

    Thanks for the rep.
    Last edited by xladept; 05-24-2014 at 04:20 PM.

  14. #14
    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
    52,929

    Re: VBA / Macro help needed to create summary report from another sheet

    Joshi, do you still want this thread closed? Seems to me you pretty much have what you want?

    Dear Moderators and Admin,
    Please close this thread as I want to switching overt to our Commercial Service sub forum.

    thanking you.

    Joshi
    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

  15. #15
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA / Macro help needed to create summary report from another sheet

    Ford,

    I will mark this thread as SOLVED, but I am switching over this thread to Commercial forum since I have some additional reports to be generated.

    Thanks for your advise and support for jindon, xladept and ford. Thank you so much once again guys.

    Joshi

  16. #16
    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
    52,929

    Re: VBA / Macro help needed to create summary report from another sheet

    OK then I will close this thread so you can continue in the CS forum

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need a macro to create a summary sheet
    By rgeorge in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 02-07-2014, 12:26 PM
  2. Trying to Create a Summary Report
    By Mcrawiva in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-02-2013, 09:39 PM
  3. From Report sheet to summary to CSV macro
    By jjislas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2013, 12:39 PM
  4. Macro for generating a new Test results summary report sheet
    By aargsr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2011, 05:14 AM
  5. Form Email from Report, Only if Report summary sheet lists Acct for that Sales Rep
    By lukep10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2008, 01:38 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