Excel - multi-VLOOKUP?

Soldato
Joined
2 Nov 2013
Posts
4,247
Is there any formula I don't know about that allows you to do the equivalent of a VLOOKUP with multiple answers?

I want to be able to enter a value from column A, and have it return all the related values from column B.
 
I've found this:

=INDEX($A$1:$B$7,SMALL(IF($A$1:$A$7=$A$10,ROW($A$1:$A$7)),ROW(1:1)),2)

Which looks at a small table from A1 to B7, looks for a value entered in A10 through A1-A7 and returns the related B value (and repeated versions of this formula will reutrn 2nd, 3rd, xth, related values). But I have to admit, I'm struggling to decipher how that language translates to this.
If anyone could split that into chunks and try to explain to me (I've not used array formulae before, but I'm comfortable with things like VLOOKUP and COUNTIFS) I'd be eternally grateful!
 
Back
Top Bottom