INDEX MATCH returns only the first match, so use FILTER to return every match: =FILTER(B2:B9, C2:C9="Surveillance"). It lists every Surveillance product name and spills the results into the cells below, so keep that area empty. To get just the Nth match with INDEX, use =INDEX(B2:B9, SMALL(IF(C2:C9="Surveillance", ROW(C2:C9)-ROW(C2)+1), 2)), which returns the 2nd match.
INDEX MATCH Return Multiple Results in Google Sheets
Use INDEX MATCH to return multiple matching results in Google Sheets. Array formulas and FILTER alternatives for returning all rows that match a condition.
Sheets Bootcamp
March 5, 2026 Β· Updated November 5, 2026
Table of Contents
Quick Answer
Standard INDEX MATCH returns one value, the first row that matches your search key. When multiple rows match and you need all of them, you need a different approach. This guide covers the classic SMALL/IF array formula for returning the Nth match, then shows the modern FILTER function alternative that handles multiple results in a single formula.
In This Guide
- Why INDEX MATCH Returns One Result
- The SMALL/IF Array Pattern
- Return Multiple Results: Step-by-Step
- The FILTER Alternative (Recommended)
- When to Use Each Approach
- Tips
- Related Google Sheets Tutorials
- Frequently Asked Questions
Why INDEX MATCH Returns One Result
MATCH searches a range and returns the position of the first match it finds. If your data has multiple rows with the same value, MATCH stops at the first one.
Using the product inventory, three products are in the Surveillance category: Field Binoculars (row 5), Evidence Bag Kit (row 7), and Night-Vision Scope (row 8).
=INDEX(B2:B9, MATCH("Surveillance", C2:C9, 0)) This returns Field Binoculars because it appears first. Evidence Bag Kit and Night-Vision Scope are ignored.

To get every result, you need a formula that finds the 1st match, the 2nd match, and so on.
The SMALL/IF Array Pattern
The classic approach uses SMALL and IF inside INDEX to return each match by position number.
=INDEX(return_range, SMALL(IF(criteria_range=criteria, ROW(criteria_range)-ROW(first_cell)+1), N)) Here is how the parts work:
- IF(criteria_range=criteria, β¦): creates an array of row positions where the condition is true, and FALSE everywhere else
- ROW(criteria_range)-ROW(first_cell)+1: converts sheet row numbers into relative positions within the range (1, 2, 3β¦)
- SMALL(β¦, N): returns the Nth smallest position number. N=1 gives the first match, N=2 gives the second
- INDEX(return_range, β¦): returns the value at that position
Note
This formula may need Ctrl+Shift+Enter in older versions of Google Sheets to enter as an array formula. Current versions handle it with a regular Enter press.
Try it yourself
Question 1 of 3
3 quick questions. No account needed.
In B12, return the Name of the 2nd volunteer on the team in B11. Use INDEX with SMALL and IF.
Return Multiple Results: Step-by-Step
Weβll find all Surveillance products from the product inventory.
Sample Data
The inventory has 8 products. Three are in the Surveillance category: Field Binoculars (SKU-104, row 5), Evidence Bag Kit (SKU-106, row 7), and Night-Vision Scope (SKU-107, row 8).

Set up your data
The product inventory runs from A1:F9. You want to return all Product Names (column B) where the Category (column C) is βSurveillanceβ.
Try standard INDEX MATCH
=INDEX(B2:B9, MATCH("Surveillance", C2:C9, 0)) This returns Field Binoculars only. MATCH found the first βSurveillanceβ at position 4 in C2:C9 and stopped.
Use the SMALL/IF array pattern
To get the first Surveillance product:
=INDEX(B2:B9, SMALL(IF(C2:C9="Surveillance", ROW(C2:C9)-ROW(C2)+1), 1)) This returns Field Binoculars (the 1st match).
To get the second Surveillance product, change the last number to 2:
=INDEX(B2:B9, SMALL(IF(C2:C9="Surveillance", ROW(C2:C9)-ROW(C2)+1), 2)) This returns Evidence Bag Kit (the 2nd match). Change it to 3 to get Night-Vision Scope (the 3rd match).

