Show only rows with duplicate values in a column?

M

Mechphisto

I've a spreadsheet with thousands of rows of people (last name, first
name, address, etc.)
I need to weed out duplicates, and sorting by lastname, firstname and
then scanning the firstnames for duplicates that have the same last
name is onerous!!

Is there a way to have Excel (2003) show only rows in which there are
more than one of a given value in a column?
So let's say there's only one row with a value of "Jones" in the
lastname, it'll now show that row but it'll show the three rows with
"Smith" in the column?

(Would be really cool if it showed rows in which there are more than
one with the same value in TWO columns, but I won't dream that big.)

Thanks for any suggestions!
Liam
 
B

BRO

i am not sure i`m understanding ur problem very well, however we`ll
try giving it a shot.

For the duplicates issue, and after u sort (or b4, wont realy matter),
try going to the leftmost empty column, and use the countif function

so, assuming ur table range is from A1 to E100, and that ur looking
for duplicates in the last name (which is Column B) for example, type
the following in F1

=countif($B$1:$B$100,B1)>1

then drag (copy & Paste) the formula to cell F100

Now u`ll have (in column F) "TRUE" for duplicate names, and "FALSE"
for non-duplicated amounts.

then you can filter ur table (Data --> Filter --> Autofilter) --
Please make sure to use the filter on the column headings row (Name,
Last name, etc..)

Please inform me if it works or not.
 
B

BRO

YES u can have duplicate data in two coumns sorted out,

repeat the same procedure, in column G and then filter for "TRUE" in
column F, and for "TRUE" in column G.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top