Excel में INDEX और MATCH एक साथ कैसे इस्तेमाल करें
Read this guide in: English · मराठी · हिंदी
MATCH lookup value की position ढूँढता है। INDEX उस position की value लौटाता है। साथ में exact flexible lookup — left lookup सहित।
दोस्तों, VLOOKUP बाईं तरफ़ return नहीं कर सकता। INDEX + MATCH कर सकता है। Interviews + पुरानी Excel files। MATCH row number ढूँढता है, INDEX cell pick करता है।
संक्षिप्त उत्तर
Vertical steps:
- ID column में Product ID के लिए MATCH
0(exact) के साथ। - Position number नोट करो (जैसे 2)।
- Price column पर INDEX उस position के साथ।
- Nest:
=INDEX(PriceCol, MATCH(E2, IDCol, 0))। - Enter — price दिखेगा।
- Price ID के बाएँ हो तब भी चलेगा।
=INDEX(B2:B6, MATCH(E2, A2:A6, 0))
Language: English · मराठी · हिंदी
Before और after
| Product ID | Price (₹) |
|---|---|
| P101 | 40 |
| P102 | 25 |
| P103 | 60 |
Lookup P102 → MATCH 2 → INDEX 25।
Before
आधी (Before)
पहले (Before)
After
नंतर (After)
बाद में (After)
INDEX + MATCH क्यों?
- Return column key के बाएँ हो सकता है (VLOOKUP नहीं)।
- Columns insert करते समय hard-coded VLOOKUP col_index से कम डर।
- Excel interviews में अभी भी पूछते हैं।
हर हिस्सा क्या करता है
MATCH
=MATCH(E2, A2:A4, 0)
- P102 ढूँढता है।
- A2:A4 में position 2 देता है।
0= exact match (VLOOKUP FALSE जैसा)।
INDEX
=INDEX(B2:B4, 2)
- B2:B4 में position 2 पर जाता है।
- 25 लौटाता है।
Combined
=INDEX(B2:B4, MATCH(E2, A2:A4, 0))
Step by step क्या होता है
- E2 = P102।
- MATCH → 2।
- INDEX(…, 2) → 25।
- Missing ID → MATCH से
#N/A।
Vertical practice steps
- ID + Price table बनाओ।
- Spare cell में MATCH अकेला — number देखो।
- INDEX wrap करो।
- Columns swap: Price ID के बाएँ; INDEX Price की तरफ़, MATCH ID की तरफ़।
- Microsoft 365 हो तो XLOOKUP से तुलना।
- दोनों formulas notes में लिखो।
Ravindra Bagale's Tip
Debug दो cells में पहले: MATCH अकेला, फिर INDEX अकेला typed number से। दोनों ठीक हों तब nest। एकदम घना formula = confusion बढ़ती है।
Practice task
- City column A, fee column B — Pune की fee INDEX+MATCH।
- Fee city के बाएँ ले जाओ — दोहराओ।
- एक वाक्य में बताओ VLOOKUP left layout पर क्यों fail हुआ।
Learn it properly
Samajla ka? MATCH = position, INDEX = उस position की value। साथ = flexible exact lookup। आगे Remove Duplicates।
Frequently asked questions
Why INDEX+MATCH instead of VLOOKUP?
It can return a column to the left of the key and stays stable if you insert columns carefully.
What does MATCH 0 mean?
Exact match — same idea as VLOOKUP FALSE.
#N/A from MATCH?
Key not found or wrong range. Check the lookup value and the ID list.
Two-way lookup?
MATCH for row and MATCH for column inside INDEX — covered in the course chapter.
XLOOKUP available?
Use XLOOKUP for new work on Microsoft 365; INDEX+MATCH remains widely taught.
Course lesson?
Chapter 4 — INDEX and MATCH.