ربما تقصد هذا
Sub TrData()
Dim ws As Worksheet, Detl As Worksheet
Dim LR, LR1 As Long, p As Long, A As Long, C As Range
Set ws = Sheets("قاعدة البيانات")
Set Detl = Sheets("بيان")
LR = Detl.Range("H" & Rows.Count).End(3).Row
For Each C In ws.Range("E2:E" & ws.Range("E" & Rows.Count).End(3).Row)
A = WorksheetFunction.CountIf(Detl.Range("H2:H" & LR), C)
If A = 0 Then
Detl.Range("H" & LR + 1).Offset(p).Resize(12) = C
Detl.Range("I" & LR + 1).Offset(p).Resize(12) = C.Offset(, 1)
p = p + 12
End If
Next
End Sub