Hi,
Try...
=IF(ISNA(MATCH(CB2,Sheet2!AH:AH,0)),"",INDEX(Sheet2!AI:AJ,MATCH(CB2,Sheet2!AH:AH,0),1))
=IF(ISNA(MATCH(CB2,Sheet2!AH:AH,0)),"",INDEX(Sheet2!AI:AJ,MATCH(CB2,Sheet2!AH:AH,0),2))
The ",1" or ",2" will dtermine if the value is returned from Column AI or Column AJ.