Comparing Duplicates From 2 Lists

mason001

New Member
Joined
Dec 6, 2017
Messages
9
hi all,

So basically put, I have 2 lists, one containing a list of areas nationally and a list of areas within my patch. I want to highlight cells within the national list if it appears within the my area list.

I would obviously usually use conditional formatting and highlight duplicates, however in this instance I can’t as the areas within thenational list appear several times each; so highlighting duplicates highlightseverything!

A very short example of what I’m after being:

National list: Myarea list:
Column A: ColumnB: ColumnC:
Brighton 1 Crawley
Brighton 2 Newcastle
Brighton 3 Birmingham
Brighton 4
Crawley 1

Crawley 2

Dartford 1
Dartford 2
Dartford 3

Manchester 1

Newcastle 1

Newcastle 2



Any help with this would be much appreciated as I’ve beenwracking my brain and googling but can’t find the answer! I'm using Excel 2013.

Thanks!



 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
ah... so the layout of my example didn't work in my initial post.

Column A is national area name, B is number set against the national area, C is my area list.
 
Upvote 0
Select the data in column A (A2:A18)

In CF use this formula
=ISNUMBER(MATCH(A2,C$2:C$4,0))

Format button and pick the format you want

M.
 
Upvote 0

Forum statistics

Threads
1,223,727
Messages
6,174,144
Members
452,547
Latest member
Schilling

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