Excel INDEX+MATCH Formula Explained | Index Match का मैजिक Vlookup & Xlookup नहीं कर सकते

Excel INDEX+MATCH Formula Explained | Index Match का मैजिक Vlookup & Xlookup नहीं कर सकते1. Understand the Excel problem

Imagine your data looks something like this:




Suppose you enter an Employee ID, such as 105, and you want Excel to automatically give you:
Employee Name
Designation
City
Salary
Joining Date
The problem is that Employee ID is the last column.

2. Why not VLOOKUP?

The tutorial first talks about VLOOKUP.
The basic structure of VLOOKUP is:
=VLOOKUP(lookup_value, table_array, column_number, FALSE)
VLOOKUP searches for the lookup value in the first column of the selected table.
But in this example:
Employee Name → Designation → City → Salary → Date → Employee ID
Employee ID is at the end, not the beginning.
Instead, we use:
INDEX + MATCH

3. Understand INDEX
The basic INDEX formula is:
=INDEX(array, row_num)
"From this range, give me the value from this particular row."
For example:
=INDEX(A2:A10,3)
This means:
Go to the range A2:A10 and return the value from the 3rd row.
But we don't want to manually type the row number.
We want Excel to find the correct row automatically.
That's where MATCH comes in.

4. Understand MATCH
The basic MATCH formula is:
=MATCH(lookup_value, lookup_array, 0)
It means:
"Find this value in this column and tell me its position."
For example:
=MATCH(105,F2:F10,0)
If Employee ID 105 is the first item in F2:F10, MATCH returns:
1If Employee ID 106 is the second item, it returns:
2
If Employee ID 107 is the third item, it returns:
3
The 0 means:Find an exact match.

5. Combine INDEX and MATCH

Now we combine them.
Suppose:
Employee ID is in column F
Employee Name is in column A
The Employee ID you're searching for is in E3
The formula can be:
=INDEX(A2:A10,MATCH(E3,F2:F10,0))
Let's break this formula down.

First part
INDEX(A2:A10,...
We're telling Excel:
"I want the answer from the Employee Name column."

Second part
MATCH(E3,F2:F10,0)
We're telling Excel:
"Find the Employee ID from E3 inside the Employee ID column."
So if E3 contains 105, MATCH finds where 105 is located.
Then INDEX uses that row position to return the corresponding employee name.
For example:
Employee ID = 105

MATCH finds 105

MATCH returns row position


INDEX uses that position

Employee Name = Pradeep

6. Why the tutorial uses the heading with MATCH
This is one of the more confusing parts of the transcript.
The tutorial wants to make the formula drag-friendly.
Instead of manually changing the return range every time, it uses another MATCH to identify
which column should be returned.
So the formula becomes:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))
This is a more powerful version of INDEX + MATCH.
It has two MATCH functions.

7. Understand the complete formula
Let's assume your table is:
A = Employee Name
B = Designation
C = City
D = Salary
E = Joining Date
F = Employee ID
And the headings are in row 1.
Your formula could be:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))
There are three important components.

Component 1 — INDEX array
$A$2:$F$10
This is the entire data table.
We're telling Excel:
"The answer will come from somewhere inside this table."

Component 2 — Row MATCH
MATCH($E3,$F$2:$F$10,0)
This finds the Employee ID.
For example:
E3 = 105
MATCH searches for 105 in:
F2:F10
and tells INDEX which row contains employee 105.

Component 3 — Column MATCH
MATCH(A$1,$A$1:$F$1,0)
This determines which information we want.
For example, if A1 contains:
Employee Name

MATCH searches for "Employee Name" in the headings.

It returns the column position of Employee Name.
If we move the formula to the next column and the heading becomes:
Designation
MATCH finds the Designation column.
Move it again:
City
MATCH finds City.
This is why the formula can be dragged horizontally.
8. What does $ mean?
This is another major part of the tutorial.
The dollar sign $ is used to lock or fix a cell reference.
For example:
A1
can move when you copy the formula.
But:
$A$1
is completely locked.
It won't move.

There are four possibilities:

ReferenceWhat is locked?
A1Nothing
$A$1Column + Row
$A1Column only
A$1Row only

9. Why does the tutorial press F4?
In Excel, pressing F4 while editing a cell reference cycles through the locking options.
For example, start with:
E3
Press F4 once:
$E$3
Press F4 again:
E$3
Press F4 again:
$E3
Press F4 again:
E3
So F4 lets you quickly control what moves and what stays fixed.

10. Why lock the Employee ID column?
The tutorial uses something like:
$E3
This means:
$E → column E is locked
3 → row can change
This is useful when you drag the formula down.
For example:
E3 = 105
E4 = 106
E5 = 107
When you drag the formula down:
$E3
becomes:
$E4
$E5
The column stays E, but the row changes.
That's exactly what we want.

