Results 1 to 18 of 18

Data Layout Conversion (Advanced Rows to Column ?)

Threaded View

  1. #1
    Registered User
    Join Date
    11-10-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    13

    Question Data Layout Conversion (Advanced Rows to Column ?)

    Hi,

    I have a large CSV (comma delimited) which has data laid out in rows and each row contains about 10,000 separate inputs. This data is an output from a Simulink Simulation where variables have been saved on to the workspace saved as a .mat file then converted into csv (using a tool my colleague wrote). This tool was a modification from a script provided by mathworks therefore quite complex to modify to save the data in the format I need.

    Ive attached a spreadsheet with this post which contains the format the data currently is (input) and the format I need it to be in (output). As its an output from simulink some data are multidimensional arrays therefore not all the data can be converted straight from rows to columns. I have used the "Paste Special" and transposed the data for now, but I will need to do this repeatedly therefore looking for a better solution i.e. a vbscript that can do this for me.

    Any advice/solution would be appreciated.

    Thanks.

    Edit: Forgot to mention, the data might always not be in the same format. For e.g. sometimes the data might just be in the following format without any multidimensional arrays..
    Header 1
    1,2,3,4,5...
    Header 2
    3,4,5,6,7..
    Header 3.. and so on.
    Attached Files Attached Files
    Last edited by bibekpd; 10-10-2015 at 01:37 PM. Reason: Further Info.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Conversion of Set of Rows ro Column in new sheet.
    By apowale in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2013, 07:40 AM
  2. Data layout between row and column
    By scottb in forum Excel General
    Replies: 3
    Last Post: 12-07-2010, 12:01 AM
  3. Convert data from column layout to row layout
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2010, 03:28 PM
  4. layout the column from data
    By eb316 in forum Excel General
    Replies: 9
    Last Post: 09-17-2009, 03:03 PM
  5. Auto Layout Of Data In Column
    By ethanjames in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-28-2009, 09:32 PM
  6. Advanced Filter to return Rows w/blank column
    By ChemistB in forum Excel General
    Replies: 3
    Last Post: 04-01-2009, 01:14 PM
  7. data conversion to rows
    By anandapani in forum Excel General
    Replies: 1
    Last Post: 12-15-2008, 04: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