Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Table / Matrix Manipulation Help

  • 02-03-2006 12:18pm
    #1
    Registered Users, Registered Users 2 Posts: 7,482 ✭✭✭


    I have a large number of tables with the format of four rows and a variable number of columns.

    I want to convert them so that I have four columns (tab delimited) instead.

    ie the original table:

    1 a b c d
    2 e f g h
    3 i j k l
    4 m n o p

    to

    1 2 3 4
    a e i m
    b f j n
    c g k o
    d h l p

    Previously I was retyping them, but the numbers are increasing and its becoming quite laborious - so can someone help me with a program or a script or something that will do this automatically for me?

    Thanks,
    RE*AC*TOR


Comments

  • Registered Users, Registered Users 2 Posts: 7,541 ✭✭✭irlrobins


    well not sure what original format of data is in, but assuming you can view in Excel:

    1) Select data, then copy it (ctrl +c)
    2) Select cell to serve as upper left corner of revised table.
    3) Right click, Paste Special. Choose "All" and tick "Transpose"

    Should do the trick.

    R


  • Registered Users, Registered Users 2 Posts: 7,482 ✭✭✭RE*AC*TOR


    that'll do nicely.

    thanks.


Advertisement