Results 1 to 4 of 4

Thread: Transpose A Range Of Cells Using Formula

  1. #1
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0

    Transpose A Range Of Cells Using Formula

    I want a formula that converts rows to columns
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Jun 2013
    Posts
    93
    Rep Power
    12
    This is not a simple transposing, you need vba, but you don't like it, why ?

  3. #3
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi

    In E12 and copied down,

    =IF(ROWS(E$12:E12)<=COUNTA(DataTable)+COUNTBLANK(D ataTable),INDEX(E$3:E$6,INT((ROWS(E$12:E12)-1)/COUNTA($G$2:$J$2))+1),"")

    F12:

    =IF(E12="","",INDEX(F$3:F$6,INT((ROWS(E$12:F12)-1)/COUNTA($G$2:$J$2))+1))

    G12:

    =IF(F12="","",INDEX($G$2:$J$2,MOD((ROWS(G$12:G12)-1),COUNTA($G$2:$J$2))+1))

    H12:

    =IF(G12="","",INDEX(DataTable,INT((ROWS(E$12:E12)-1)/COUNTA($G$2:$J$2))+1,MOD((ROWS(G$12:G12)-1),COUNTA($G$2:$J$2))+1))
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  4. #4
    Senior Member
    Join Date
    Mar 2013
    Posts
    146
    Rep Power
    0
    Thank you very much, wonderful solution

Similar Threads

  1. Replies: 12
    Last Post: 07-26-2013, 07:39 AM
  2. Count Colored Cells Using Excel Formula
    By mahmoud-lee in forum Excel Help
    Replies: 4
    Last Post: 06-15-2013, 11:37 AM
  3. Replies: 13
    Last Post: 06-10-2013, 09:05 AM
  4. Replies: 2
    Last Post: 09-24-2012, 06:24 PM
  5. Checking if range of cells=VbNullstring
    By Rasm in forum Excel Help
    Replies: 2
    Last Post: 02-03-2012, 07:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •