VLOOKUP on its own returns only the first match, so to pull every matching result for a lookup value you combine it with helper columns, array formulas, or newer dynamic array functions. The most reliable current approach is to use FILTER if you have a Microsoft 365 or Excel 2021+ version, because it spills all matches at once. If you are on an older version, you can use INDEX and SMALL with an array formula, or add a helper column that numbers each occurrence and then use VLOOKUP on that unique key. This guide covers both methods with exact steps.

What You'll Need

  • Excel 365, Excel 2021, or Excel 2019 (the FILTER function requires 365 or 2021; older versions need the helper-column method).
  • A source table with at least two columns: one containing the lookup value (e.g., customer name or product ID) and one containing the result you want (e.g., order amount or date).
  • Basic familiarity with cell references and the formula bar.

Step-by-Step

Method 1: Use FILTER (Excel 365 or Excel 2021+)

  1. Click the cell where you want the first result to appear. Make sure there are enough empty cells below and to the right for the results to spill into.
  2. Type =FILTER( and then select the range of values you want returned (e.g., the Order Amount column, such as B2:B100).
  3. Type a comma, then select the range of lookup values (e.g., the Customer Name column, such as A2:A100).
  4. Type = and then click the cell containing the value you are searching for (e.g., E2).
  5. Close the parenthesis and press Enter. The formula should look like =FILTER(B2:B100, A2:A100=E2). All matching results will spill down from the formula cell.
  6. If you want a custom message when no match is found, add a third argument: =FILTER(B2:B100, A2:A100=E2, "No results").

Method 2: Helper column with VLOOKUP (works in all Excel versions)

  1. Insert a new column to the left of your source table (column A). In A1, type a header such as Helper.
  2. In A2, enter the formula =B2&"-"&COUNTIF($B$2:B2, B2), assuming your lookup values are now in column B. This creates a unique key combining the lookup value and its occurrence number (e.g., Smith-1, Smith-2).
  3. Copy the formula down to the last row of your data.
  4. In a separate area, list the occurrence numbers you want to retrieve: 1, 2, 3, etc., in a column (e.g., F2:F4).
  5. In the cell next to the first occurrence number, enter a VLOOKUP formula: =VLOOKUP($E$2&"-"&F2, $A$2:$C$100, 3, FALSE). Here E2 holds the lookup value, F2 holds the occurrence number, and column 3 is the result column in the helper table.
  6. Copy the formula down for each occurrence number. Each row returns the nth match.

Method 3: INDEX and SMALL array formula (legacy Excel without helper column)

  1. In the first output cell, enter the array formula: =IFERROR(INDEX($B$2:$B$100, SMALL(IF($A$2:$A$100=$E$2, ROW($A$2:$A$100)-ROW($A$2)+1), ROWS($F$2:F2))), ""). Adjust ranges to match your data.
  2. Press Ctrl+Shift+Enter in older Excel versions (Excel 2019 and earlier). In Excel 365, just press Enter.
  3. Copy the formula down as many rows as you expect matches. Each row returns the next matching result.

Common Mistakes

  • Forgetting to lock ranges with absolute references (e.g., $A$2:$A$100) before copying formulas down.
  • Using approximate match (omitting FALSE or 0 in VLOOKUP) when you need an exact match.
  • In the helper-column method, not anchoring the COUNTIF range correctly: the first part must be absolute ($B$2) and the second relative (B2) so the count expands as you copy down.
  • Expecting FILTER to work in Excel 2019 or earlier—it will return a #NAME? error.
  • Leaving insufficient empty space for a spilled FILTER result; if any cell in the spill range is not empty, you get a #SPILL! error.

Tips

  • Use Excel Tables (Ctrl+T) so ranges expand automatically when you add data.
  • For a cleaner helper key, use a delimiter unlikely to appear in your data, such as a pipe character: =B2&"|"&COUNTIF($B$2:B2, B2).
  • If you need results sorted, wrap FILTER in SORT: =SORT(FILTER(B2:B100, A2:A100=E2)).
  • To return multiple columns at once with FILTER, select a multi-column range as the first argument.
  • Test your formula with a lookup value that has zero matches and one with many matches to confirm behavior.

Troubleshooting

  • #N/A error: The lookup value does not exist in the source range. Check for extra spaces (use TRIM) or mismatched data types (text vs. number).
  • #VALUE! error: Likely a range size mismatch in an array formula. Ensure all ranges in INDEX/SMALL have the same number of rows.
  • #SPILL! error: The spill range is blocked. Clear the cells below and to the right of the formula, or move the formula to an empty area.
  • Only first result appears: You are using plain VLOOKUP without a helper column or FILTER. Switch to one of the methods above.
  • Formula returns blank or 0: The result cell may be empty, or the formula is referencing the wrong column index. Double-check the column number in VLOOKUP.
  • Array formula not working: In older Excel, confirm you pressed Ctrl+Shift+Enter; the formula bar should show curly braces { } around the formula.

Frequently Asked Questions

Can VLOOKUP return multiple results without a helper column?

Not directly. VLOOKUP always returns the first match. You need FILTER (Excel 365/2021) or an INDEX/SMALL array formula to get all matches.

Does FILTER work in Excel 2019?

No. FILTER is available only in Excel 365 and Excel 2021 and later. In Excel 2019, use the helper-column method or an array formula.

How do I return all matches in one cell separated by commas?

Use TEXTJOIN with FILTER: =TEXTJOIN(", ", TRUE, FILTER(B2:B100, A2:A100=E2)). This requires Excel 365 or 2021.

Why does my array formula return #NUM!?

The SMALL function's k argument (the occurrence number) exceeds the number of matches. Wrap the formula in IFERROR to handle this gracefully.

Can I use VLOOKUP with multiple criteria?

Yes, by creating a helper column that concatenates the criteria (e.g., =A2&B2) and then using VLOOKUP on that combined key. This is different from returning multiple results for one criterion.

What is the maximum number of results FILTER can return?

FILTER returns as many rows as match the condition, limited only by the worksheet row limit (1,048,576 rows). Ensure enough empty cells below the formula.