+ Reply to Thread
Results 1 to 8 of 8

Transpose Column to Row but with condition

  1. #1
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Transpose Column to Row but with condition

    Hello there,

    I am looking for transpose C2:C20, into rows starting from D1 but every alternate merged rows.
    Means C2 data copy in D1:E1 Mearged rows
    C3 into F1:G1 Mearged rows

    Here the condition is D1 & E1 are merged cell....
    So on F1&G1 mearge, and further.

    THANKS, RR

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Transpose Column to Row but with condition

    IN D1 then copied across.

    =IFERROR(INDEX($C$2:$C$21,1+INT(COLUMNS($D$1:D$1)/2)),"")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Transpose Column to Row but with condition

    Many Thanks, in the formula it worked.

    I am looking for VBA solution if any one.

  4. #4
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,150

    Re: Transpose Column to Row but with condition

    And what about a sample xls file ?

  5. #5
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Transpose Column to Row but with condition

    Sample Xls file, I thought that may have VBA solution. But it was explained with formula only.

  6. #6
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,150

    Re: Transpose Column to Row but with condition

    ... a sample xls file from You ...

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Transpose Column to Row but with condition

    CODE for macro
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Transpose Column to Row but with condition

    Perfectly work
    I modified little...

    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. [SOLVED] Transpose Horizontal to Vertical - one condition
    By ionelz in forum Excel General
    Replies: 4
    Last Post: 10-11-2020, 04:21 PM
  2. [SOLVED] My vba Transpose with condition, but its transposing the condition from other range
    By Franky alta in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2015, 03:56 PM
  3. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  4. [SOLVED] How to transpose under a certain condition
    By hui_hui in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2012, 02:59 AM
  5. Transpose with condition match
    By mzimit in forum Excel General
    Replies: 0
    Last Post: 03-19-2008, 08:19 AM
  6. Transpose rows and column with condition
    By ananthakumar.e in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2008, 07:45 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