vlookup / match / or function

percyt

New Member
Joined
Feb 27, 2013
Messages
17
just a quick question , what is the best approach to the following

i have A1 aus A2 fra & A3 ger

now below in cells A8 to B12 i have
scottukr
johnaus
paulfra
timpol
philsco

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>


and in cells D8 to D12
scott
john
paul
tim
phil

<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>

In cells E8 to E12 i am looking at the best formula to return "y" if any of column B8:B12 match that of A1:A3

any suggestions? many thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
just a quick question , what is the best approach to the following

i have A1 aus A2 fra & A3 ger

now below in cells A8 to B12 i have
scott
ukr
john
aus
paul
fra
tim
pol
phil
sco

<TBODY>
</TBODY>


and in cells D8 to D12
scott
john
paul
tim
phil

<TBODY>
</TBODY>

In cells E8 to E12 i am looking at the best formula to return "y" if any of column B8:B12 match that of A1:A3

any suggestions? many thanks

E8, control+shift+enter, not just enter, and copy down:

=ISNUMBER(MATCH(INDEX($B$8:$B$12,MATCH($D8,$A$8:$A$12,0)),$A$1:$A$3,0))+0

1 means "y", 0 means "n".
 
Upvote 0

Forum statistics

Threads
1,214,530
Messages
6,120,071
Members
448,943
Latest member
sharmarick

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