How do I use XLOOKUP in Excel?
Enter the lookup value, lookup range, and return range in order. Unlike VLOOKUP, XLOOKUP uses an explicit return range instead of a column number, so it can return values on the left side of the lookup column. For example, to return the product name to the left of a product ID, use XLOOKUP(B2, B2:B8, A2:A8, "Not registered").