Question: How do i return multiple results for one lookup value? I have tried to use multiple vlookups, with no luck.
How do you find multiple occurances? Do I need to use match function?
How do i present all the adjacent values to a searchstring?

Answer:

Array formula in B25:

=INDEX($C$3:$C$16, SMALL(IF($B$21=$B$3:$B$16, ROW($B$3:$B$16)-MIN(ROW($B$3:$B$16))+1, ""), ROW(A1))) + CTRL + SHIFT + ENTER. Copy cell B25 and paste it down as far as needed.

Download excel sample file for this tutorial.
Using array formula to look up multiple values in a list.xls
(Excel 97-2003 Workbook *.xls)

Functions in this article

INDEX(array,row_num,[column_num])
Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.

SMALL(array, k)
Returns the k-th smallest number in this data set.

ROW(reference)
Returns the row number of a reference

MIN(number1,[number2])
Returns the smallest number in a set of values. Ignores logical values and text

  • Share/Bookmark

Related posts:

  1. How to return multiple values using vlookup in excel
  2. Return multiple values if in range in excel
  3. Explaining a formula: Lookup values in a range using two or more criteria and return multiple matches in excel
  4. Return multiple values if above frequency criterion in excel
  5. Lookup values in a range using two or more criteria and return multiple matches in excel
  6. Lookup a value in a list and return multiple matches in excel
  7. Vlookup with 2 or more lookup criteria and return multiple matches in excel