KutoolsforOffice — One Suite. Five Tools. Get More Done.

VLOOKUP and Return All Corresponding Values Vertically in Excel

AuthorXiaoyangLast modified

When working with large datasets in Excel, you may often need to find a specific value and return all its matching results from another column. For example, you might want to retrieve all products purchased by a particular customer, list all orders associated with a salesperson, or find all employees belonging to a specific department.

However, the standard VLOOKUP function can only return the first matching result. If multiple records match the same lookup value, VLOOKUP cannot retrieve all of them directly.

With the Vlookup and return all corresponding values vertically feature in Kutools for Excel's Formula Helper Plus, you can easily retrieve all matching values and display them vertically in separate cells, without manually constructing complex formulas.
 return all matching value vertically


Advantages of Using Formula Helper Plus

The Vlookup and return all corresponding values vertically feature in Kutools for Excel's Formula Helper Plus makes it easy to retrieve multiple matching values without manually writing complex formulas.

1. No complex formulas required

Generate advanced lookup formulas without manually combining functions like INDEX, IF, SMALL, and ROW.

2. Return all matching values

Retrieve multiple matching values instead of only the first match returned by standard VLOOKUP.

3. Easy to use

Simply select the lookup range, specify the criteria, and choose the output range to generate the formula.

4. Dynamic results

Matching results automatically update when the source data or lookup value changes, provided Excel's automatic calculation is enabled.

5. Save time and effort

Simplify repetitive lookup tasks, reduce manual work, and improve efficiency when working with multiple matching records.


VLOOKUP and Return All Corresponding Values Vertically with Kutools

Follow the steps below to retrieve all matching values and display them vertically using Kutools for Excel.

  1. Click the first cell where you want to display the matching results.
  2. Navigate to Kutools > Formula Helper > Formula Helper Plus to open the Formula Helper Plus dialog box.
     enable the fomrula helper dialog box
  3. In the Formula Helper Plus dialog box, select the Online tab. Then, configure the following options:

    1. Under the Category section, select Lookup.
    2. In the Formula list, find and select Vlookup and return all corresponding values vertically.
      Tip: You can also enter keywords such as "Vlookup" or "return all" in the formula search box to quickly locate the feature.
    3. Then, configure the following arguments:

      • Output_Range_Abs: Select the range containing the values you want to return.
      • Criteria_Abs: Select the cell containing the lookup value.
      • Criteria_Range_Abs: Select the range where Kutools searches for matching records.
      • Lookup_Range_Start_Abs: Select the first cell of the lookup criteria range, which serves as the reference for calculating relative row positions.

       specify the options in the dialog box
  4. After specifying the required arguments, click OK to insert the formula and return the first matching value. Then, drag the fill handle down to retrieve the remaining matches.
Kutools inserts the lookup formula into the selected cell. By dragging the fill handle down, you can display all corresponding matching values vertically, rather than returning only the first match as standard VLOOKUP does.
 return all matching values vertically by kutools

Important Notes

1
Copy the formula down to display all matches

Unlike dynamic array formulas that automatically spill multiple results, this formula returns one matching value at a time. To display all matching values, copy the formula down across enough rows.

2
Duplicate matching values are retained

If the same product appears more than once for the same customer, the formula returns each matching record, including duplicates. For example, if Alice purchased Laptop twice in separate records, Laptop will appear twice in the results.

3
Blank results do not always mean an error

When there are no additional matching records, the formula returns an empty string through IFERROR. This keeps the output area clean without displaying error values such as #NUM!.

4
Changing the lookup value updates the results

Since the lookup value is linked to a cell, you can change the value in E2 from Alice to Bob, Charlie, or another customer. The existing formulas will automatically recalculate and return the corresponding matching products, provided Excel's calculation mode is set to Automatic.


Frequently Asked Questions (FAQs)

Q1
Can Kutools return all matching values instead of only the first match?

Yes. The Vlookup and return all corresponding values vertically feature generates a formula that can retrieve multiple matching records. Simply copy the formula down to display successive matching values.

Q2
What happens if no matching values are found?

The formula returns an empty string instead of displaying an error because it uses the IFERROR function. This helps keep the output area clean when no matching records are available.

Q3
Can I return duplicate values?

Yes. The formula returns every matching record, including duplicates. It does not automatically remove duplicate values from the results.

Q4
Can I use this feature to return values from non-adjacent columns?

Yes. The lookup range and return range do not need to be adjacent. For example, you can search for customer names in column A and return the corresponding order IDs from column D, as long as both ranges have matching row positions.


Conclusion

The Vlookup and return all corresponding values vertically feature in Kutools for Excel's Formula Helper Plus provides a convenient way to retrieve multiple matching values from a dataset.

Unlike standard VLOOKUP, which returns only the first match, this feature allows you to extract all corresponding records and display them vertically in separate cells.

Simply select the required ranges, let Kutools generate the formula, and copy it down to retrieve additional matches—no need to manually combine complex Excel functions.

Whether you're working with customer orders, employee information, sales records, or product data, Kutools for Excel makes multiple-match lookups easier, faster, and more efficient.