+ Reply to Thread
Results 1 to 24 of 24

How to Transpose Column into Rows

  1. #1
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    How to Transpose Column into Rows

    Hello Community,

    Can someone please show me how to transpose a column of cells in rows.

    In the attached csv you will see column A has the following cells, Company, Sector, industry, continent, country, marketvalue, sales, profits, assests, rank and forbeswebpage. These cells I would like transposed (if that is the right word to use) into a their own fields / columns as shown in cols D to N. I would then like the corresponding fields filled in as shown from D2 to N2, D3 to N3, and D4 to N4.

    Can you help me with that?
    Attached Files Attached Files

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

    Re: How to Transpose Column into Rows

    Which version of Excel are you using?
    Ali


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

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    11-05-2019
    Location
    Tiki Island, TX
    MS-Off Ver
    Office 365
    Posts
    168

    Re: How to Transpose Column into Rows

    I assume you have already figured out that you can copy every 11 rows and then use past special to transpose them as you it looks in the attachment. The actual best way to do this is with a macro but since you have not posted in that section I would recommend you make a formula that combines all of the rows in the last 11. You can than copy that down to a long list. Then copy to values. Take the values column and use the text to columns button on the data menu to turn them to columns. Then sort them by the last column and delete the blanks in the last column and you have your data.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi I'm using MS Excel 2016

  5. #5
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: How to Transpose Column into Rows

    Just copy all the cells in Column A and wherever you want the list to start (ie, D1) right click and do Paste Special - then Paste Special Again and Paste Special Box appears. Select Transpose then OK.

  6. #6
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi David,

    That's not exactly what I'm looking for.

    But thanks for trying

  7. #7
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    mikeava,

    I was hoping there was a way to achieve this with a formula or macros?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    Please update your forum profile, which says Excel 2010.

    With Excel 2016, you can use PowerQuery for this: https://excelgorilla.com/power-bi/po...-using-modulo/
    Last edited by AliGW; 05-11-2020 at 04:57 PM.

  9. #9
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi Ali,

    I tried the PowerQuery, it was too difficult. I have never used PowerQuery before.

  10. #10
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Any other suggestions please ...

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

    Re: How to Transpose Column into Rows

    It’s not too difficult - just follow the steps. You haven’t had time to work through them since I posted!

    It’s almost identical to your own situation. PowerQuery is a fantastic tool that everyone should have in their Toolbox.

    I’m on my iPad now, so can’t do a demo, but can do so in the morning if it’s still of interest. Bedtime here!

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    You still haven’t updated your forum profile.

  13. #13
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi Ali,

    You're going to bed early - especially as you don't have to go into the office tomorrow - assuming you're in England, like me :-).

    If you do have time tonight to help out, I'll be up quite late - if not sleep tight

    Hopefully you'll help me in the morning.

  14. #14
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    mikeava,

    If I would follow through with your suggestion if I just had a few rows to copy and paste. However, I have about 90,000 rows - hence why I need a formula

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    Can’t help tonight, as I have already logged off of the laptop. You assume right that I’m not going to the office tomorrow, well not away from home, anyway, but I shall be at my desk delivering a full timetable of lessons to my pupils via MS Teams - so there!

    I’ll do a PQ demo fir you in the morning over coffee.
    Last edited by AliGW; 05-11-2020 at 05:05 PM.

  16. #16
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Thanks Ali,

    I look forward to it.

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    In the meantime, for the fourth time, please update your forum profile.

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    Please update your forum profile from Excel 2010 to Excel 2016.

    Here's the M Code needed to do this with PowerQuery by following the instructions given in the link I provided:

    Please Login or Register  to view this content.
    At the MODULO stage, enter 11 instead of 5.

    Add one step at the end: TRANSFORM tab | Use First Row as Headers.

    If you wanted you could set PQ to import the data from a different workbook.
    Attached Files Attached Files
    Last edited by AliGW; 05-12-2020 at 01:07 AM.

  19. #19
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi Ali,

    Where is my manners???

    So sorry for the delay in thanking you.

    I learned something new with PowerQuery

    Thanks

    Carlton

  20. #20
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Quote Originally Posted by AliGW View Post
    Please update your forum profile from Excel 2010 to Excel 2016.

    Here's the M Code needed to do this with PowerQuery by following the instructions given in the link I provided:

    Please Login or Register  to view this content.
    At the MODULO stage, enter 11 instead of 5.

    Add one step at the end: TRANSFORM tab | Use First Row as Headers.

    If you wanted you could set PQ to import the data from a different workbook.
    Hi Ali, I'm not sure how to reward you or close this request.

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    Always a pleasure to open Pandora’s Box for someone!

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

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

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

    Re: How to Transpose Column into Rows

    ... and PLEASE update your forum profile!!!

  23. #23
    Registered User
    Join Date
    09-14-2015
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    83

    Re: How to Transpose Column into Rows

    Hi Ali,

    I've marked the thread solved

    I think I'm being a numbty, but I can't see the smiley face at the bottom left

    Also, I've updated my profile... :-)

    I've added to your reputation though

  24. #24
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,466

    Re: How to Transpose Column into Rows

    No, you haven’t updated your profile - it still says Excel 2010.

    Thanks for the 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. Transpose rows to column and insert new rows to fill in data
    By Apple Ling in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2019, 04:02 AM
  2. [SOLVED] VBA How to Transpose Rows to Column
    By voda4444 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-16-2018, 12:13 PM
  3. Transpose 2 rows to column
    By rontabz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-16-2017, 11:37 AM
  4. Transpose every 5 cells in column A to indidual rows in column B
    By meridklt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 12:35 AM
  5. Insert rows, transpose data from column in to rows, in steps
    By mchevalier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2012, 08:14 PM
  6. Transpose rows to column
    By MaxBrit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2005, 03:07 AM
  7. [SOLVED] transpose a column into many rows
    By GMed in forum Excel General
    Replies: 1
    Last Post: 01-21-2005, 04:06 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