
Option Explicit
Sub abc()
Dim a, i, j, t, d
a = [a1].CurrentRegion.Offset(1).Resize(, 1).Value
Set d = CreateObject("scripting.dictionary")
For i = 1 To UBound(a)
t = Split(a(i, 1))
For j = 0 To UBound(t)
If Len(t(j)) Then d(t(j)) = 1
Next
a(i, 1) = Join(d.keys): d.RemoveAll
Next
[b2].Resize(UBound(a) - 1) = a
End Sub