It's not clear what the final result that you want, but please try this :
(note : you can remove column E formulas, countifs() is performed by the macro itself)
Sub Test()
Dim a(), c As New Collection, strKey As String, i As Long, j As Long, p As Long
a = Range("A1").CurrentRegion.Resize(, 4).Value
For i = 2 To UBound(a, 1)
strKey = a(i, 1) & "|" & a(i, 2) & "|" & a(i, 3)
On Error Resume Next
c.Add key:=strKey, Item:=New Collection
On Error GoTo 0
c(strKey).Add a(i, 4)
Next i
p = 1
For i = 2 To UBound(a, 1)
strKey = a(i, 1) & "|" & a(i, 2) & "|" & a(i, 3)
If c(strKey).Count >= 2 And InStr(1, a(i, 4), "Updates on") > 0 Then
p = p + 1
For j = 1 To UBound(a, 2)
a(p, j) = a(i, j)
Next j
End If
Next i
For i = p + 1 To UBound(a, 1)
For j = 1 To UBound(a, 2)
a(i, j) = vbNullString
Next j
Next i
Range("G1").Resize(UBound(a, 1), UBound(a, 2)).Value = a
End Sub
Bookmarks