VB Code:
Private Sub CommandButton1_Click()
Dim intCellCounter As Integer
For intCellCounter = 1 To 5
Range("D" & intCellCounter).FormulaR1C1 = "=LOOKUP(RC[-3],RC[-2]:R[4]C[-2])"
If IsNumeric(Range("D" & intCellCounter).Value) Then
MsgBox "The value of cell A" & intCellCounter & " was found between " & _
"the range B1:B5, in row number " & intCellCounter & "." & vbCrLf & _
"The associated value within the 3rd column is " & Range("C" & intCellCounter)
End If
Next intCellCounter
End Sub
Let me know if this is what you're after! :) ;)