+ Reply to Thread
Results 1 to 7 of 7

How to combine multiple rows of data into a single row (with multiple columns)?

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    kuwait
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to combine multiple rows of data into a single row (with multiple columns)?

    Hello All,

    I am a basic user of Excel. I do not know Macros or VBA. I have a task which I hope you will be able to help. The task is given below.
    I have an Excel datasheet with 4 columns and 4485 rows.
    I want to rearrange this data to get a 69 X 260 matrix i.e. 69 rows & 260 columns.
    That means, from the present datasheet, each block of 65 rows should be arranged in a single row in the following way.
    Please see the attached sample workbook

    In the table below, the red chracters are actual data. The top row & the left-row shows the columns & rows respectively in Excel.
    Present data:

    A B C D
    1 101 102 103 104
    2 105 106 107 108. . . . .
    . . . . .
    65 357 358 359 360
    66 361 362 363 364






    Required data:

    A B C D . . IY IZ
    1 101 102 103 104 . . 359 360
    2 361 362 363 364 . . 619 620
    . . . . . . . . .
    . . . . . . . . .
    69 6901 6902 6903 6904 . . 7159 7160

    Please see the attached sample workbook
    I want your expert help in resolving my problem.
    Thanks a lot.
    Attached Files Attached Files
    Last edited by probeen; 10-13-2010 at 07:53 AM. Reason: Titlle not appropriate

  2. #2
    Registered User
    Join Date
    06-02-2010
    Location
    n.ireland
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: Urgent help needed with Excel

    a little advise,change your thread title.
    and then post a sample w/book.

  3. #3
    Forum Contributor BlastRanger's Avatar
    Join Date
    09-02-2010
    Location
    Indonesia
    MS-Off Ver
    2003, 2007, 2010
    Posts
    238

    Re: How to combine multiple rows of data into a single row (with multiple columns)?

    Hey probeen,
    Try this formula in Sheet Required Data (No Macro nor VBA required ):
    In A1 type :
    Please Login or Register  to view this content.
    Then Copy it until it reach the matrix you want (260 Columns and 69 Row)

    the Row will not be limited to 69 (you can add up more than 69 row)
    This formula, the Column is limited to 260 Columns (if you copy to more than 260 column it will not the correct result at the next row)

    If you want to have the column and row to be unlimited, then change all the 260 to COUNTA(1:1) which would count those non blank column of a row.

    That solve the matrix problem in your sheet
    Please give a Reputation as a gift for a thanks.
    By clicking the second icon at the top right corner of a user post or reply

  4. #4
    Registered User
    Join Date
    10-13-2010
    Location
    kuwait
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to combine multiple rows of data into a single row (with multiple columns)?

    thank you blastranger for your help.
    The problem is solved now.

  5. #5
    Forum Contributor BlastRanger's Avatar
    Join Date
    09-02-2010
    Location
    Indonesia
    MS-Off Ver
    2003, 2007, 2010
    Posts
    238

    Re: How to combine multiple rows of data into a single row (with multiple columns)?

    Hi,
    if you would not mind, give me a reputation,
    I'm really need that :P :P
    as I wreck my brain to think the formula for you (it really hard though)

  6. #6
    Registered User
    Join Date
    02-18-2014
    Location
    Missouri
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: How to combine multiple rows of data into a single row

    Good morning all...

    I have a follow on question to this thread. I am in the same position as the OP, except that I have multiple rows that I would like to bring into one column, so that the text in K3:T3, K4:T4, etc., etc, (up to 200 rows) would be displayed in a single column as read and without further sorting.

    Is this possible in Excel2010?

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to combine multiple rows of data into a single row (with multiple columns)?

    FlyNavy2002,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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