I have used a function and dont want to get #n/a but replace with a blank after using =INDEX('K1'!A:B, MATCH(HAM!C62, 'K1'!A:A,0),2)