find duplicate based on two columns

R

Roberta

I have an Excel 2007 spreadsheet and have used conditional formatting for
single column entries, however now I have to find duplicates in two columns.
I have two colums named FNAME and LNAME. I need to locate duplictes as if
these two fields are combined.
 
R

Roger Govier

Hi Roberta

In a new column enter
=A2&"|"&B2
Copy down as far as required.
Assuming this new column is column C, in column DO enter
=COUNTIF(C:C,C2)
again copy down as far as required
Select A1:D1>Data>Filter>Autofilter>use dropdown on column C>Custom>Greater
than>1
This will give you a filtered list showing any duplicated entries
 
Top