Finding Duplicate Names in same column

philb99

Active Member
Joined
Feb 3, 2014
Messages
389
Office Version
  1. 2010
Platform
  1. Windows
Hi - I would like some help in finding duplicate names in the same column then highlighting them and if possible counting them.

Names are formatted like

Surname then Initials - Smith P or Smith AR

Can anyone help please
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You could try like this

AB
1NamesCount
2Smith P1
3Jones A1
4Smith AR1
5Chan B1
6Jones A2
7Sabir G1
8Sabir G2
9Chan B2
10Mark T1
11Brown B1
12Jones A3
13Angus I1
14Smith AR2
15Donell Q1

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
B2=COUNTIF($A$2:A2, A2)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

To highlight the cells use a formula to determine the format in the conditional formatting dialogue and use..


=COUNTIF($A$2:A2, A2)>1
 
Upvote 0
You're very welcome.

You can also highlight duplicates by choosing this option in the CF dialogue. It would highlight every duplicate, the above will not highlight the first instance of the name, just all subsequent duplicates.
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

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