It is, but you would need to have a helper column inbetween, which concatenates columns A and B, and then you can use something like

=Vlookup(Z1&Z2,$C$1:$D$100,2,0)

where column C contains concatenated columns A&B and Column D is the column to index.