+ Reply to Thread
Results 1 to 4 of 4

transpose many rows of data

  1. #1
    Registered User
    Join Date
    05-22-2007
    Posts
    26

    transpose many rows of data

    I am working with a large table and need to transpose many rows of data into one column.

    Ex:

    I need to go from this:

    1 2 3 4 5
    6 7 8 9 1
    2 3 4 5 6
    ...

    To this:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    1
    2
    3
    4
    5
    6
    ...

    Can this be done easily with a function?

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    It can be done with a function. It depends on where your starting point is. Assuming that the information you have starts in B1, and goes across then down, and assuming that you want the list in its final format as described in cell A1 down, you can use this formula:

    =OFFSET($B$1,INT(ROW()-1)/5,MOD(ROW()-1,5))

  3. #3
    Registered User
    Join Date
    05-22-2007
    Posts
    26
    Thanks BigBas,

    works great! although I'm not sure I completely understand the function, you just save me a lot of work.


  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Glad I could help.

+ 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