Hi all,
I am trying to use an Xlookup to return the max date from column C (sheet2) where there is a matching value in column A (sheet1) against column B (sheet2). This is the formula for my two failed attempts below.
=IFERROR(XLOOKUP(MAX(A1),Sheet2!B:B,Sheet2!C:C,""),"")
Answer returned = 19/01/22
=IFERROR(XLOOKUP(A1,Sheet2!B:B,MAX(Sheet2!C:C),""),"")
Answer returned = blank
Sheet1
A1 = 123456
Sheet2
B1 = 123456
B2 = 123456
C1 = 19/01/22
C2 = 23/05/22
As always, I will be super grateful for any help from my favorite community,
JD
I am trying to use an Xlookup to return the max date from column C (sheet2) where there is a matching value in column A (sheet1) against column B (sheet2). This is the formula for my two failed attempts below.
=IFERROR(XLOOKUP(MAX(A1),Sheet2!B:B,Sheet2!C:C,""),"")
Answer returned = 19/01/22
=IFERROR(XLOOKUP(A1,Sheet2!B:B,MAX(Sheet2!C:C),""),"")
Answer returned = blank
Sheet1
A1 = 123456
Sheet2
B1 = 123456
B2 = 123456
C1 = 19/01/22
C2 = 23/05/22
As always, I will be super grateful for any help from my favorite community,
JD