In article
<2496449e-bd3e-458a-a6e5-ceaf600d25c5@l28g2000prd.googlegroups.com>,
> I should add, there are only four text codes, each representing a
> whole number, so the lookup would be really simple:
[quoted text clipped - 3 lines]
> ST 32
> DG 42
If the lookup table above were in, say, Sheet2!A1:B4, then one way:
=VLOOKUP(B1,Sheet2!$A$1:$B$4,2,FALSE)
or, if B1 may contain something other than the four values:
=IF(ISNA(MATCH(B1,Sheet2!$A$1:$A$4,FALSE), "", VLOOKUP(B1,
Sheet2!$A$1:$B$4,2,FALSE))