XLOOKUP (Microsoft 365) replaces many VLOOKUP/HLOOKUP patterns with simpler syntax and optional not-found messages.
Example
=XLOOKUP(A2, ProductID, Price, "Missing SKU")
Features
- Search left or right
- Return multiple values or rows
- Built-in if_not_found
Important interview questions and answers
- Q: XLOOKUP vs VLOOKUP?
A: More flexible search direction and error handling. - Q: 365 only?
A: Check org Excel version before relying on it.
Self-check
- One advantage of XLOOKUP?
- What to check before using XLOOKUP at work?
Tip: Confirm Microsoft 365 before training teammates on XLOOKUP.
Interview prep
- Advantage?
Look left, custom not-found, simpler syntax.