+ Reply to Thread
Results 1 to 8 of 8

Macro to rearrange a long list of data changing columns and rows _Help please

  1. #1
    Registered User
    Join Date
    10-30-2013
    Location
    Broxbourne
    MS-Off Ver
    Excel 2007
    Posts
    22

    Macro to rearrange a long list of data changing columns and rows _Help please

    I am trying to rearrange a long, over 1000 entries list of channel information. I want to have headings on one row and then change the location of all the data to fit under each of the columns. I need a simple macro that will do the entire job in as quick a time as possible and wondered if one of you geniuses could help.

    Channels.jpg

    I have attached a picture of the tables. The one on the left is the original data and what I need it to look like is the one on the right.

    Any help gratefully accepted.

    Thanks in advance

    David

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,213

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    Could be done with formulae if the layout is consistent as t seems to be on the left.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    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 Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    Hello David
    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  4. #4
    Registered User
    Join Date
    10-30-2013
    Location
    Broxbourne
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    Thanks AliGW but how do I do that. Do you know if there is a simple guide to using a formulae in this way.

    Regards

    David

  5. #5
    Registered User
    Join Date
    10-30-2013
    Location
    Broxbourne
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    Perfect, thank you very much YasserKhalil. Thant seems to work very well. I will extend to the full data.

    You are a champion.

    David

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    You're welcome David
    Glad I can offer some help

    Please mark the thread as solved
    Regards

  7. #7
    Registered User
    Join Date
    10-30-2013
    Location
    Broxbourne
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    Problem resolved.

    Thread closed

    Thanks for the help.

    David

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Macro to rearrange a long list of data changing columns and rows _Help please

    You're welcome David
    I mean to do the following :
    001.png

+ 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] Rearrange data from rows to columns via Macro??
    By skylark332 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2016, 07:10 PM
  2. Replies: 7
    Last Post: 08-09-2016, 08:12 AM
  3. Rearrange Rows into Columns
    By xtort81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2014, 03:38 PM
  4. Macro to import data from specific columns form csv and rearrange
    By tonyrobbo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2013, 02:01 PM
  5. Macro to rearrange data from 1 column to 3 new columns???
    By papaj79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2012, 08:49 AM
  6. Read data from long list 3 rows at a time
    By Roger_the_Dodger_55 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2011, 08:26 AM
  7. Rearrange info in rows to columns - HELP!
    By LaVerne in forum Excel General
    Replies: 0
    Last Post: 06-20-2005, 04:39 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