+ Reply to Thread
Results 1 to 5 of 5

VBA Code to Re-organise Transposed Data ?

  1. #1
    Registered User
    Join Date
    06-09-2015
    Location
    Perth, Australia
    MS-Off Ver
    2013
    Posts
    52

    VBA Code to Re-organise Transposed Data ?

    I have transposed a sample set of ROW Data to COL Data:

    FROM:

    column.jpg

    TO:

    ROWS.jpg

    I now want to re-organise the transposed COL Data to format below:

    cat.jpg

    Anyone care to share VBA Code to re-organise the data as shown in screenshot above ?

    Below the aesthetic points to "factor" into the code:

    1. Col Data D-F (3 Cols) should start from ROW #6, Col Data G-I (3 Cols) should start from ROW #11 and so on...
    2. Create Blank Col on Col B & Col D - shown by Yellow Tint on screenshot
    3. Create successive Blank Rows on 5, 10, 15, etc,etc.. - shown by Yellow Tint on screenshot

    Real sample data is about 17K+ of Col Data, so it's quite a challenging VBA code to write.

    In short: i want a max of 3 Cols of Data on worksheet page, with next 3 to start from another ROW, separated by Blank Row & so on.

    ** Once the data is re-organised in the desired format, i will manually re-size the Col & Row width.

    Thanks in Advance.
    Attached Images Attached Images
    Last edited by mave27; 10-02-2015 at 05:42 AM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: VBA Code to Re-organise Transposed Data ?

    This is assuming your transposed data starts at A1, the re-organized data will start at A6
    try:
    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    06-09-2015
    Location
    Perth, Australia
    MS-Off Ver
    2013
    Posts
    52

    Re: VBA Code to Re-organise Transposed Data ?

    Quote Originally Posted by millz View Post
    This is assuming your transposed data starts at A1, the re-organized data will start at A6
    try:
    Please Login or Register  to view this content.
    Great - code has done exactly that !!

    Do you mind modifying the code to output the Result on a New worksheet ?
    Last edited by mave27; 10-02-2015 at 05:51 AM.

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: VBA Code to Re-organise Transposed Data ?

    Try this, I did not test it though:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-09-2015
    Location
    Perth, Australia
    MS-Off Ver
    2013
    Posts
    52

    Re: VBA Code to Re-organise Transposed Data ?

    Thanks - Works fine !!

+ 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. How to organise data for my graph
    By Angel_fohls in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-04-2015, 04:49 AM
  2. Need help on linking/organise data userform
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2014, 05:41 PM
  3. how to use vba to organise and select data
    By comp23 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-05-2012, 11:42 AM
  4. Help with function to organise some data
    By Snowtoad in forum Excel General
    Replies: 6
    Last Post: 12-14-2011, 08:36 PM
  5. Transfer and Organise Data
    By Sam J in forum Excel General
    Replies: 1
    Last Post: 09-25-2011, 09:54 AM
  6. Summary Sheet and Organise Data
    By nananininoonoo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-30-2008, 06:52 PM
  7. Organise data
    By micko_escalade in forum Excel General
    Replies: 6
    Last Post: 03-24-2007, 04:09 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