Need a formula to return a specific value based on the potential combination of 2 cells - after a vlookup.

So Currently have a vlookup mapping 1 column to certain categorie
need it to say then - after doing that lookup - if 2 cells contain certain text - then the return value is X.