-
How to only keep duplicate values
Hi, I have a large spreadsheet (90,000 rows, 12 columns). I can use conditional highlighting to see the duplicate values in one column (say column B). But I want to keep only those rows that have duplicate values in column B. There are functions built into Excel to remove dupes. But I want to do the inverse. Anyone know how I could do this?
thanks,
Bob
-
Temporarily insert a new column A
Put a formula in A2 (assumes you have headers in row 1):
=IF(COUNTIF($C$2:$C$90000,C2)=1,"x","")
(adjust to suit your ranges)
and copy down to the end.
Now those rows marked with an x are unique entries, you want to lose them, so Autofilter for them and delete what you see.
Remove Autofilter, remove column A
p45cal
Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules