+ Reply to Thread
Results 1 to 3 of 3

How to merge rows in excel?

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    hong kong
    MS-Off Ver
    Excel 2010
    Posts
    4

    How to merge rows in excel?

    Hello,

    I need to meger multiple rows to 1 row, and need to separe each data with ALT+ENTER.
    I need to do this for 75000 rows, so not possible to do manually. I heard we can use macro for this. Any suggestions plz?

    Example:

    Before:
    Row1: test
    Row2: test1
    Row3: test2

    After:
    Row1:
    test
    test1
    test2

    thanks for help.

  2. #2
    Registered User
    Join Date
    06-13-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How to merge rows in excel?

    When you say that you have 75000 rows, do you mean that you are trying to fit that many lines of text into a single cell? (If so, this solution will not work). Or, do you mean that you have to do this sort of process with 75K examples?

    If it's the latter, you can do something like this:

    =CONCATENATE(A1, CHAR(10), A2, CHAR(10), A3, CHAR(10))

    the "CHAR(10)" is a carriage return, which creates a new line. This will only work if you put this formula in a cell that has "Wrap Text" turned on.


    --
    Marc.

  3. #3
    Registered User
    Join Date
    06-13-2012
    Location
    hong kong
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to merge rows in excel?

    I have to do this sort of process with 75K examples. Thanks for CONCATENATE solution.
    But the row numbers are not fixed, and vary from 3-10 for different examples. Not sure if some macro can run on all rows, so that I dont have to run it manually for all 75k examples.

    Attaching a file for example.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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