Please enable JavaScript to view the comments powered by Disqus.


INDEX(...(...$B$3:$B$14),SMALL(...IF(...(...(...$A$3:$A$14)=$B$15),ROW(...$B$3:$B$14)-2),ROW(...A1)))

How to vlookup multiple values for a given criteria

The formula checks if the range matches the given criteria by equating the values, in return we get the row numbers, that are feed to small to get them one by one. Lastly the index function return the corresponding values from our data.


Used Functions

Category: Lookup and reference

Uses an index to choose a value from a reference or array

Syntax

INDEX(array, row_num, [column_num])

Category: Statistical

Returns the k-th smallest value in a data set

Syntax

SMALL(array, k)

Category: Logical

Specifies a logical test to perform

Syntax

IF(Something is True, then do something, otherwise do something else)

Category: Lookup and reference

Returns the row number of a reference

Syntax

ROW([reference])

Lets chat on this