b7 cell
=INDEX($B$18:$B$32,MATCH(TRUE,(B5=$A$18:$A$32),0))
then Ctrl+Shift+enter