TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.1K subscribers
Post #2249 3.07K
๐Ÿ“Š Excel Basics #24 โ€“ INDEX() + MATCH() โ€“ Powerful Dynamic Lookup

"INDEX()" and "MATCH()" are often used together to create flexible lookup formulas. Before "XLOOKUP()", this combination was one of the most popular alternatives to "VLOOKUP()".

๐Ÿ“Œ How Does It Work?

Think of it this way:

๐Ÿ‘‰ "MATCH()" โ†’ Finds where the value is.

๐Ÿ‘‰ "INDEX()" โ†’ Returns what is at that position.

Together:

=INDEX(return_range,MATCH(lookup_value,lookup_range,0))


๐Ÿ“Œ Example โ€“ Find an Employee's Salary

Employee Department Salary

Rahul IT 60000

Priya HR 55000

Amit Finance 70000

Neha Marketing 65000

Suppose cell E2 contains: "Amit"

Formula:

=INDEX(C2:C5,MATCH(E2,A2:A5,0))


Result: 70000

๐Ÿ“Œ Step-by-Step

First, "MATCH()" searches for Amit:

=MATCH(E2,A2:A5,0)


Result: 3

Amit is the 3rd employee in the range.

Then "INDEX()" uses that position:

=INDEX(C2:C5,3)


Result: 70000

The combined formula performs both steps automatically.

๐Ÿ“Œ Why Use INDEX() + MATCH()?

Compared with traditional "VLOOKUP()":

โœ… Can look left or right.

โœ… Doesn't require a column index number.

โœ… More flexible when columns are inserted or rearranged.

โœ… Works well for dynamic lookup scenarios.

๐Ÿ“Œ Two-Way Lookup

"INDEX()" + "MATCH()" can also find a value based on both a row and a column.

Example:

Employee Jan Feb Mar

Rahul 50000 55000 60000

Priya 45000 50000 52000

Amit 60000 65000 70000

Suppose: E2 = Amit, F2 = Feb

Formula:

=INDEX(B2:D4,MATCH(E2,A2:A4,0),MATCH(F2,B1:D1,0))


Result: 65000

Here:

๐Ÿ‘‰ First MATCH() finds the employee row.

๐Ÿ‘‰ Second MATCH() finds the month column.

๐Ÿ‘‰ INDEX() returns the value at their intersection.

๐Ÿ“Œ Real-World Uses

โ€ข Employee salary lookup.

โ€ข Product price lookup.

โ€ข Customer information retrieval.

โ€ข Monthly sales analysis.

โ€ข Two-dimensional reporting.

โ€ข Dynamic dashboards.

๐Ÿ“Œ INDEX + MATCH vs XLOOKUP

"INDEX() + MATCH()":

โ€ข Very flexible.

โ€ข Works in older Excel versions.

โ€ข Excellent for advanced lookup logic.

"XLOOKUP()":

โ€ข Easier to write.

โ€ข Supports built-in "not found" handling.

โ€ข Can perform both vertical and horizontal lookups.

โ€ข Preferred in newer Excel versions.

๐Ÿ“Œ Common Mistakes

โŒ Forgetting the "0" in "MATCH()" for exact matching.

โŒ Using ranges with different sizes.

โŒ Referencing the wrong row or column range.

โœ… Best Practices

โ€ข Use exact matching ("0") for most business lookups.

โ€ข Keep lookup ranges consistent.

โ€ข Use absolute references when copying formulas.

โ€ข Use "XLOOKUP()" when it provides a simpler solution.

๐Ÿ’ก Remember:

MATCH() โ†’ Find the position

INDEX() โ†’ Return the value

INDEX + MATCH โ†’ Find the right value dynamically

Mastering this combination is an important Excel skill for data analysts and interview preparation.

Double Tap โค๏ธ For More
  • โค 9
More from @excel_analyst
  1. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  2. Oct 7, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 5 This part focuses on Tables, Filters & Data Analysis shortcutsโ€ฆ
  3. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  4. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  5. Sep 29, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 3 This part focuses on Formatting Shortcuts โ€” quickly format celโ€ฆ
  6. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’