Lookup help needed

G

Guntars

For example I got this simple table:
___________one___two___three
Name 1______X___________X_
Name 2______X_____X_______
Name 3____________X_______
Name 4______X___________X_
Name 5______X_____X_______
Name 6__________________X_
Name 7______X_____________
Name 8______X_____X_____X_
Name 9____________X_______

How do I tell formula to return all the names from col A:A if the column
“three†has “X†in name row?
Thank you
Guntars
 
J

Jacob Skaria

If you dont have duplicate names.. try the below

in E2
=INDEX(A1:A1000,MATCH("x",$D$1:$D$1000,0))

in E3 and subsequent rows
=INDEX($A$1:$A$1000,MATCH("x",INDIRECT("D"&MATCH(E2,$A$1:$A$1000,0)+1 &
":D1000"),0)+MATCH(E2,$A$1:$A$1000,0))

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top