+ Reply to Thread
Results 1 to 6 of 6

Advanced transpose table

  1. #1
    Registered User
    Join Date
    05-16-2015
    Location
    Europe
    MS-Off Ver
    2013
    Posts
    12

    Question Advanced transpose table

    Hello forum,

    I need to transpose a two column table into horizontal table. However, after making the table horizontal one of the row becomes a header. I want to merge headers into one and combine data into columns under each header. Please see the image below. Its been over an hour and i cannot figure out how to do this.


    Thank you for taking time.




    2i0qema.jpg
    Last edited by pisdukas; 04-10-2019 at 10:04 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2301 (Windows 11 22H2 64-bit)
    Posts
    65,648

    Re: Advanced transpose table

    You could use Power Query for this (on the Data ribbon - Get & Transform).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Registered User
    Join Date
    05-16-2015
    Location
    Europe
    MS-Off Ver
    2013
    Posts
    12

    Re: Advanced transpose table

    This solution works:
    suppose your original table is at A2:B7. I'll extend it down to B100.

    at D2 have this formula:

    =INDEX($A$2:$A$100,MATCH(0,INDEX(COUNTIF($C$2:C2,$A$2:$A$100),0,0),0))

    drag across (to F2 and beyond).

    Next, place this formula at D3:

    =IF(ROWS($D$1:D1)>COUNTIF($A$2:$A$100,D$2),"",INDEX($B$2:$B$100,MATCH(D$2,$A$2:$A$100,0)+ROW(D1)-1))

    drag across, then down.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2301 (Windows 11 22H2 64-bit)
    Posts
    65,648

    Re: Advanced transpose table

    Where did you get the solution? If from another forum, then you will need to read our rules regarding cross posting, please.
    Last edited by AliGW; 04-10-2019 at 12:28 PM.

  5. #5
    Registered User
    Join Date
    05-16-2015
    Location
    Europe
    MS-Off Ver
    2013
    Posts
    12

    Re: Advanced transpose table

    A colleague told me this. I thought that would be useful to know.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2301 (Windows 11 22H2 64-bit)
    Posts
    65,648

    Re: Advanced transpose table

    Thank you.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Advanced transpose macro (VBA help)
    By Nils88 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-13-2013, 06:22 AM
  2. [SOLVED] Advanced transpose macro (VBA help)
    By Nils88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2013, 08:49 AM
  3. Transpose function - advanced
    By Damian84 in forum Excel General
    Replies: 2
    Last Post: 03-15-2012, 09:33 AM
  4. Advanced transpose macro
    By jlepard in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-24-2011, 10:31 PM
  5. Advanced Transpose
    By GavM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2011, 10:05 AM
  6. Advanced transpose - moving the header to the row.
    By bonna in forum Excel General
    Replies: 5
    Last Post: 05-09-2011, 04:51 PM
  7. Formatting (an advanced transpose)
    By two_tun in forum Excel General
    Replies: 3
    Last Post: 01-22-2011, 03:25 AM
  8. advanced transpose
    By eien kisu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-20-2008, 10:43 AM

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