You receive a customer credit review file with only Customer IDs. The finance team needs customer name, city, segment, credit limit and outstanding amount from the customer master. INDEX MATCH can fetch these details without depending on column index numbers.
What does INDEX MATCH do?
INDEX MATCH is a lookup technique that combines two functions. MATCH finds the position of the lookup value, and INDEX returns the value from that position in the return column.
INDEX MATCH formula structure
Basic syntax
Example: =INDEX('Customer Master'!B:B,MATCH(B4,'Customer Master'!A:A,0))
This finds the Customer ID in B4 inside the Customer ID column and returns the matching Customer Name from column B.
Business examples
| Need | Formula | Result |
|---|---|---|
| Find customer name | =INDEX(Master!B:B,MATCH(B4,Master!A:A,0)) | Aarav Traders |
| Find credit limit | =INDEX(Master!F:F,MATCH(B4,Master!A:A,0)) | ₹250,000 |
| Wrong customer ID | =IFERROR(INDEX(...),"Not Found") | Not Found |
When to use and when not to use INDEX MATCH
Interview question
Question: Why was INDEX MATCH preferred over VLOOKUP before XLOOKUP?
Answer: INDEX MATCH is more flexible because it can return values from left or right columns, does not depend on column index numbers, and is less likely to break when columns are inserted or moved.
Fetch customer details using INDEX MATCH
Download one ZIP file containing the practice workbook, challenge workbook, solution workbook, formula cheat sheet, quiz and answer key.
Mini assignment
- Use MATCH to find Customer ID position.
- Use INDEX MATCH to fetch Customer Name.
- Fetch City, Segment and Account Manager.
- Fetch Credit Limit and Outstanding amount.
- Use IFERROR to show “Not Found” for missing IDs.
Quick quiz
- What does INDEX do?
- What does MATCH do?
- What does 0 mean in MATCH?
- Can INDEX MATCH look left?
Answers: Returns value from a position; finds position; exact match; yes.