Sub sachavez()
Dim Cl As Range
Dim St1 As String, St2 As String
St1 = "AL"
St2 = "IY"
For Each Cl In Range("A2", Range("A" & Rows.Count).End(xlUp))
If InStr(1, Cl, St1, 1) > 0 And InStr(1, Cl.Offset(, 4), St2, 1) > 0 Then
Cl.Offset(, 4) = "abcd"
End If
Next Cl
End Sub