We probably need more examples but assuming that, the text in U or V always starts with 3 alpha, then space, then a 6 digit ID, in Q4 copied down, try

=IFERROR(VLOOKUP(MID(V4,5,6)+0, Sheet2!$A$2:$B$133,2,FALSE),VLOOKUP(MID(U4,5,6)+0, Sheet2!$A$2:$B$133,2,FALSE))
Does that work for you?