write =vlookup(A2,Product table A:B,2,0)
then press control +A
The press control + C
the right click then press V
(or select paste special/values) bit hard to tell considering you have not identified the version.
The press Control +s
If all else fails, press Control + F4
If you want this in macro format, please post your code for adjustment/tweaking/review.