+ Reply to Thread
Results 1 to 4 of 4

Macro to Reformat/transpose data into table style

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    london
    MS-Off Ver
    Excel 2016
    Posts
    83

    Macro to Reformat/transpose data into table style

    Hi All


    the attached file contains 2 tabs

    1. assumptions

    The user will populate the data in the yellow area, please take into account that the number of rows will increase substantially

    2. final_results

    the macro needs to take the data from tab assumptions and combine it in order to create the data shown in tab "final_results"


    thanks in advance

    Anthony
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to Reformat/transpose data into table style

    This is trivial with Power Query - just format your input range as a table, then:

    Please Login or Register  to view this content.
    I presume, as you posted a .xlsx file, that your Excel version is later than 2003, which your profile states...
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    03-07-2014
    Location
    london
    MS-Off Ver
    Excel 2016
    Posts
    83

    Re: Macro to Reformat/transpose data into table style

    thanks Olly, unfortunately the user is not very familiar with power query, can you solve it with Vba as requested?

    many thanks

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to Reformat/transpose data into table style

    Why would you want to? Pop the power query in the workbook, then the user only has to hit a refresh button after entering data. They needn't even know that it's power query, rather than vba. It is much simpler and faster!

+ 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. [SOLVED] Macro to transpose into database-style table?
    By Apexeon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-27-2016, 11:49 PM
  2. [SOLVED] Transform Data From Pivot Style to a Table Style
    By The_Snook in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-18-2016, 04:13 AM
  3. reformat possibly transpose
    By nitroX in forum Excel General
    Replies: 5
    Last Post: 07-17-2015, 08:09 PM
  4. Macro to reformat data in horizontal format to a proper Data table
    By dkrishman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2015, 10:37 AM
  5. Need a macro that will disassemble a table and reformat it for upload
    By banditeb in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-27-2014, 12:53 PM
  6. [SOLVED] Need to Transpose and Flip Table of Data - Macro Probably Needed
    By BobTomlinson in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2013, 09:25 AM
  7. Macro to reformat data in horizontal format to a proper Data table
    By hkaushal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2013, 08:47 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