Maybe something like ...

=IF(B1 = "Odd",VLOOKUP(A1,Sheet2!A:B,2,0),IF(Sheet1!B1 = "Even",VLOOKUP(A1,Sheet3!A:B,2,0),""))