Excel Formulas: X lookup, V lookup, Index/match

Excel Formulas: XLOOKUP, VLOOKUP, INDEX/MATCH

Excel Formulas: XLOOKUP, VLOOKUP, INDEX/MATCH

Mastering Lookup Functions for Smart Data Search in Excel

🗂️ Sample Dataset

Product ID Product Name Category Price
101AppleFruit1.20
102BananaFruit0.50
103CarrotVegetable0.80
104DatesDry Fruit3.00
105EggsProtein2.50

🔍 1. VLOOKUP – The Classic Lookup

Example: Find the price of “Carrot”

=VLOOKUP("Carrot", B2:D6, 3, FALSE)

Result: 0.80

Note: VLOOKUP searches only left to right and breaks if columns change.

🧩 2. INDEX + MATCH – Flexible and Accurate

Example: Find the Product ID of "Dates"

=INDEX(A2:A6, MATCH("Dates", B2:B6, 0))

Result: 104

Advantage: You can look up to the left!

🌟 3. XLOOKUP – The Modern All-in-One Formula

Example: Find the Category of “Banana”, and return “Not Found” if not found

=XLOOKUP("Banana", B2:B6, C2:C6, "Not Found")

Result: Fruit

Bonus: Built-in error handling without IFERROR

📊 Comparison Table

Feature VLOOKUP INDEX + MATCH XLOOKUP
Lookup DirectionLeft to Right onlyAny directionAny direction
Match TypeExact / ApproximateExact onlyExact / Approximate
Error HandlingNeeds IFERRORNeeds IFERRORBuilt-in
Dynamic Columns
Ease of UseEasy for beginnersMediumEasy & modern
AvailabilityAll Excel versionsAll Excel versionsExcel 365 / 2019+

✅ Summary

Task Best Formula
Simple lookupsVLOOKUP
Lookup in either directionINDEX/MATCH
Modern and powerful lookupsXLOOKUP

🚀 Try It Yourself!

Practice using the dataset above. Try changing the lookup value (like "Eggs") in each formula and see how the results update.

Comments

Popular posts from this blog

Excel Vba Intro

Introduction To Excel VBA

Learn Excel VBA Basics