Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Plage As Variant
Dim L As Long, I As Long
If Target.Address(0, 0) = 'A1' Then
Me.Range('B1:B65536').ClearContents
L = 1
With Sheets('Data')
Plage = .Range('A2:B' & .Range('A65536').End(xlUp).Row)
End With
For I = 1 To UBound(Plage)
If Target.Value = Plage(I, 1) Then
Me.Cells(L, 2) = Plage(I, 2)
L = L + 1
End If
Next
End If
End Sub