I have 2 columns of data, 1 of which is repeating data, and im looking for a formula to give me the ROW # for which the values in 2 cells are TRUE.

Input Cell A1: code001
Input Cell A2: 30BE

Value that i need: the ROW # that contains both of those values. (in this example, i would need it to return ROW 2)

column A column B
code001 15BE
code001 30BE
code001 45BE
code001 60BE
code002 15BE
code002 30BE
code002 45BE
code002 60BE
etc. etc.

Can anyone help? Im thinking its a combination of MATCH, INDEX, VLOOKUP, and/or HLOOKUP??