+ Reply to Thread
Results 1 to 2 of 2

Move Data from multiple rows to one row

  1. #1
    Registered User
    Join Date
    12-23-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    3

    Move Data from multiple rows to one row

    Hi there,
    I'm looking for advice on how to move data from different rows to one row using a formula.
    I have spreadsheet that has been exported from Salesforce, with about 1000 rows of data about contacts. Most of the contacts in this spreadsheet repeat a few times in different rows because they have different related information associated with the different rows. There are also different numbers of rows for each contact depending on how many related entries existed for them in Salesforce. Some contacts have 6 rows with different related information, and some have only 1.

    for example:
    Name Contact ID Related Information
    Sally Doe 11111 Goes To school
    Sally Doe 11111 Does Extra curricular activities
    Sally Doe 11111 Works part-time
    John Doe 2222 Goes to school
    John Doe 2222 Works part-time

    Since contact ID for the contact (unique identifier) is repeated numerous times, depending on how many times the contact is listed in separate rows, I don't think Vlookup or IndexMatch will work though I'm not quite sure. Could someone advise me on how to move all data about one contact from multiple rows to one row?

    Thank you so much!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Move Data from multiple rows to one row

    In a dummy column
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In another sheet, bring over the unique names and IDs in A and B and then in C copied across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does that work for you?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. [SOLVED] Macros To Move Multiple Rows To Another Sheet And Macro To Move Single Rows To DAX Table
    By jcaynes in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2013, 05:08 PM
  2. formula to move data from multiple columns to rows
    By emexpress in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2013, 02:12 PM
  3. Parse string and move data to multiple rows
    By vbvamsi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-31-2012, 06:13 PM
  4. How? Move data from Y into multiple X rows - Macro?VBA?
    By akzovzw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-15-2010, 02:19 PM
  5. [SOLVED] Move multiple rows of data that are not sequential
    By Mel in forum Excel General
    Replies: 1
    Last Post: 01-20-2006, 02:40 AM

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