+ Reply to Thread
Results 1 to 11 of 11

Creating Summary Sheet on Unique items (multiple columns) using VBA

  1. #1
    Registered User
    Join Date
    04-30-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    38

    Creating Summary Sheet on Unique items (multiple columns) using VBA

    i have a workbook with a lot of data that i wish to summarize so that i can use it else were as a summary sheet. How to do get a summary automatically calculated on unique items only

    i have attached a test workbook for your help

    The detail sheet is the details and then the summary sheet is the result i would like to get automatically not using any formula.
    Attached Files Attached Files

  2. #2
    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,939

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    which column do you want to use for the unique data? (Im thinking D - Iten Number?)
    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

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

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

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

  4. #4
    Registered User
    Join Date
    04-30-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    if i need to add additional columns what areas should i look at to modify. So far it works great no i am trying to incorporate it into a bigger file I modifiy everything to work ok however the summary is not pulling in.

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

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    What do you mean by "add additional columns"?

  6. #6
    Registered User
    Join Date
    04-30-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    for example if i want to expand the array what areas i need to modify to do so. I understood the column to change the date and what to return however i am having an issue with the summary area jan-dec. everything else is working where i modify it except that area.

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

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    It's fully depends on your sheet layouts, due to the difference between data sheet and the summary sheet.

    The summary sheet has less columns. So need to see Exact sheet layouts.

  8. #8
    Registered User
    Join Date
    04-30-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    Please find extract with additional columns. Thank you so much for your help

    TESTING3.zip

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

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    try
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    04-30-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    Thank you for the code, the sumCol seemst to be looping from v to the end of the columns. Also instead of adding a sheet can this run as an update to a defined sheet, select sheet, clearcontents and update?

    Thanks again i really do like the array concept it runs pretty quickly and does to grow my workbook.

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

    Re: Creating Summary Sheet on Unique items (multiple columns) using VBA

    Change
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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