Try
Cell E2:=VLOOKUP(D2,$A$2:$B$10,2,0)
Cell D2: You selection input
//Ola