+ Reply to Thread
Results 1 to 5 of 5

Rows to Colums Transpose with Condition

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    11

    Rows to Colums Transpose with Condition

    My data :

    |A
    B
    C
    D
    E
    |F
    G
    H
    |I
    |J
    K
    L
    M
    N
    |O
    P

    Expected Data

    |A B C D E
    |F G H
    |I
    |J K L M N
    |0 P

    I need a macro to transpose rows into columns.
    Whenever the cell has pipe "|" (e.g. |A, |F..) data should be entered in next row.

    I have a macro that will transpose a row for every 7 rows, but I need macro that transposes till cell has "|" in one row and then continue to next row.

    Please Login or Register  to view this content.
    Kindly do the needful.
    Last edited by Leith Ross; 11-06-2014 at 10:42 PM. Reason: Added Code Tags

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Rows to Colums Transpose with Condition

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-04-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    11

    Re: Rows to Colums Transpose with Condition

    Thanks a million. It worked......

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Rows to Colums Transpose with Condition

    This may work

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Rows to Colums Transpose with Condition

    This may work

    Please Login or Register  to view this content.

+ 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. Code to transpose rows to colums
    By VBNewbie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-23-2014, 09:41 AM
  2. [SOLVED] Covert (Transpose) Excel Colums to Rows
    By frikkied2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-06-2012, 10:09 AM
  3. Macro to Transpose multiple rows to one colums
    By Karina in forum Excel General
    Replies: 2
    Last Post: 08-27-2011, 12:34 AM
  4. Multiple Transpose from Same column to different rows and colums.
    By marc5354 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2010, 06:14 PM
  5. Replies: 2
    Last Post: 02-19-2007, 04:53 PM

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