XLOOKUP
Syntax Structure
=XLOOKUP(lookup_val, lookup_arr, return_arr, [if_not_found])Finds matches anywhere with built-in error handling.
Live Interactive Spreadsheet
⚡ Excel 365, 2021, Web
Query SKU table safely with error handling.
| # | A (SKU) | B (Product) | C (Price) | D (Stock) |
|---|---|---|---|---|
| 2 | SKU-10 | Wireless Keyboard | 35.00 | In Stock |
| 3 | SKU-99 | Ergonomic Mouse | 49.99 | In Stock |
| 4 | SKU-44 | USB-C Dock | 120.00 | Low Stock |
Why XLOOKUP Replaces VLOOKUP
XLOOKUP is the most powerful lookup function introduced in modern Excel.
💡 Pro Tip / Best Practice
XLOOKUP defaults to exact match and can search left or right without breaking when columns are inserted.