A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Here is a macro you can run:
Sub RemoveDups()
Dim r As Long
Dim m As Long
Dim a() As String
Dim d As Object
Dim v As Variant
Application.ScreenUpdating = False
m = Range("B" & Rows.Count).End(xlUp).Row
For r = 4 To m
a = Split(Range("B" & r).Value, vbLf)
Set d = CreateObject(Class:="Scripting.Dictionary")
For Each v In a
d(v) = Null
Next v
Range("B" & r).Value = Join(d.Keys, vbLf)
Next r
Application.ScreenUpdating = True
End Sub