Find values in column A, that are in column B

AdamA

Board Regular
Joined
Mar 22, 2007
Messages
64
Guys.

I need some help on Excel. I have two columns, A and B. Within these two columns are a list of numbers. I need to be able to identify in column A which values have a match in column B. Either highlighting them on the sheet, or placing them into a new column, C

Is this possible?
Thanks
Adam
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi Adam

Select Column A and go Format>ConditionalFormatting (pretty sure the CF button is on the Home ribbon tab). Change to Formula Is and type in the following formula:

=COUNTIF($B:$B,$A1)

and hit the Format button and apply a Pattern of eg Red to the cell. Hit OK.

This will colour A column cells with a value that also appears in Column B.
 
Upvote 0
Try using conditional formatting and using countif

Excel Workbook
GH
1FirstSecond
2234543
345675678
456784321
54321234111
Cond Formatting Duplicates

Formula in Conditional formatting is on Selecting column G then using conditional formatting and Formula

=COUNTIF(H:H,G1)>0

Used Colour Green
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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