0

I have a list of suppliers on sheet 1 in column A

I also have a list of suppliers on sheet 2 in column B, with the matching account numbers in column A.

I need a formula that looks at the suppliers in column A of sheet 1 and if that supplier name exists in column B of sheet 2, then it populates sheet 1 with the data found in column A of sheet 2 (the account numbers).

What formula would work best for this?

js369
  • 1

1 Answers1

0

XLOOKUP should do the trick.

=XLOOKUP(A4;Sheet2!B:B;Sheet2!A:A;"NO_MATCH")

Sheet1

Sheet1

Sheet2

Sheet2

DaGunMan
  • 26
  • 2