Bonjour et bienvenue sur le forum
Un essai à tester. Te convient-il ?
Option Explicit
Dim tablo, tabloM
Dim i&, iM&, jM&, d$
Sub Report()
tablo = Range("A3:E" & Range("E" & Rows.Count).End(xlUp).Row)
Range("J3:M6").ClearContents
tabloM = Range("I3:M7")
For iM = 1 To UBound(tabloM, 1) - 1
For jM = 2 To UBound(tabloM, 2)
For i = 1 To UBound(tablo, 1)
'For j = 4 To 5
If UCase(tablo(i, 4)) = UCase(tabloM(iM, 1)) And UCase(tablo(i, 5)) = UCase(tabloM(UBound(tabloM, 1), jM)) Then
d = IIf(tabloM(iM, jM) = "", "", " ")
tabloM(iM, jM) = tabloM(iM, jM) & d & tablo(i, 1)
End If
'Next j
Next i
Next jM
Next iM
Range("I3").Resize(UBound(tabloM, 1), UBound(tabloM, 2)) = tabloM
End Sub
Bye !