Need a lookup formula more powerful than VLOOKUP? INDEX & MATCH is that power couple combining two functions to create flexible, fast lookups that work in any direction. It’s the preferred method for serious Excel users and eliminates VLOOKUP’s biggest limitations.
What Makes INDEX & MATCH Powerful
INDEX MATCH solves VLOOKUP’s problems:
- Look left or right – No column order restrictions
- Insert-proof – Adding columns won’t break your formulas
- Faster performance – Calculates quicker with large datasets
- Dynamic references – Column positions update automatically
- Two-way lookups – Search both rows and columns simultaneously
How It Works
INDEX retrieves a value from a specific position. MATCH finds the position of a value.
Together: MATCH finds the position, INDEX retrieves the value at that position.
The Combined Syntax
=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))MATCH returns a number, INDEX uses that number to get the value.
Example 1: Basic Lookup (Replacing VLOOKUP)
Find the price for “Keyboard”:
| Product | Price | Stock |
|---|---|---|
| Laptop | $4,500 | 25 |
| Mouse | $250 | 150 |
| Keyboard | $800 | 75 |
| Monitor | $1,200 | 40 |
Formula: =INDEX(B2:B5, MATCH("Keyboard", A2:A5, 0))
Result: $800
MATCH finds “Keyboard” at position 3, INDEX returns the value from position 3 in the price column.
Example 2: Looking Left (Impossible with VLOOKUP)
Find the product for a specific price:
| Price | Product | Stock |
|---|---|---|
| $4,500 | Laptop | 25 |
| $250 | Mouse | 150 |
| $800 | Keyboard | 75 |
Formula: =INDEX(B2:B4, MATCH(800, A2:A4, 0))
Result: Keyboard
The lookup column is right of the return column. VLOOKUP can’t do this, INDEX MATCH handles it easily.
Example 3: Two-Way Lookup (Row and Column)
Find Product B’s Q3 sales:
| Q1 | Q2 | Q3 | Q4 | |
|---|---|---|---|---|
| Product A | $125K | $138K | $145K | $162K |
| Product B | $98K | $105K | $112K | $119K |
| Product C | $87K | $92K | $98K | $103K |
Formula: =INDEX(B2:E4, MATCH("Product B", A2:A4, 0), MATCH("Q3", B1:E1, 0))
Result: $112K
First MATCH finds the row (Product B = 2), second MATCH finds the column (Q3 = 3), INDEX retrieves B3:E4’s position [2,3].
Example 4: Dynamic Column Selection
Let user pick which column to return:
| Product | Price | Stock | Warranty |
|---|---|---|---|
| Laptop | $4,500 | 25 | 2 years |
| Mouse | $250 | 150 | 1 year |
| Keyboard | $800 | 75 | 1 year |
Cell F1: “Stock” (user input)
Formula: =INDEX(A2:D4, MATCH("Mouse", A2:A4, 0), MATCH(F1, A1:D1, 0))
Result: 150
Change F1 to “Price” and get $250. Change to “Warranty” and get 1 year.
Example 5: Multiple Criteria Lookup
Find sales for West region AND Laptop product:
| Product | Region | Sales |
|---|---|---|
| Laptop | East | $4,200 |
| Mouse | West | $250 |
| Laptop | West | $4,500 |
| Keyboard | West | $800 |
Formula: =INDEX(C2:C5, MATCH(1, (A2:A5="Laptop")*(B2:B5="West"), 0))
Result: $4,500
Enter with Ctrl+Shift+Enter in older Excel. The 1 represents TRUE when both conditions match.
Example 6: Approximate Match for Ranges
Find tax rate for income of $65,000:
| Income Threshold | Tax Rate |
|---|---|
| $0 | 10% |
| $10,000 | 12% |
| $40,000 | 22% |
| $85,000 | 24% |
Formula: =INDEX(B2:B5, MATCH(65000, A2:A5, 1))
Result: 22%
Match_type 1 finds the largest value less than or equal to 65,000 (which is $40,000).
INDEX MATCH vs VLOOKUP
| Feature | INDEX MATCH | VLOOKUP |
|---|---|---|
| Look left | Yes | No |
| Column changes | Doesn’t break | Breaks formulas |
| Performance | Faster | Slower |
| Two-way lookup | Yes | No |
| Learning curve | Steeper | Easier |
| Insert columns | Safe | Risky |
Common Patterns
Basic lookup:
=INDEX(return_column, MATCH(lookup_value, lookup_column, 0))Two-way lookup:
=INDEX(data_range, MATCH(row_value, row_range, 0), MATCH(col_value, col_range, 0))Multiple criteria:
=INDEX(return_range, MATCH(1, (criteria1_range=value1)*(criteria2_range=value2), 0))With wildcards:
=INDEX(return_range, MATCH("*partial*", lookup_range, 0))Why INDEX MATCH is Better
Column Independence VLOOKUP breaks when you insert columns. INDEX MATCH references stay intact.
Flexibility Look up values anywhere—left, right, doesn’t matter.
Speed INDEX MATCH calculates faster, especially with thousands of rows.
Clarity Once you understand it, the logic is clearer than counting columns.
Common Mistakes to Avoid
Mismatched Range Sizes
- Lookup range and return range must have the same row count
MATCH(A2:A10, ...)pairs withINDEX(B2:B10, ...)- Not
INDEX(B2:B15, ...)
Wrong Match Type
- Use 0 for exact match (most common)
- Use 1 for approximate match (requires sorted ascending)
- Use -1 for approximate match (requires sorted descending)
Array Formula Entry
- Multiple criteria needs Ctrl+Shift+Enter in older Excel
- Excel 365 handles it automatically
- Check for curly braces: {=formula}
Error Handling
Graceful failure:
=IFERROR(INDEX(B:B, MATCH(E2, A:A, 0)), "Not found")Check before lookup:
=IF(COUNTIF(A:A, E2)>0, INDEX(B:B, MATCH(E2, A:A, 0)), "Missing")Advanced Applications
Return entire row:
=INDEX(A:Z, MATCH(lookup_value, A:A, 0), 0)Returns all columns for matched row.
Nth match:
=INDEX(return_range, SMALL(IF(lookup_range=value, ROW(lookup_range)-ROW(INDEX(lookup_range,1,1))+1), n))Last occurrence:
=INDEX(return_range, MAX(IF(lookup_range=value, ROW(lookup_range))))Transitioning from VLOOKUP
VLOOKUP version:
=VLOOKUP(E2, A:C, 3, FALSE)INDEX MATCH equivalent:
=INDEX(C:C, MATCH(E2, A:A, 0))Clearer, more flexible, and won’t break when columns change.
Performance Tips
Use specific ranges instead of entire columns A2:A100 is faster than A:A
Reference return range only INDEX only needs the column you’re returning, not the entire table
Avoid volatile functions Don’t nest INDIRECT or OFFSET unnecessarily
Start Using It
Pick a VLOOKUP formula in your spreadsheet. Convert it to INDEX MATCH. Test that it works. Experience the flexibility when you add or move columns.
INDEX MATCH takes practice but becomes second nature quickly.
Questions about INDEX MATCH? Ready to build complex multi-criteria lookups? Let’s connect.