11. Why lock the main data range?
The tutorial also locks the main table:
$A$2:$F$10
Why?
Because when you drag the formula down, you don't want the data range to move.
Without $:
A2:F10
When you drag down, Excel might change it to:
A3:F1
Then:
A4:F12
That's not what we want.
With:
$A$2:$F$10
the range stays exactly the same.

12. Why lock the heading row?
The tutorial also uses something like:
A$1
This means:
Column can move
Row 1 stays fixed
This is important when you drag the formula across columns.
For example:
A$1
becomes:
B$1
then:
C$1
then:
D$1
The row stays at 1, while the column changes.
That's how Excel knows:"Now I want Employee Name, then Designation, then City, then Salary..."

13. Why the formula can now be dragged
This is the whole purpose of the $ signs.
You have a formula that knows:
Where the complete table is → keep fixed

Where Employee IDs are → keep the column fixed, allow row to change
Which heading to use → keep the heading row fixed, allow column to change
So you can drag the formula:

Down → get information for Employee 105, 106, 107, etc.
Across → get Name, Designation, City, Salary, Date, etc.

14. What happens when you drag down?
Suppose E3 contains:
105
The formula returns:
Pradeep | Manager | Delhi | 50000 | 06-Jun-2026
Then E4 contains:
106
When you drag the formula down, it automatically changes the lookup reference from:
$E3
to:
$E4
So Excel searches for Employee ID 106.
The result could be:
Rohan | HR | Noida | 45000 | 10-Jun-2026You don't need to create a new formula manually for every employee.

15. The date problem shown in the video
Near the end, the tutorial shows something like:
45814
instead of a date.
This is not an error.
Excel stores dates internally as numbers.
For example, a date such as:
06-Jun-2026
is stored internally as a serial number.
If the cell is formatted as a normal number, Excel displays that serial number instead of the
date.

16. How to fix the date

Select the cells containing the date.
Then change their format to a date format.
For example:
Home → Number Format → Short Date
After changing the format, the number will display as something like:
06-Jun-2026
instead of:
45814
The exact serial number depends on the date and Excel's date system.

17. The complete logic in simple English

The entire formula is basically saying:
"Look inside my complete employee table. Find the row where the Employee ID matches the ID I entered. Then find the column whose heading matches the information I want, and return the value where that row and column intersect."
That's the key concept.

18. Simple formulas to remember

If you only need to return one particular column, use:
=INDEX(NameRange,MATCH(EmployeeID,EmployeeIDRange,0))
Example:
=INDEX(A2:A10,MATCH(E3,F2:F10,0))
If you want a formula that can be dragged across and down, use the two-MATCH version:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))



ChatGPT said:

Bilkul. Neeche same script ko Hindi mein translate kiya hai. Formulas, cell references, $ signs aur Excel ke function names ko exactly same rakha hai, taaki aap directly Excel mein use kar sako.

1. Excel की समस्या को समझें

मान लीजिए आपका डेटा कुछ इस तरह है:




मान लीजिए आप कोई Employee ID, जैसे 105, डालते हैं और चाहते हैं कि Excel आपको अपने आप ये जानकारी दे:
Employee Name
Designation
City
Salary
Joining Date
समस्या यह है कि Employee ID सबसे आखिरी कॉलम में है।

2. VLOOKUP क्यों नहीं?

Tutorial में सबसे पहले VLOOKUP के बारे में बताया गया है।
VLOOKUP का basic structure है:
=VLOOKUP(lookup_value, table_array, column_number, FALSE)
VLOOKUP selected table के पहले कॉलम में lookup value को search करता है।
लेकिन हमारे इस example में:
Employee Name → Designation → City → Salary → Date → Employee ID
Employee ID शुरुआत में नहीं बल्कि सबसे आखिर में है।
इसलिए इस situation में VLOOKUP convenient नहीं है।
इसके बजाय हम use करेंगे:
INDEX + MATCH

3. INDEX को समझें

INDEX का basic formula है:
=INDEX(array, row_num)
इसे इस तरह समझिए:
"इस range में से मुझे इस particular row की value दे दो।"
उदाहरण के लिए:
=INDEX(A2:A10,3)
इसका मतलब है:
A2:A10 range में जाएँ और 3rd row की value को return करें।
लेकिन हम row number को manually type नहीं करना चाहते।
हम चाहते हैं कि Excel automatically सही row को find करे।
यहीं पर MATCH काम आता है।

4. MATCH को समझें

