+ Reply to Thread
Results 1 to 9 of 9

Macro to create 3 Summary Sheets from a Data Sheet

  1. #1
    Forum Contributor
    Join Date
    12-26-2015
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    128

    Macro to create 3 Summary Sheets from a Data Sheet

    Dear All,

    I am using Excel 2013

    I have attached a sample of my Data Sheet

    I need to have a macro which will create three new Sheets viz FLRS, CLS and PTR from the Data Sheet as shown in the Sample

    On Data Sheet Col E should be filtered.
    When Col E is filtered then Col C will have various values out of which I need to have the following only on the 3 newly created sheets by the Macro
    FLRS values will go on FLRS sheet, CLS will go on CLS Sheet and PTR should go PTR Sheet

    From Col C FLRS, CLS and PTR and corresponding values in the same row from Col F and Col G

    Hope this is clear
    I have colored the cells for better explanation purpose only
    TIA
    Rehana Khan
    Attached Files Attached Files
    Last edited by rehana402003; 02-22-2019 at 06:26 AM. Reason: SOLVED

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

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-26-2015
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    128

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Thanks Jindon,
    Please see the output of the code
    Kindly refer to the OP Data sheet where I had mentioned that if the values of Col A and Col B are same than the value of Col B should show only once.

    Please see my comment on the attached sample on FLRS and PTR sheets

    Secondly is it possible to have the output sheet in the alphabetical order when Col C is filtered, and have all the summary sheets to have column D with Number formatting with 2 decimal places and Autofit to Column width

    Thanks once again

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

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Replace
    Please Login or Register  to view this content.
    With
    Please Login or Register  to view this content.
    Last edited by jindon; 02-21-2019 at 10:17 AM.

  5. #5
    Forum Contributor
    Join Date
    12-26-2015
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    128

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Dear Jindon,
    The problem of Col A and Col B is solved by the amended code

    Would you please see into the following:
    • Output sheet to come in the alphabetical order as per Col E filtered values, now the output sheete is taking the values filtered as per Col C.
    • All sheets created by the macro to have column D with Number formatting with 2 decimal places eg: #,##0.00
    • All sheets to be Autofit as per Column width

    Thanks once again for all your time and help

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

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Quote Originally Posted by rehana402003 View Post

    Would you please see into the following:
    • Output sheet to come in the alphabetical order as per Col E filtered values, now the output sheete is taking the values filtered as per Col C.
    I don't understand the above.

    Quote Originally Posted by rehana402003 View Post
    • All sheets created by the macro to have column D with Number formatting with 2 decimal places eg: #,##0.00
    The data is copied from the "Data" sheet, so just change the cell format in "Data" sheet as you want.
    Quote Originally Posted by rehana402003 View Post
    • All sheets to be Autofit as per Column width
    Just add one line in bold
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    12-26-2015
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    128

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Dear Jindon,

    Please see the new sample to explain the filtering of Col E and Col C

    Thanks for your time and help
    Attached Files Attached Files

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

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    12-26-2015
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    128

    Re: Macro to create 3 Summary Sheets from a Data Sheet

    Thanks a Ton Jindon
    You are a star
    Post marked SOLVED
    Once again thanks for all your support and help

+ 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. VBA to Create a Roll Up Summary Sheet for multiple sheets with variable amounts of data
    By steelersdmw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2016, 02:56 PM
  2. Create Summary data sheet from multiple sheets
    By lkeatley in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-21-2015, 05:28 PM
  3. Replies: 2
    Last Post: 10-08-2013, 02:58 PM
  4. Macro to PRIORITISE and CONSOLIDATE data across different sheets into summary sheet
    By JamesGoulding85 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2013, 07:49 AM
  5. 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
  6. Summing data across excell sheets in a summary sheet using macro
    By satishsahoo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2011, 08:27 AM
  7. Macro to list data from several sheets in summary sheet
    By thunderstorm77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2011, 11:58 AM

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