+ Reply to Thread
Results 1 to 2 of 2

Multiple rows to single row

  1. #1
    Registered User
    Join Date
    03-19-2020
    Location
    Stockholm, sweden
    MS-Off Ver
    1908
    Posts
    1

    Question Multiple rows to single row

    How can i transfer multiple rows to single row, based on the first column? I got about 20000 rows of these.

    excel.png

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Multiple rows to single row

    I think this code should do the trick, assuming your data is laid out in the columns as shown (starting in H). You can adjust the code as needed, of course. If you have more than 256 columns of data, adjust the number in the 'lastcol =...' line to a larger number. That's just starting in column 256 and then looking to the left to grab the column number of the last used column in each specific row.
    Please Login or Register  to view this content.

+ 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. Replies: 1
    Last Post: 04-06-2016, 07:02 AM
  2. Replies: 9
    Last Post: 11-11-2015, 08:19 PM
  3. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  4. [SOLVED] Single product with multiple variations in multiple rows need to consolidate to single row
    By 65monroe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2013, 01:42 AM
  5. Replies: 4
    Last Post: 07-03-2012, 08:01 PM
  6. Selecting multiple cells in multiple columns and rows to paste into a single row.
    By Cyberpawz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2012, 04:03 PM
  7. Replies: 1
    Last Post: 03-18-2009, 04:18 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