The formula below is intended to perform 2 matches. It works well, except when the 2nd field does not have a match in the Payroll tab. If there's no match, I simply want to to put "0" (zero). Thanks.
=XLOOKUP($A3,Payroll!$A$1:$A$400,(XLOOKUP(J$1,Payroll!$A$1:$AZ$1,Payroll!$A$1:$AZ$400,0)),0)
Bookmarks