Sub Macro2()
Dim L As Long, i As Long, j As Long, c As Long, k As Long
Dim Tb(), TDate(1 To 8, 1 To 2), Bd As Worksheet
'Tableau date
TDate(1, 1) = "T1": TDate(1, 2) = 1960
TDate(2, 1) = "H2": TDate(2, 2) = 1960
TDate(3, 1) = "O1": TDate(3, 2) = 1982
TDate(4, 1) = "G1": TDate(4, 2) = 1986
TDate(5, 1) = "L1": TDate(5, 2) = 1996
TDate(6, 1) = "G2": TDate(6, 2) = 2000
TDate(7, 1) = "DL1": TDate(7, 2) = 2004
TDate(8, 1) = "RO1": TDate(8, 2) = 2006
Set Bd = Sheets("bd")
L = Bd.Range("A" & Rows.Count).End(xlUp).Row
Tb = Bd.Range("A1:C" & L).Value
For i = 1 To UBound(Tb)
For j = 1 To 8
If Tb(i, 1) = TDate(j, 1) And Year(Tb(i, 3)) >= TDate(j, 2) Then
c = c + 1
Tb(c, 1) = Tb(i, 1)
Tb(c, 2) = Tb(i, 2)
Tb(c, 3) = Tb(i, 3)
Exit For
End If
Next j
Next i
Bd.Range("i:k").Clear
Bd.Range("i1").Resize(c, 3) = Tb
End Sub