+ Reply to Thread
Results 1 to 9 of 9

Scripts for automatically transposing alot of columns into rows?

  1. #1
    Registered User
    Join Date
    09-13-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Scripts for automatically transposing alot of columns into rows?

    Is it possible to write a script that would automatically transpose alot of columns into rows?

    188 records, each with average of 5 columns to transpose in preparation for import into relational database...

    or shall i just get clicking, copying, pasting?

    Thanks!!

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Scripts for automatically transposing alot of columns into rows?

    Hello Welcome to the forum ! can you please upload a workbook (with sensitive data Removed)

  3. #3
    Registered User
    Join Date
    09-13-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Scripts for automatically transposing alot of columns into rows?

    script to transpose.xlsx

    Here is my example file...many thanks!!

  4. #4
    Registered User
    Join Date
    09-13-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Scripts for automatically transposing alot of columns into rows?

    I found this...but it's different

    http://www.excelforum.com/excel-form...to-column.html

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Scripts for automatically transposing alot of columns into rows?

    select the data you want to change select the cell where you want to paste it go to paste special (right click) and select transpose at the bottom of paste special

    if answer helps you click "*" (add rep) and mark thread as solved go to thread tools and select mark solve

  6. #6
    Registered User
    Join Date
    09-13-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Scripts for automatically transposing alot of columns into rows?

    That's what I am doing, as per my example file, so no, that hasn't helped...there are 180 rows so alot of click-copy-pasting

    there must be an easier way as per the example I made reference to.

    Can anyone help? Thanks!

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

    Re: Scripts for automatically transposing alot of columns into rows?

    This is not a formula but a macro code. When you run it, the result will be in new sheet.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-13-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Scripts for automatically transposing alot of columns into rows?

    THANKS very much...!!!!!

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

    Re: Scripts for automatically transposing alot of columns into 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.
    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]

+ 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. [SOLVED] Need help with transposing columns to rows
    By cheryl_granieri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2013, 09:14 AM
  2. Replies: 8
    Last Post: 11-02-2011, 02:45 PM
  3. Transposing columns to rows
    By sunitagadapu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2009, 08:54 AM
  4. Automatically Transposing Rows to Columns on a Mass Level
    By JonM08 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2008, 11:50 PM
  5. [SOLVED] Transposing columns and rows
    By TEB2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2005, 01:06 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