Maybe safer with ...
Formula: copy to clipboard
=INDEX(A2:A10,MAX(IF(ISNUMBER(C2:C10)*ISNUMBER(SEARCH("L1",B2:B10)),ROW(A1:A9))))

Confirm with Ctrl+Shift+Enter

This will allow for blanks in Column C, and SEARCH() will handle "L1" and "l1" it isn't case-sensitive, FIND() is.