+ Reply to Thread
Results 1 to 8 of 8

How to Concatenate multiple Rows into 1 Column cell

  1. #1
    Registered User
    Join Date
    06-09-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    How to Concatenate multiple Rows into 1 Column cell

    Hi,
    We are trying to merge multiple client databases into one data file. Currently we have merged all data together in the attached (sample) file, which lists each row by client first and last name with a comments field for each row. We are wanting to combine all the rows related to a single client name into one while combining the comments field into one cell for each individual client.. In the attached file I have notated the clients first/last name and comments field in yellow, and the location of the combined comments field in red.

    Does anyone know the best way to accomplish this matter?

    Thanks in advance.


    Forum upload sample file.xlsx

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: How to Concatenate multiple Rows into 1 Column cell

    I am not sure if this is what you need. But if all you are doing concatenating, then this attached file does that.
    Attached Files Attached Files
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    06-09-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to Concatenate multiple Rows into 1 Column cell

    JapanDave,
    Thanks for taking a look and sending a sample file. This is not quite what I am looking for. Let me try to better explain myself.

    Example of from the attached file what we are trying to accomplish:
    Client #1 (Jeff ?) =rows 4-8, we want to combine Lead Comments H4-H8 and display result in cell I4.
    Client #2 (Scott Elliot) =rows 9-20, we want to combine Lead Comments H9-H20 and display in cell I9.
    Cient #3 same as above

    Currently our database has 58,000 (rows) records with each client ranging from 1 to 20+ rows. We are wanting to combine the comments and then delete the duplicate records. Due to the number of records we are looking for a formula to assist in the combining and filtering.

    Again your help is appreciated if you have a solution.

    Thanks,

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: How to Concatenate multiple Rows into 1 Column cell

    try
    Please Login or Register  to view this content.
    Edit:
    Code has been edited after seeing your last post.
    Last edited by jindon; 06-10-2012 at 10:59 PM.

  5. #5
    Registered User
    Join Date
    06-09-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to Concatenate multiple Rows into 1 Column cell

    jindon,
    Thank you for sending the code, it works well. I previously only sent a edited file as a test as I am new to the forum. I have been unable to edit the formula correctly for the actually data file. Can you please look to see what changes need to be made as the Column is (am) in out data file not (i).

    I am attaching file for reference.

    Forum upload sample file 2.xlsx


    Thanks again for your help.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: How to Concatenate multiple Rows into 1 Column cell

    Change to
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-09-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to Concatenate multiple Rows into 1 Column cell

    jindon,
    Thank you very much, this accomplished what we needed.

    Thanks again...

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: How to Concatenate multiple Rows into 1 Column cell

    Your are welcome.

+ 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