+ Reply to Thread
Results 1 to 3 of 3

Changing structure of data

  1. #1
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    181

    Changing structure of data

    Hi All,

    I am trying to change the structure of some information. I basically have 2 fields 'Questions' (Vertical axis) and 'Structures' (Horizontal axis). There are 4 questions (A-D) , and there are 4 structures (1-4).

    On sheet 1 there is a table that has each question once (Vertical axis) and each structure once (Horizontal axis). But what I want to do is change the structure so each question is reported vertically and repeated by the number of structures i.e. question A, 4 times (vertically) with the structure reported in the next column (vertically) on sheet 2.

    I have tried various things by using loops, offset and count to get this to work but I am new to VBA and still no luck. Please find an example attached.

    Any help would be greatly appreciated.


    Regards,

    Forrestgump
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Changing structure of data

    This works for your example:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    181

    Re: Changing structure of data

    Wow! thank you so much. This looks a bit beyond my current capabilites but hopefully I will get there. Just done a basic VBA course and Intermediate, advanced to come. It works thats for sure. I will try and work out how this weeked. Thanks for your 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. Creating a Pyramid Hierarchy structure from a flat structure
    By thegamerulez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 01:28 AM
  2. Replies: 4
    Last Post: 12-12-2013, 09:49 AM
  3. CHeck boxes structure is changing when grouped into rows
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2013, 07:56 PM
  4. Cell style - changing ribbon structure
    By zlodiej in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2013, 02:17 PM
  5. "convert" data with logfile structure to spreadsheet structure
    By boarders paradise in forum Excel General
    Replies: 7
    Last Post: 01-10-2011, 02:06 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