Excel मध्ये XLOOKUP कसे वापरायचे (नवशिक्यांसाठी)
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” ची कल्पना राहते.
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
समजलं का? XLOOKUP = या column मध्ये शोधा, त्या column मधून आणा, optional miss message. आता PivotTable create करा.
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.