Unique Values from multiple cells with delimiter into one cell

  • Hi All,


    I am trying to create a unique list from cells that are formated like this:


    <-letter->
    1 A;B;C
    2 A;J;D
    3 D
    4 D;E
    5 C;H


    Desired Result
    6 A;B;C;D;E;H;J


    I would like to have a function where I define the range and type of delimiter then the result is a unique list that is organized alphabetically with the same delimiter.


    Is there a way to do this with a VBA function?


    ------


    Thanks in advance for the help

  • Re: Unique Values from multiple cells with delimiter into one cell


    you can try this code


  • Re: Unique Values from multiple cells with delimiter into one cell


    UDF


    Use in cell like


    =Uniq(A1:A5,";")

Participate now!

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