Hi
Say your data as shown is in the range A1:A3.
Create a general module in your spreadsheet (alt F11, insert, module) and input the code
Function myfunc(xx)
Dim nodupes As New Collection
arr = Split(xx, ";")
For i = LBound(arr) To UBound(arr)
On Error Resume Next
nodupes.Add arr(i), arr(i)
On Error GoTo 0
Next i
For i = 1 To nodupes.Count
holder = holder & nodupes(i) & ";"
Next i
myfunc = Left(holder, Len(holder) - 1)
End Function
In B1 enter the formula
=myfunc(A1)
and copy down to B3.
HTH
rylo
Bookmarks