+ Reply to Thread
Results 1 to 4 of 4

Concatenate column of data based on interation value in other column

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Phoenix
    MS-Off Ver
    Excel 2010
    Posts
    4

    Concatenate column of data based on interation value in other column

    I have a large sheet of data that I wish to concatenate. One column contains basically an iterative count of rows following the initial entry. I am trying to concatenate all of the rows following, not including the initial entry and restart over again each time the iterative count changes. Blank cells in the iterative column should be ignored.

    A simple IF then Concatenate forumula quickly runs out of character limits due to size as some iterate over 40 rows. I've tried several VB solutions on the forum but none seem to fit my specific needs.

    Any suggestions?

    concat-test.xlsx

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Concatenate column of data based on interation value in other column

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Concatenate column of data based on interation value in other column

    Not exactly what you wanted, but see if you can work with this.

    I inserted a blank row atthe top of your data to help.

    Put this in C2 and copy down...
    =TRIM(IF(A2="",C1&" "&B2,B2))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Concatenate column of data based on interation value in other column

    Or here's a VB solution

    Please Login or Register  to view this content.
    Happy with my advice? Click on the * reputation button below

+ 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. Concatenate column values based on another column's duplicates
    By Jyos in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2014, 06:36 PM
  2. [SOLVED] Concatenate row data in columns B-F based on duplicate value in column A
    By wolffia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2014, 10:03 AM
  3. Replies: 9
    Last Post: 12-13-2013, 07:40 PM
  4. Concatenate a column based on a column with matching rows
    By excelsior51 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2013, 11:13 AM
  5. Concatenate values in a column based on value of previous column
    By CountySurveyor in forum Excel General
    Replies: 3
    Last Post: 10-02-2012, 06:38 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