Finding a value in two lists. Should be simple but...

auballard

New Member
Joined
Mar 17, 2009
Messages
15
I'm using Microsoft Office for Mac 2011 and I'm simply trying to find if a value from one list is in another list. In this case I want to see if MM33 (A2) from list A is in List B. I've tried using a column array, a range, and cell specific formulas. The column array and range does not find the match.

[TABLE="width: 886"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3, align: center"]Results[/TD]
[/TR]
[TR]
[TD="align: center"]ListA[/TD]
[TD="align: center"]ListB[/TD]
[TD="align: center"]Using Column Array '=IF(A2=B:B,"Yes","No")[/TD]
[TD="align: center"]Using Range,=IF(A2=B2:B6,"Yes","No")[/TD]
[TD="align: center"]Using Cell =A2=B3[/TD]
[/TR]
[TR]
[TD="align: center"]MM333[/TD]
[TD="align: center"]MM543[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]No[/TD]
[TD="align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="align: center"]MM345[/TD]
[TD="align: center"]MM333[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]MM456[/TD]
[TD="align: center"]MM876[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]MM765[/TD]
[TD="align: center"]MM35[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"]MM453[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

If I use the column array or a range the MM333 value is not found in the List B. If I specify the cells it finds the match which is useless for my purposes. I am using the array formula (Control/Shift/Enter) in the formula but nothing seems to work.

Thank you!:confused:
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; color: #000000}</style>

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; color: #000000}</style><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'; color: #000000}</style>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Book1
ABCD
1ListAListB
2MM333MM543Yes
3MM345MM333
4MM456MM876
5MM765MM35
6MM453
Sheet1
Cell Formulas
RangeFormula
D2=IF(ISNUMBER(MATCH(A2,$B$2:$B$6,0)),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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