+ Reply to Thread
Results 1 to 7 of 7

transpose related data from row into columns

  1. #1
    Registered User
    Join Date
    03-17-2012
    Location
    Mississauga,Ontario
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    75

    transpose related data from row into columns

    I have a Sign up sheet for an event we are having for our community centre In column A we have the family names and the members participating from the family in Column B
    I am trying to put the family members (transpose) in separate columns and only have the family names on each row to have each row for all Mother participants, Son participants etc etc.
    can this be done/?
    Attached Files Attached Files
    Last edited by Lisa4legin; 11-10-2013 at 08:02 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: transpose related data from row into columns

    Lisa4legin,

    Detach/open workbook GetFamilyMembers oarray - Lisa4legin - EF967186 - SDG15.xlsm and run the GetFamilyMembers macro.

    With your raw data beginning in cells:
    A3 = "Family A"
    B3 = "Father"

    Please TEST this FIRST in a COPY of your workbook (always make a backup copy before trying new code, you never know what you might lose).

    1. Copy the below code
    2. Open your NEW workbook
    3. Press the keys ALT + F11 to open the Visual Basic Editor
    4. Press the keys ALT + I to activate the Insert menu
    5. Press M to insert a Standard Module
    6. Where the cursor is flashing, paste the code
    7. Press the keys ALT + Q to exit the Editor, and return to Excel
    8. To run the macro from Excel press ALT + F8 to display the Run Macro Dialog. Double Click the macro's name to Run it.

    Please Login or Register  to view this content.
    Before you use the macro with Excel 2007 or newer, save your workbook, Save As, a macro enabled workbook with the file extension .xlsm

    Then run the GetFamilyMembers macro.
    Last edited by stanleydgromjr; 11-09-2013 at 12:27 AM.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: transpose related data from row into columns

    I have used WS functions.

    Im still try for the better result.

    Please try this file.
    Attached Files Attached Files
    Last edited by ramananhrm; 11-09-2013 at 04:19 AM. Reason: Additional / Alternative solutions
    Please click 'Add reputation', if my answer helped you.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: transpose related data from row into columns

    Another one. Output in sheet 3.
    Attached Files Attached Files
    Last edited by AB33; 11-09-2013 at 12:43 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: transpose related data from row into columns

    at E3
    =IF(COLUMNS($A:A)>IF(ROW(1:1)=COUNTA($A$3:$A$16),ROWS($A$3:$A$16)+1,MATCH($D4,$A$3:$A$16,0))-MATCH($D3,$A$3:$A$16,0)-1,"",INDEX($B$3:$B$16,MATCH($D3,$A$3:$A$16,0)+COLUMNS($A:A)))

    copy right and down

  6. #6
    Registered User
    Join Date
    03-17-2012
    Location
    Mississauga,Ontario
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    75

    Re: transpose related data from row into columns

    Thanks a Lot for this.. all of these work awesome.. thanks a lot..

  7. #7
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: transpose related data from row into columns

    Lisa4legin,

    You are very welcome. Glad we could help.

    Thanks for the feedback.

    And, come back anytime.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 09-25-2012, 03:42 PM
  2. Transpose several columns of data
    By judasdac in forum Excel General
    Replies: 5
    Last Post: 08-27-2009, 03:00 PM
  3. Transpose data from rows into columns
    By greaseman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-03-2006, 03:52 PM
  4. HELP on TRANSPOSE related function.
    By sunj99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2005, 11:57 AM
  5. Replies: 7
    Last Post: 05-03-2005, 04:06 PM

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