+ Reply to Thread
Results 1 to 2 of 2

Concatenate

  1. #1
    Forum Contributor
    Join Date
    12-04-2006
    Posts
    201

    Concatenate

    Hi,

    I'm not even sure if this can be done...but...

    In column 'A' i have a list of numbers and in column 'C' i also have a list of numbers. However the same number may appear in column 'A' numerous times (they will appear 1 above the other as i have sorted them) whilst the number in 'C' will vary even if 'A' is the same. What i basically need to do is some form of concatenate...where in column 'g', on the same row as a number in 'A' a concatenate formula is entered. This will concatenate all the variable in 'C' of the duplicated SKU in 'A'....but it will have to be in column 'g' where the number first appears in 'A'......

    yes complicated....i have attached an example sheet....
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    If you download and install Morefunc.xll utility from this site (it's free)...

    http://xcell05.free.fr/morefunc/english/

    then you can use the MCONCAT() function to do what you want.

    First insert a row above your data... then in G2 enter formula:

    =IF(E2=E1,"",MCONCAT(IF($E$2:$E$20=E2,$C$2:$C$20,"")))

    This is an array formula and must be confirmed with CTRL+SHIFT+ENTER not just ENTER...you will see { } brackets appear around it.

    Then copy it down.

    Note: If you adjust ranges, etc in the formula you have to reconfirm it with the CSE keys, before copying it down again.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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