+ Reply to Thread
Results 1 to 13 of 13

List to table

Hybrid View

  1. #1
    Registered User
    Join Date
    03-05-2007
    Posts
    6
    ooops correction, the output should be (2 columns, 4 rows):

    entry1 entry5
    entry2 entry6
    entry3 entry7
    entry4 entry8

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    may be ...
    =OFFSET($A$1,MOD(ROW()-1,5)+(COLUMN()-1)*5,0)
    P.S. replace 5 by 4 for your last example ...
    Last edited by Carim; 03-05-2007 at 06:05 AM.
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    03-05-2007
    Posts
    6
    AHHH YES!

    That worked, thanks a lot

    Sorry I didn't attach the xls file, the upload failed...

    - Marco

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Glad your problem is fixed ...

    Thanks for the feedback

  5. #5
    Registered User
    Join Date
    03-06-2007
    Posts
    1

    Question I have a similar problem

    I have a list generated by a proprietary software. It has taken the entire address list for people and put them one after the other in a single column.

    How can I move these rows out to separate columns using a macro or other step that will keep me from going through 11,000 rows to correct this data?

    Marion

    PS I am told that this is the only way this software can generate this list, so I will be dealing with this over and over again.

  6. #6
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    you have to tell us how many rows there are for each record and does it vary. maybe even post a zipped version of the top few lines of the spreadsheet

    Regards

    Dav

  7. #7
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi Marion,

    Assuming all your data is in column A, copy formula to cell B1 and
    adapt it to your needs :
    =OFFSET($A$1,MOD(ROW()-1,5)+(COLUMN()-1)*5,0)
    since the number 5 represents the number of rows required,
    just replace the number 5 by whatever number you wish ...

+ 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