+ Reply to Thread
Results 1 to 3 of 3

Transposing multiple rows into one row

  1. #1
    Registered User
    Join Date
    12-05-2016
    Location
    yuma, arizona
    MS-Off Ver
    2013
    Posts
    2

    Transposing multiple rows into one row

    I'm trying to create an excel file that I can use in order to complete a mail merge into a word document.

    This is the information that I currently have is separate per employee and family member. The empty row separates each family.

    I need to know what formula/function I can use in order to transpose all the family's information into 1 row so I can do a mail merge. The empty row would be used to tell excel to skip to the next family.

    Attached is a sample of what I have and need to do. Unfortunately I'm working with large data and it just unfeasible to do them one by one. (It didn't let me attach the actual excel file).
    Capture.JPG

    Any help will be appreciated.
    Thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transposing multiple rows into one row

    Give this a try. It assumes the headers are in row1 and the data starts in row2.
    Please Login or Register  to view this content.
    How/Where to install the macro:

    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save as a macro-enabled workbook

    The macro is installed and ready to use. Press Alt-F8 and select it from the macro list.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-05-2016
    Location
    yuma, arizona
    MS-Off Ver
    2013
    Posts
    2

    Re: Transposing multiple rows into one row

    Awesome, thank you soooo much!

+ 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. transposing multiple rows to a single row
    By nevo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2016, 06:16 PM
  2. [SOLVED] Transposing multiple rows to colums
    By gchozhan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-22-2015, 05:48 AM
  3. how do I automate transposing of multiple rows with multiple columns
    By byrddog75 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-08-2013, 04:04 AM
  4. transposing multiple rows
    By Mel93 in forum Excel General
    Replies: 5
    Last Post: 07-25-2010, 07:21 AM
  5. Transposing column into multiple rows
    By jdubbie in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-17-2010, 07:21 AM
  6. transposing rows into multiple columns
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2009, 03:58 PM
  7. Replies: 1
    Last Post: 03-18-2009, 04:18 PM

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