+ Reply to Thread
Results 1 to 6 of 6

Code to transpose a data

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    16

    Code to transpose a data

    Hi everybody
    How are you?

    I am stuck up at one place and need the solution.
    The data is in sheet1
    The required result is in sheet2
    The actual data in sheet1 can be of any number of rows.

    Thanks
    Kiran
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Code to transpose a data

    Please find the attached sheet to see if this is what you are trying to achieve.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Code to transpose a data

    @Sktneer

    Maybe you could also post your code (in the future) so other forummembers don't have to open the file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Code to transpose a data

    copy sheeet1 to sheet3 to preserve original data

    try the macro test

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    I am not an expert. better solutions may be available
    [email protected]

  5. #5
    Registered User
    Join Date
    10-29-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Code to transpose a data

    Thanks sktneer
    the code is working fine and as required.

    I would also request venkat1926 to give a sample file since there are two codes.

    Thanks again

    however the querry is solved but I am waiting for venkat's reply.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Code to transpose a data

    You're welcome. Thanks for the feedback and rep.

+ 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] VB Code to transpose data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2014, 07:21 PM
  2. [SOLVED] VB code Macro needed to transpose data from columns to rows
    By raw_geek in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-20-2012, 08:54 AM
  3. [SOLVED] Modify code to transpose a stack of data to rows on to delimit on text hone number field
    By coachtim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2012, 02:52 PM
  4. Transpose data based on code
    By MReitz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2011, 06:13 PM
  5. Code to convert to columns, copy and transpose data
    By ianjw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-06-2010, 01:42 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