+ Reply to Thread
Results 1 to 5 of 5

Need help with transposing columns to rows

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Brookhaven, PA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Post Need help with transposing columns to rows

    Hi,
    I am trying to get a marco to work to convert these two columns to rows.
    Material code AU
    WARD470091-652 KT
    WARD470091-652 ST
    WARD470102-264 EA
    WARD470102-264 KT
    WARD470102-264 ST
    WARD470106-814 EA
    WARD470106-814 KT
    WARD470106-814 ST
    WARD470124-494 EA
    WARD470124-494 ST
    WARD470124-496 EA
    I need the first column grouped by Materical Code and the AU to go across in a row where the material codes match.
    It should looks like this
    WARD470091-652 KT ST
    WARD470102-264E EA KT ST

    Any help is appreciated!

    Thanks,
    Cheryl

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need help with transposing columns to rows

    Please attach a sample book. Go in to advance, then attachment

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Need help with transposing columns to rows

    Try this code
    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose Tools | Macro | Macros
    Select a macro in the list, and click the Run button
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    03-20-2013
    Location
    Brookhaven, PA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need help with transposing columns to rows

    THANK YOU!!!!!!!!!!!!!! This is exactly what I needed and worked perfectly!!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Need help with transposing columns to rows

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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