MATCH का basic formula है:
=MATCH(lookup_value, lookup_array, 0)
इसका मतलब है:
"इस value को इस column में ढूँढो और बताओ कि यह किस position पर है।"
उदाहरण के लिए:
=MATCH(105,F2:F10,0)
अगर Employee ID 105, F2:F10 में पहली item है, तो MATCH return करेगा:
1
अगर Employee ID 106 दूसरी item है, तो यह return करेगा:
2
अगर Employee ID 107 तीसरी item है, तो यह return करेगा:
3
यहाँ 0 का मतलब है:
Exact match ढूँढना।

5. INDEX और MATCH को combine करना

अब हम दोनों को combine करेंगे।
मान लीजिए:
Employee ID column F में है
Employee Name column A में है
जिस Employee ID को आप search कर रहे हैं, वह E3 में है
Formula होगा:
=INDEX(A2:A10,MATCH(E3,F2:F10,0))
अब इस formula को समझते हैं।
पहला भाग
INDEX(A2:A10,...
हम Excel को बता रहे हैं:
"मुझे answer Employee Name वाले column से चाहिए।"
दूसरा भाग
MATCH(E3,F2:F10,0)
हम Excel को बता रहे हैं:
"E3 में जो Employee ID है, उसे Employee ID वाले column के अंदर ढूँढो।"
अगर E3 में 105 है, तो MATCH यह पता करेगा कि 105 कहाँ मौजूद है।
इसके बाद INDEX उस row position का इस्तेमाल करके corresponding employee का नाम return करेगा।
उदाहरण के लिए:
Employee ID = 105

MATCH 105 को ढूँढता है

MATCH row position return करता है

INDEX उस position का इस्तेमाल करता है

Employee Name = Pradeep

6. Tutorial में MATCH के साथ heading का इस्तेमाल क्यों किया गया है?

यह transcript का थोड़ा confusing हिस्सा है।
Tutorial formula को drag-friendly बनाना चाहता है।
हर बार return range को manually बदलने के बजाय, एक और MATCH लगाया जाता है ताकि यह पता लगाया जा सके कि कौन-सा column return करना है।
इसलिए formula बन जाता है:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))
यह INDEX + MATCH का ज्यादा powerful version है।
इसमें दो MATCH functions हैं।

7. Complete formula को समझें

मान लीजिए आपकी table इस तरह है:
A = Employee Name
B = Designation
C = City
D = Salary
E = Joining Date
F = Employee ID
और headings row 1 में हैं।
आपका formula हो सकता है:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))
इस formula के तीन important components हैं।

Component 1 — INDEX array

$A$2:$F$10
यह पूरी data table है।
हम Excel को बता रहे हैं:
"Answer इस पूरी table के अंदर कहीं से आएगा।"

Component 2 — Row MATCH

MATCH($E3,$F$2:$F$10,0)
यह Employee ID को ढूँढता है।
उदाहरण के लिए:
E3 = 105
MATCH 105 को यहाँ search करता है:
F2:F10
और INDEX को बताता है कि Employee 105 किस row में है।

Component 3 — Column MATCH

MATCH(A$1,$A$1:$F$1,0)
यह determine करता है कि हमें कौन-सी information चाहिए।
उदाहरण के लिए अगर A1 में लिखा है:
Employee Name
तो MATCH headings के अंदर "Employee Name" को search करता है।
यह Employee Name की column position return करता है।
अगर हम formula को अगले column में move करते हैं और heading बन जाती है:
Designation
तो MATCH Designation वाले column को find करता है।
फिर आगे move करने पर:
City
MATCH City वाले column को find करता है।
इसी वजह से formula को horizontally drag किया जा सकता है।

8. $ का क्या मतलब है?

यह tutorial का एक बहुत important हिस्सा है।
Dollar sign $ का इस्तेमाल cell reference को lock या fix करने के लिए किया जाता है।
उदाहरण के लिए:
A1
जब आप formula को copy करते हैं तो यह move हो सकता है।
लेकिन:
$A$1
पूरी तरह locked है।
यह move नहीं होगा।
चार possibilities हैं:
Referenceक्या locked है?
A1कुछ भी नहीं
$A$1Column + Row
$A1केवल Column
A$1केवल Row

9. Tutorial में F4 क्यों दबाया जाता है?

Excel में किसी cell reference को edit करते समय F4 दबाने से locking options बदलते हैं।
उदाहरण के लिए शुरुआत में:
E3
F4 एक बार दबाएँ:
$E$3
F4 दोबारा दबाएँ:
E$3
F4 दोबारा दबाएँ:
$E3
F4 दोबारा दबाएँ:
E3
इसलिए F4 की मदद से आप जल्दी decide कर सकते हैं कि क्या move होगा और क्या fixed रहेगा।

10. Employee ID column को lock क्यों करें?

