Excel में XLOOKUP कैसे इस्तेमाल करें (शुरुआती guide)
Read this guide in: English · मराठी · हिंदी
XLOOKUP एक lookup column में खोजकर return column से matching value लाता है। Excel 365 और Excel 2021 के लिए आधुनिक, साफ़ lookup।
दोस्तों, VLOOKUP का column number और “key बाईं ओर ही चाहिए” — दोनों उलझन XLOOKUP हटा देता है। Shop price lookup तेज़। एक Mumbai/Pune product sheet, before/after, फिर formula।
संक्षिप्त उत्तर
Vertical steps:
- Microsoft 365 या Excel 2021 confirm करो।
- Product ID cell में रखो (E2)।
=XLOOKUP(E2, lookup_column, return_column)टाइप करो।- Optional 4th:
"Not found"—#N/Aकी जगह। - Enter दबाओ।
- E2 बदलो — price update होगा।
=XLOOKUP(E2, A2:A6, B2:B6, "Not found")
Language: English · मराठी · हिंदी
Before और after
| Product ID | Price (₹) |
|---|---|
| P101 | 40 |
| P102 | 25 |
| P103 | 60 |
Lookup P103 → 60। Missing ID → Not found (if_not_found सेट हो तो)।
Before
आधी (Before)
पहले (Before)
After
नंतर (After)
बाद में (After)
XLOOKUP क्यों?
- Column index number गिनने की गलती नहीं।
- Lookup और return columns कहीं भी (key के बाएँ भी)।
- कुछ न मिले तो friendly message built-in।
XLOOKUP क्या है?
XLOOKUP पूछता है: इस column में यह value ढूँढो; उस दूसरे column से matching cell लाओ।
Formula parts
=XLOOKUP(E2, A2:A6, B2:B6, "Not found")
E2— lookup value।A2:A6— कहाँ खोजना है।B2:B6— क्या लौटाना है (same height)।"Not found"— optional if_not_found।
क्या होता है (tiny numbers)
- E2 = P103।
- Excel ID column में P103 ढूँढता है।
- Aligned price → 60।
- E2 = P199 → Not found (argument 4 सेट हो तो
#N/Aनहीं)।
Vertical practice steps
- A में IDs, B में prices।
- E2 =
P102। - F2 =
=XLOOKUP(E2,A2:A4,B2:B4,"Not found")। - Confirm 25।
- Fake ID — आपका message दिखेगा।
- Price को ID के बाएँ ले जाओ — XLOOKUP फिर भी चलेगा।
XLOOKUP vs VLOOKUP (quick)
| Topic | VLOOKUP | XLOOKUP |
|---|---|---|
| Column index | Required | Not needed |
| Left lookup | No | Yes |
| if_not_found | IFNA wrap | Built-in argument |
| Excel version | Older OK | 365 / 2021 |
Ravindra Bagale's Tip
Microsoft 365 पर नई workbook? XLOOKUP से शुरू करो। Interviews और पुराने office PCs के लिए VLOOKUP और INDEX+MATCH भी सीखो। Tools बदलते हैं, “exact lookup” का idea रहता है।
Practice task
- City → delivery fee table (Mumbai, Pune, Nashik)।
- XLOOKUP से city की fee लो।
- if_not_found =
"Check city spelling"। - जानबूझकर तोड़ो, फिर सुधारो।
Learn it properly
Related guides: VLOOKUP · INDEX + MATCH · FILTER
Samajla ka? XLOOKUP = इस column में खोजो, उस column से लाओ, optional miss message। आगे PivotTable बनाओ।
Frequently asked questions
What is XLOOKUP?
A modern lookup function that searches a lookup array and returns a matching value from a return array. It can look left or right.
XLOOKUP vs VLOOKUP?
XLOOKUP does not need a column index number, can return left of the key, and supports a default if_not_found argument.
Which Excel versions have XLOOKUP?
Microsoft 365 and Excel 2021. Excel 2016/2019 do not include it.
What if the key is missing?
Without if_not_found you get #N/A. Pass a fourth argument such as "Not found" for a clear message.
Can XLOOKUP return multiple columns?
Yes in Microsoft 365 by selecting a wider return array (spill). Start with one return column first.
Course lesson?
Chapter 4 — XLOOKUP basics and if_not_found. Linked below.