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.

Results
ListAListBUsing Column Array '=IF(A2=B:B,"Yes","No")Using Range,=IF(A2=B2:B6,"Yes","No")Using Cell =A2=B3
MM333MM543NoNoTRUE
MM345MM333
MM456MM876
MM765MM35
MM453

<tbody>
</tbody>

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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

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,215,514
Messages
6,125,273
Members
449,219
Latest member
daynle

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