Can you be more specific about your data table? Is the value you want to look up in Column A? or anywhere between A and Z? If in A, try this

=INDEX(filename!$B:$B,MATCH(A1&"*",filename!$A:$A,0))
Does that work for you?