+ Reply to Thread
Results 1 to 3 of 3

More than a simple column to row transformation

  1. #1
    Registered User
    Join Date
    05-18-2010
    Location
    France
    MS-Off Ver
    Excel 2003
    Posts
    2

    More than a simple column to row transformation

    Hi, all,

    I have one column of data with four distinct variables that I would like to transpose into rows. The data look like this:

    COLUMN A
    Name1
    Age1
    Gender1
    Birthday1
    Name2
    Age2
    Gender2
    Birthday2
    Name3
    Age3
    Gender3
    Birthday3

    I would like to make them look like this:
    COL A | COL B | COL C | COL D
    ROW1 Name1 | Age1 | Gender1 | Birthday1
    ROW2 Name2 | Age2 | Gender2 | Birthday2
    ROW3 Name3 | Age3 | Gender3 | Birthday3

    Does anyone have any suggestions?

    Thank you so much!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: More than a simple column to row transformation

    Here, try this:

    =INDEX($A:$A;4*(ROW(A1)-1)+COLUMN(A1))

    and pull 4 places right and down as it takes.

    (replace ; with , if needed)

    Edit: OK, better would be: =INDEX($A:$A;4*(ROWS($A$1:$A1)-1)+COLUMNS($A$1:A$1))
    Last edited by zbor; 05-18-2010 at 05:54 AM.

  3. #3
    Registered User
    Join Date
    05-18-2010
    Location
    France
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: More than a simple column to row transformation

    Thank you! I was able to use an augmented version of the formula for just what I needed.

+ 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