Matching values

Daniel Dridan

New Member
Joined
Oct 29, 2007
Messages
23
I have a list of values in Column A and a larger list of values in Column B.
I want to know which of the values in Column A exist in Column B?

Any easy way to do this?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello,

Try this in an empty column. Replace the range B1:B6 with your column B range (be sure to use the $) and A1 with the top cell of your list in Col. A.<TABLE style="WIDTH: 194pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=258><COLGROUP><COL style="WIDTH: 194pt; mso-width-source: userset; mso-width-alt: 4128" width=258><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: #d7e4bc; WIDTH: 194pt; HEIGHT: 15.75pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=21 width=258>=IF(COUNTIF($B$1:$B$6,A1),A1&" Exists","")

fill down.
Excel Workbook
ABC
1111 Exists
2222 Exists
3333 Exists
4646 Exists
55
66
Sheet1
Excel 2007
Cell Formulas
RangeFormula
C1=IF(COUNTIF($B$1:$B$6,A1),A1&" Exists","")
C2=IF(COUNTIF($B$1:$B$6,A2),A2&" Exists","")
C3=IF(COUNTIF($B$1:$B$6,A3),A3&" Exists","")
C4=IF(COUNTIF($B$1:$B$6,A4),A4&" Exists","")
C5=IF(COUNTIF($B$1:$B$6,A5),A5&" Exists","")
C6=IF(COUNTIF($B$1:$B$6,A6),A6&" Exists","")
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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