Help concatenating cells from column of variable number of rows based upon common id

  • I regularly need to concatenate the fields from two columns based upon the id in another column. The rows will vary in the control column.
    For example:


    ID Qty Item
    1 Recipe Name
    1 1 Roses
    1 2 Daisy
    1 7 Orchid
    2 Other Recipe Name
    2 1 Daisy
    2 6 Mum
    2 2 Rose
    2 4 Rose
    2 1 Carnation
    2 1 Fern
    3 Yet Another Recipe Name
    3 6 Orchid
    3 2 Mums


    I need the data to end up like this. Ideally the result would strip out the Recipe Name which heads each set of records with the same control number.
    If not possible to strip out the recipe name I can manually do that.


    ID Data
    1 1 Rose |2 Daisy |7 Orchid
    2 1 Daisy |6 Mum |2 Rose |4 Rose |1 Carnation |1 Fern
    3 6 Orchids |2 Mums

  • Re: Help concatenating cells from column of variable number of rows based upon common


    Try

  • Re: Help concatenating cells from column of variable number of rows based upon common


    Quote from jindon;680625

    Try


    Thanks, this worked for me. I really appreciate the help!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!