+ Reply to Thread
Results 1 to 8 of 8

Transform sum table

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    All over the world
    MS-Off Ver
    Excel 2013
    Posts
    11

    Transform sum table

    Hi
    What is the best way to do the following with VBA:
    I have this table:
    Please Login or Register  to view this content.
    And I need to transform it to:
    Please Login or Register  to view this content.
    Note. I have a lot of companies, and this macro has to be run a log of times, so speed is an issue.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transform sum table

    It can be done. Please attach a sample. Go to advance then attachment

  3. #3
    Registered User
    Join Date
    07-20-2012
    Location
    All over the world
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Transform sum table

    Transform sum table.xlsx

    I can only attach this file, since the original is confidential.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transform sum table

    Try attached. Button on sheet1
    Attached Files Attached Files
    Last edited by AB33; 04-09-2013 at 09:50 AM.

  5. #5
    Registered User
    Join Date
    07-20-2012
    Location
    All over the world
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Transform sum table

    Quote Originally Posted by AB33 View Post
    Try attached
    Wow!
    This is awesome, and I can add companies and months !!

    Thank you!

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transform sum table

    Martin,
    You can add as much data input as you like, as long as the output remains on three columns. Beware also, I used a current region, so you should not have entire row or column blank in your raw data

  7. #7
    Registered User
    Join Date
    07-20-2012
    Location
    All over the world
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Transform sum table

    Quote Originally Posted by AB33 View Post
    Martin,
    You can add as much data input as you like, as long as the output remains on three columns. Beware also, I used a current region, so you should not have entire row or column blank in your raw data
    Ok, cool

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transform sum table

    Martin,
    Could you please now close (Mark) this thread as solved? Go in to the top right-hand side of this page, choose "Thread Tools" from the menu, then select "solved" from the drop down menu.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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