I think that VBA will be a very good solution for your problem. Try.
Option Explicit
Sub OnyUniqueRows()
Dim a(), rws
Dim ms As String
Dim i As Long
Dim d As Object
a = Sheets("Sheet1").[A1].CurrentRegion.Value
Set d = CreateObject("Scripting.Dictionary")
For i = 2 To UBound(a)
ms = a(i, 1) & a(i, 2)
If Not d.exists(ms) Then
d(ms) = i
Else
d(ms) = "a"
End If
Next
rws = Filter(d.items, "a", False, 0)
With Sheets("Sheet2")
.UsedRange.ClearContents
With .[A1]
.Resize(1, 6) = Array("EventID", "part_number", "part_type", "description", "quantity", "days_affected")
.Offset(1, 0).Resize(UBound(rws)+1, 6) = Application.Index(a, Application.Transpose(rws), Array(1, 2, 3, 4, 5, 6))
End With
End With
Set d = Nothing
End Sub
Bookmarks