Im having trouble combining these two functions. I need the first one to operate first and then the second function. Both work separately but not when I put them together in the same cell which I need to?

=VLOOKUP(B21,$AC$1:$AD$10,2)

=IF(AND(F20>F21,F22>F21),F20,F21)

THanks Again