+ Reply to Thread
Results 1 to 12 of 12

Macro to create a Summary Sheet matching the Titles

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Macro to create a Summary Sheet matching the Titles

    Hello All,

    I am using Excel 2013 and have many sheets in a Workbook.

    I want to create a Summary Sheets matching the Titles in Row 1.

    Data will start in Row No 1 and across. Max Title would be till Col W as shown on Sheet1.

    First Column will be ITEM and last column will be REMARKS

    I want a VBA code to run on all the sheets in the active workbook and create a Summary sheet as shown in the sample attached.

    The Summary sheet should show all the Titles as per Sheet1

    Blank Cells and 0 should be omitted.
    Thanks in advance.
    Attached Files Attached Files
    Last edited by pnasir; 06-13-2022 at 02:48 PM.

  2. #2
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Macro to create a Summary Sheet matching the Titles

    try this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Re: Macro to create a Summary Sheet matching the Titles

    Dear Dante Amor,
    Please see the output of the macro.

    It fills up only Col A with the Sheet names.

    As mentioned in OP I want the macro to create the Summary Sheet and then transfer the data as was shown in the original sample.

    Thanks for your time

  4. #4
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Macro to create a Summary Sheet matching the Titles

    So you don't have all the titles on the "Summary" sheet?
    I guess none of the sheets contain all the possible titles?
    If not, we have a problem.

    So let's say, if sheet 1 has 2 titles, they go to cells C1 and D1; sheet 2 has 3 different titles than sheet 1, they go to cells E1, F1 and G1 (regardless of the order).
    And in the last column, in this example, in H1 "REMARKS".

    That's right?

    Try this:

    Please Login or Register  to view this content.
    Last edited by Dante Amor; 06-12-2022 at 03:19 PM.

  5. #5
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Re: Macro to create a Summary Sheet matching the Titles

    Hello Dante Amor,
    I made a Summary Sheet and copied all the titles on the Summary Sheet then it gave me the output.
    I will get back to work tomorrow and test it with my actual Data and come back if I have any further issues.

    Thanks for your time and help.

  6. #6
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Macro to create a Summary Sheet matching the Titles

    I added a new macro, in the previous post, it creates the summary sheet with all the titles.

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

    Re: Macro to create a Summary Sheet matching the Titles

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Re: Macro to create a Summary Sheet matching the Titles

    Hello Dante Amor,
    Works great only one thing as mentioned in the OP it should not pull up "zeros".
    If you could amend your code then it would be perfect.
    Thanks once again for your time and help.

  9. #9
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Re: Macro to create a Summary Sheet matching the Titles

    Dear Jindon,

    Works amazingly.
    Thank you so much for your time and help.

  10. #10
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Macro to create a Summary Sheet matching the Titles

    Works great only one thing as mentioned in the OP it should not pull up "zeros".
    If you could amend your code then it would be perfect.
    Sorry for that, I forgot. Try the following:
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    06-21-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    61

    Re: Macro to create a Summary Sheet matching the Titles

    Dear Dante Amor,
    Thanks. Post marked solved. Rep added.

  12. #12
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Macro to create a Summary Sheet matching the Titles

    Glad we could help & thanks for the feedback

+ 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. code to copy first rows and sheet titles from separate csv files into summary sheet
    By freshmint in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-08-2021, 06:10 AM
  2. [SOLVED] Have macro looking at column in summary sheet and matching to data in pivot table
    By sbrandhorst in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2016, 05:30 PM
  3. Want to create a summary sheet with variable number of worksheets in a file
    By alw99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2014, 11:44 PM
  4. [SOLVED] Create Summary Sheet with Macro Button
    By cmn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2014, 11:24 PM
  5. [SOLVED] Simple Macro to Create Summary Sheet
    By CRW in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-16-2014, 03:14 PM
  6. [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
  7. [SOLVED] Need a Simple Macro to Create Summary Sheet
    By CRW in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2012, 06:37 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