Good evening Jillzz
It's hard for me to give you an answer any more tailored than the one below, given the infomation you have supplied, but it should get you on the right track.
=IF(ISERROR(VLOOKUP(A10,E5:F8,2,0))=TRUE,0,VLOOKUP(A10,E5:F8,2,0))
HTH
DominicB