+ Reply to Thread
Results 1 to 5 of 5

How do I convert some data in the row to columns?

  1. #1
    Registered User
    Join Date
    08-15-2005
    Posts
    3

    Question How do I convert some data in the row to columns?

    I have an issue that I need to resolve.
    I'm currently getting data in a row format, but I need to convert some of the data into columns, for importing into Access.
    For example......

    Item Description Jan 05 Feb 05 Mar 05 Apr 05 ...........
    ABC123 Widget A 100 250 175 210 ............
    XYZ123 Widget B 50 75 100 76 ............

    To convert to........


    Column1 Column2 Column3 Column4
    Item Description Date Qty
    ABC123 Widget A Jan 05 100
    ABC123 Widget A Feb 05 250
    ABC123 Widget A Mar 05 175
    ABC123 Widget A Apr 05 210
    : : : :
    : : : :
    XYZ123 Widget B Jan 05 50
    XYZ123 Widget B Feb 05 75
    XYZ123 Widget B Mar 05 100
    XYZ123 Widget B Apr 05 76
    : : : :
    : : : :

    All data is in individual cells.

    Can anyone help?

    Thanks.

    Colin.

  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by Colin T
    I have an issue that I need to resolve.
    I'm currently getting data in a row format, but I need to convert some of the data into columns, for importing into Access.
    For example......

    Item Description Jan 05 Feb 05 Mar 05 Apr 05 ...........
    ABC123 Widget A 100 250 175 210 ............
    XYZ123 Widget B 50 75 100 76 ............

    To convert to........


    Column1 Column2 Column3 Column4
    Item Description Date Qty
    ABC123 Widget A Jan 05 100
    ABC123 Widget A Feb 05 250
    ABC123 Widget A Mar 05 175
    ABC123 Widget A Apr 05 210
    : : : :
    : : : :
    XYZ123 Widget B Jan 05 50
    XYZ123 Widget B Feb 05 75
    XYZ123 Widget B Mar 05 100
    XYZ123 Widget B Apr 05 76
    : : : :
    : : : :

    All data is in individual cells.

    Can anyone help?

    Thanks.

    Colin.
    Hi Colin

    Highlight the data you want to copy from rows to columns and then Edit > Copy, click in the first cell (cannot be the same as the cells you have copied) where you want the columns and Edit > Paste Special and check the transpose box and clicjk OK

    Hope this helps

    Paul

  3. #3
    Registered User
    Join Date
    08-15-2005
    Posts
    3
    Thanks for the response.

    However, I need to find some way of automating the process, that will also duplicate the data in the first columns, in line with the data that is transposed from the row to the column.

    Regards,

    Colin.

  4. #4
    Mike
    Guest

    Re: How do I convert some data in the row to columns?

    Have worksheet 1 be the one where you paste in new data.
    Worksheet 2 is where you reference cells on worksheet 1. It would be a
    template of the form that you want to see.

    "Colin T" wrote:

    >
    > Thanks for the response.
    >
    > However, I need to find some way of automating the process, that will
    > also duplicate the data in the first columns, in line with the data
    > that is transposed from the row to the column.
    >
    > Regards,
    >
    > Colin.
    >
    >
    > --
    > Colin T
    > ------------------------------------------------------------------------
    > Colin T's Profile: http://www.excelforum.com/member.php...o&userid=26294
    > View this thread: http://www.excelforum.com/showthread...hreadid=395758
    >
    >


  5. #5
    Jim May
    Guest

    Re: How do I convert some data in the row to columns?

    Colin:
    I wrote the VBA code to perform your needed work.
    Send me your e-mail address and I will send it
    to you;
    Jim May


    "Colin T" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the response.
    >
    > However, I need to find some way of automating the process, that will
    > also duplicate the data in the first columns, in line with the data
    > that is transposed from the row to the column.
    >
    > Regards,
    >
    > Colin.
    >
    >
    > --
    > Colin T
    > ------------------------------------------------------------------------
    > Colin T's Profile:
    > http://www.excelforum.com/member.php...o&userid=26294
    > View this thread: http://www.excelforum.com/showthread...hreadid=395758
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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