=IF(B1="NA","un-analysed",VLOOKUP(A1,F:G,2,0))
try this formula in c1 and copy towards down