I tried to make it.
but it dose not work now.
Woud you teach me about loop setting?

I want to loop all.
vba is
Sub sample_1()
If Range("B2").Value <> "" Then
If Range("C2").Value <> "" Then
Range("D2").Value = "input"
End If
End If
End Sub
if.zip (1.2 MB)