Tutorial में कुछ इस तरह use किया गया है:
$E3
इसका मतलब है:
$E → column E locked है
3 → row change हो सकती है
यह तब useful है जब आप formula को नीचे drag करते हैं।
उदाहरण के लिए:
E3 = 105
E4 = 106
E5 = 107
जब आप formula को नीचे drag करते हैं:
$E3
बदलकर हो जाता है:
$E4
$E5
Column E वही रहता है, लेकिन row बदलती रहती है।
और हमें यही चाहिए।

11. Main data range को lock क्यों करें?

Tutorial में main table को भी lock किया गया है:
$A$2:$F$10
क्यों?
क्योंकि जब आप formula को नीचे drag करते हैं, तो आप नहीं चाहते कि data range move हो।
बिना $ के:
A2:F10
जब आप इसे नीचे drag करेंगे तो Excel इसे बदल सकता है:
A3:F11
फिर:
A4:F12
यह हम नहीं चाहते।
लेकिन अगर हम use करते हैं:
$A$2:$F$10
तो range बिल्कुल उसी जगह fixed रहती है।

12. Heading row को lock क्यों करें?

Tutorial में कुछ इस तरह use किया गया है:
A$1
इसका मतलब है:
Column move हो सकता है
Row 1 fixed रहेगी
यह तब important है जब आप formula को columns के across drag करते हैं।
उदाहरण के लिए:
A$1
बदलकर होगा:
B$1
फिर:
C$1
फिर:
D$1
Row 1 वही रहती है, जबकि column बदलता रहता है।
इसी तरह Excel समझता है:
"अब मुझे Employee Name चाहिए, फिर Designation, फिर City, फिर Salary..."

13. अब formula को drag क्यों किया जा सकता है?

यही पूरा purpose है $ signs का।
आपके formula को पता है:
Complete table कहाँ है → उसे fixed रखना है
Employee IDs कहाँ हैं → column को fixed रखना है और row को change होने देना है
कौन-सी heading use करनी है → heading row को fixed रखना है और column को change होने देना है
इसलिए आप formula को:
नीचे drag कर सकते हैं → Employee 105, 106, 107 आदि की information मिलेगी।
Across drag कर सकते हैं → Name, Designation, City, Salary, Date आदि मिलेंगे।

14. जब आप formula को नीचे drag करते हैं तो क्या होता है?

मान लीजिए E3 में है:
105
Formula return करेगा:
Pradeep | Manager | Delhi | 50000 | 06-Jun-2026
अब E4 में है:
106
जब आप formula को नीचे drag करते हैं, तो lookup reference automatically:
$E3
से बदलकर:
$E4
हो जाता है।
इसलिए Excel Employee ID 106 को search करता है।
Result हो सकता है:
Rohan | HR | Noida | 45000 | 10-Jun-2026
आपको हर employee के लिए manually नया formula बनाने की जरूरत नहीं है।

15. Video में दिखाई गई Date की समस्या

Video के अंत में tutorial में कुछ इस तरह दिखाई देता है:
45814
जबकि वहाँ date होनी चाहिए।
यह कोई error नहीं है।
Excel internally dates को numbers के रूप में store करता है।
उदाहरण के लिए:
06-Jun-2026
Excel के अंदर एक serial number के रूप में store होता है।
अगर cell का format normal number है, तो Excel date की जगह वही serial number दिखाता है।

16. Date को कैसे ठीक करें?

जिस cells में date है, उन्हें select करें।
फिर उनका format Date में change करें।
उदाहरण के लिए:
Home → Number Format → Short Date
Format बदलने के बाद number कुछ इस तरह दिखाई देगा:
06-Jun-2026
इसके बजाय:
45814
Exact serial number date और Excel के date system पर depend करता है।

17. पूरी logic को आसान Hindi में समझें

पूरे formula का मतलब basically यह है:
"मेरी पूरी employee table के अंदर जाओ। जिस Employee ID को मैंने enter किया है, उससे match करने वाली row को ढूँढो। फिर उस information की heading से match करने वाला column ढूँढो जो मुझे चाहिए, और उस row और column के intersection पर मौजूद value को return कर दो।"
यही इस पूरे concept की सबसे important बात है।

18. याद रखने वाले Simple Formulas

अगर आपको केवल एक particular column से result निकालना है, तो use करें:
=INDEX(NameRange,MATCH(EmployeeID,EmployeeIDRange,0))
Example:
=INDEX(A2:A10,MATCH(E3,F2:F10,0))
अगर आप ऐसा formula चाहते हैं जिसे across और down दोनों तरफ drag किया जा सके, तो two-MATCH version use करें:
=INDEX($A$2:$F$10,MATCH($E3,$F$2:$F$10,0),MATCH(A$1,$A$1:$F$1,0))


Post a Comment

Previous Post Next Post