Loading Page Content...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Introduced to replace VLOOKUP, HLOOKUP, and standard INDEX/MATCH in modern Excel (Office 365 and Excel 2021+), XLOOKUP is one of the most powerful and versatile functions ever added to the spreadsheet engine.
+-----------------------------------+-----------------------------------+ | Legacy VLOOKUP | Modern XLOOKUP | +-----------------------------------+-----------------------------------+ | Can only look to the right | Looks Left, Right, Up, and Down | | Requires fragile col_index_num | Uses direct range selections | | Defaults to dangerous Approx Match| Defaults to SAFE Exact Match (0) | | Breaks when columns are inserted | Resilient to column insertions | | Needs nested IFERROR to catch #N/A| Built-in [if_not_found] parameter| +-----------------------------------+-----------------------------------+
XLOOKUP accepts up to six parameters, though only the first three are mandatory:
Look up customer ID in Column D and return Customer Name in Column A (Left lookup):
Notice: No column numbers, no '$' column offset errors, and if missing, it displays "Customer Not Found" automatically!
Need to pull Name, Department, and Salary simultaneously?
Because 'return_array' spans three columns (A:C), XLOOKUP automatically spills all three values across three adjacent cells horizontally from a single formula!
In transaction logs, the newest entry for an account is at the bottom of the table. Standard VLOOKUP only finds the first entry at the top. By setting search_mode to -1:
XLOOKUP scans from the bottom up, instantly retrieving the customer’s latest transaction!
Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| INDEX & MATCH for Dynamic 2-Way Lookups | Array Formulas & Dynamic Arrays (FILTER, SORT, UNIQUE) |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.