+ Reply to Thread
Results 1 to 5 of 5

Concatenate

Hybrid View

  1. #1
    Registered User
    Join Date
    05-26-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Concatenate

    Is there a formula I can use to do this without writing my own function...?

    I have a name in column A, and a version in column B. I want a formula to concatonate into column C all of the versions per name.

    e.g.
    Name Version
    me123456 1.2
    me123456 2.2
    me654321 3.2
    me123456 4.2
    me654321 5.2
    me654321 6.2

    so column C for the above would then be (I'm not worried about the duplicates, I can sort that separately):
    1.2, 2.2, 4.2
    1.2, 2.2, 4.2
    3.2, 5.2, 6.2
    1.2, 2.2, 4.2
    3.2, 5.2, 6.2
    3.2, 5.2, 6.2

    Thanks

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Concatenate

    caitfox
    Depending on how long the list is you would need a few forumlas or macro
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Concatenate

    Maybe this:

    If you want other order use LARGE function instead of SMALL.
    Attached Files Attached Files
    Never use Merged Cells in Excel

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Concatenate

    Or possibly with 2007
    in F2
    =IFERROR(INDEX($B:$B,SMALL(IF($A$2:$A$8=$E2,ROW($A$2:$A$8)),COLUMNS($F2:F2))),"")

    Ctrl + Shift + Enter

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Concatenate

    If you can sort by Column A "Name" then by Column B "Version"

    Then use a helper Column say D (Hide using Grouping Button)
    In D2
    =IF(A2<>A1,B2,E1&", "&B2)
    In C2
    =IF(A2<>A3,D2,"")
    Drag/Fill both Down.

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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