Each formula occupies one cell. To return all matches, you need a separate formula for each result row, incrementing the N value (1, 2, 3β¦).
Important
If N exceeds the number of matches, the formula returns #NUM!. With 3 Surveillance products, N=4 causes an error. Wrap in IFERROR to handle this: =IFERROR(INDEX(..., SMALL(IF(...), 4)), "").
Use FILTER as the modern alternative
The FILTER function returns all matching rows at once:
=FILTER(B2:B9, C2:C9="Surveillance") This returns Field Binoculars, Evidence Bag Kit, and Night-Vision Scope in a single formula. The results spill into adjacent cells below automatically.

No array entry needed. No incrementing N values. One formula handles everything.
The FILTER Alternative (Recommended)
For returning multiple matching rows, FILTER is the preferred approach in current Google Sheets.
Return multiple columns
FILTER can return entire rows, not just one column:
=FILTER(A2:F9, C2:C9="Surveillance") This returns all three Surveillance rows with all 6 columns (Product ID, Name, Category, Price, Stock, Supplier).
Multiple conditions
Add conditions by including more criteria arrays:
=FILTER(B2:B9, C2:C9="Surveillance", E2:E9>50) This returns only Surveillance products with stock above 50. The only match is Evidence Bag Kit (80 in stock). Field Binoculars (50 in stock) and Night-Vision Scope (25) are excluded.
Handle no results
When no rows match, FILTER returns #N/A. Use IFERROR to show a custom message:
=IFERROR(FILTER(B2:B9, C2:C9="Books", E2:E9>500), "No matches found") When to Use Each Approach
| Scenario | Recommended |
|---|---|
| Return all matching rows | FILTER |
| Return only the Nth match (e.g., 2nd result) | INDEX + SMALL/IF |
| Return matches with complex array logic | INDEX + SMALL/IF |
| Return multiple columns of matching data | FILTER |
| Pair with ARRAYFORMULA for row-by-row lookups | INDEX MATCH + ARRAYFORMULA |
FILTER handles the majority of βreturn multiple resultsβ scenarios. Use the SMALL/IF pattern when you need specific control over which match number to return.
Tip
If you find yourself writing multiple SMALL/IF formulas with incrementing N values (1, 2, 3β¦), switch to FILTER. One formula replaces all of them.
Tips
-
FILTER is the first choice for multiple results. It is shorter, self-expanding, and does not need Ctrl+Shift+Enter. Use it unless you have a specific reason for the SMALL/IF pattern.
-
Leave room for FILTER results to spill. FILTER outputs expand downward. If cells below the formula contain data, you get a #REF! error. Keep the area below the formula empty.
-
Use IFERROR with both approaches. SMALL/IF returns #NUM! when N exceeds the match count. FILTER returns #N/A when no rows match. Wrap both in IFERROR for clean output.
-
Combine FILTER with SORT for ordered results.
=SORT(FILTER(B2:B9, C2:C9="Surveillance"))returns matching products in alphabetical order. -
For returning one value per row across a column, use ARRAYFORMULA with INDEX MATCH. See INDEX MATCH with ARRAYFORMULA for that pattern.
Related Google Sheets Tutorials
- INDEX MATCH: The Complete Guide: Full syntax, left lookups, and the combined formula pattern
- INDEX MATCH with Multiple Criteria: Match on two or more conditions
- INDEX MATCH with ARRAYFORMULA: Apply INDEX MATCH across an entire column
- FILTER Function: Complete Guide: Return multiple matching rows with conditions
- ARRAYFORMULA: Complete Guide: Apply formulas to entire columns at once
Frequently Asked Questions
Can INDEX MATCH return more than one result?
What is the difference between INDEX MATCH and FILTER for multiple results?
Why does my INDEX MATCH only return the first match?
Does FILTER replace INDEX MATCH for multiple results?
How do I return the 2nd or 3rd match with INDEX MATCH?
You read about INDEX MATCH. Now type it.
Unit 1 of the course is free: 6 short lessons in a grid that checks every formula. They teach the Google Sheets skills you'll actually use.
Start the course freeFirst 6 lessons free. No card needed. See plans
Practice this in the app
Practice INDEX MATCHSpot an error on this page? Tell us.
Thanks. We'll fix it and update the page.