Transpose data from wide format to long format excel

  • [xpost][/xpost]

    Currently, my excel sheet is composed of data that are not in long format. [Blocked Image: https://i.stack.imgur.com/48pNi.png]

    I want to cut the data to paste at the bottom of the first 2 columns to get something like this:

    [Blocked Image: https://i.stack.imgur.com/6FerU.png]

    I have written some vba code to allow me to do the cutting and pasting. However, the code doesn't seem to exit the Find Loop and continuously finds and cuts. I want to stop finding after all columns after the 1st 2 are cut and pasted to the bottom. What edits can I make to the code to allow the find to escape the loop? Thank you


  • Code
    Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the URL from the address bar in your browser) to the cross-post. We are here to help so help us help you!
    
    
    
    Read this to understand why we ask you to do this
    
    
    https://www.excelguru.ca/content.php?184

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!