Vlookup for Multiple Values

karwanbk

New Member
Joined
Jul 20, 2017
Messages
21
hello guys ,

i have problem with Vlookup
i have a sheet "board"
like this
B A
yes Jack
yes Ali
no Sara
yes Alex
no Martin
yes Tim

and in another sheet i have a list for only Yes
then i want list all the names with Yes in the "board" sheet
in next sheet want like

A
Jack
Ali
Alex
Tim

i used the VlookUp but it make repeat the names if i used like give me
A
Jack
Jack
... go on with jack -_-

and there is lot of rows in sheet "board"

thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Re: how to use Vlookup for Multiple Values

B A
yes Jack
yes Ali
no Sara
yes Alex
no Martin
yes Tim

that's columns in sheet "board"
i want list all names in column B that have Yes in Column A
and used INDEX() doesn't work
 
Upvote 0
Re: how to use Vlookup for Multiple Values

something like...


Unknown
ABCD
2yesJackJack
3yesAliAli
4noSaraAlex
5yesAlexTim
6noMartin
7yesTim

<tbody>
</tbody>
board

Array Formulas
CellFormula
D2{=IFERROR(INDEX(board!$B$2:$B$7,SMALL(IF(board!$A$2:$A$7="yes",ROW(board!$A$2:$A$7)-ROW(board!$A$2)+1),ROWS($D$2:D2))),"")}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Upvote 0
Re: how to use Vlookup for Multiple Values

working fine thanks :)

but not working like that
{=IFERROR(INDEX(board!$B$2:$B,SMALL(IF(board!$A$2:$A="yes",ROW(board!$A$2:$A)-ROW(board!$A$2)+1),ROWS($D$2:D2))),"")}

i made
$B$2:$B, $A$2:$A, $A$2:$A
cause i don't know number of them
 
Upvote 0

Forum statistics

Threads
1,215,372
Messages
6,124,531
Members
449,169
Latest member
mm424

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top