Ravindra BagaleCourses & study guides Track your progress

Guides

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:

  1. Microsoft 365 या Excel 2021 confirm करो।
  2. Product ID cell में रखो (E2)।
  3. =XLOOKUP(E2, lookup_column, return_column) टाइप करो।
  4. Optional 4th: "Not found" — #N/A की जगह।
  5. Enter दबाओ।
  6. 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 XLOOKUP Product list before XLOOKUP.

Before

After XLOOKUP XLOOKUP returns 60 or Not found.

After

XLOOKUP क्यों?

  1. Column index number गिनने की गलती नहीं।
  2. Lookup और return columns कहीं भी (key के बाएँ भी)।
  3. कुछ न मिले तो friendly message built-in।

XLOOKUP क्या है?

XLOOKUP पूछता है: इस column में यह value ढूँढो; उस दूसरे column से matching cell लाओ।

Formula parts

=XLOOKUP(E2, A2:A6, B2:B6, "Not found")
  1. E2 — lookup value।
  2. A2:A6 — कहाँ खोजना है।
  3. B2:B6 — क्या लौटाना है (same height)।
  4. "Not found" — optional if_not_found।

क्या होता है (tiny numbers)

  1. E2 = P103।
  2. Excel ID column में P103 ढूँढता है।
  3. Aligned price → 60।
  4. E2 = P199 → Not found (argument 4 सेट हो तो #N/A नहीं)।

Vertical practice steps

  1. A में IDs, B में prices।
  2. E2 = P102।
  3. F2 = =XLOOKUP(E2,A2:A4,B2:B4,"Not found")।
  4. Confirm 25।
  5. Fake ID — आपका message दिखेगा।
  6. 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

  1. City → delivery fee table (Mumbai, Pune, Nashik)।
  2. XLOOKUP से city की fee लो।
  3. if_not_found = "Check city spelling"।
  4. जानबूझकर तोड़ो, फिर सुधारो।

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.