Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Remove Rows That Are NOT Duplicates

I have a very large spreadsheet (45,000+ rows). I want to identify the
duplicate entries based on data that is in column O. I know how to do this
using conditional formatting and all works well. Thing is, I want to
ELIMINATE or HIDE the rows that are NOT duplicated. This is the exact
opposite of all the instructions I can find. They want to get rid of the
duplicates. I want to keep the dupes and and get rid of the single entries.

Can anyone help me?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Remove Rows That Are NOT Duplicates

You can put a formula in a helper column similar to the one you use
for your conditional formatting, to return the words "unique" or
"duplicate", eg:

=IF(COUNTIF(O:O,O1)1,"duplicate","unique")

and then copy this down. Then you can apply autofilter to this helper
column - if you just want to hide the uniques then select duplicate
from the filter pull-down, but if you want to delete them then select
unique from the filter pull-down, highlight all the visible rows, then
Edit | Delete Row. Select All from the filter pull-down and you are
left with only the duplicates. You can delete the helper column now.

Hope this helps.

Pete

On Jul 22, 8:50*pm, Mongo the Magnificent <Mongo the
wrote:
I have a very large spreadsheet (45,000+ rows). *I want to identify the
duplicate entries based on data that is in column O. *I know how to do this
using conditional formatting and all works well. *Thing is, I want to
ELIMINATE or HIDE the rows that are NOT duplicated. *This is the exact
opposite of all the instructions I can find. They want to get rid of the
duplicates. *I want to keep the dupes and and get rid of the single entries.

Can anyone help me?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Remove Rows That Are NOT Duplicates

In P1 enter =COUNTIF($O$1:$O$45000,O1)1

Double-click to copy down.

DataFilterAutofilter for TRUE

Select column O and F5SpecialVisible cells only

Then EditDeleteEntire Row


Gord Dibben MS Excel MVP

On Tue, 22 Jul 2008 12:50:00 -0700, Mongo the Magnificent <Mongo the
wrote:

I have a very large spreadsheet (45,000+ rows). I want to identify the
duplicate entries based on data that is in column O. I know how to do this
using conditional formatting and all works well. Thing is, I want to
ELIMINATE or HIDE the rows that are NOT duplicated. This is the exact
opposite of all the instructions I can find. They want to get rid of the
duplicates. I want to keep the dupes and and get rid of the single entries.

Can anyone help me?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Duplicates dk New Users to Excel 15 March 28th 08 07:41 AM
How to remove duplicates? Lakewoodsale Excel Discussion (Misc queries) 2 January 25th 08 10:31 PM
Merge and remove duplicates? Shanel Excel Worksheet Functions 1 January 23rd 08 10:13 PM
how to remove duplicates ONLY within the same category Landa Excel Discussion (Misc queries) 5 April 26th 07 10:04 AM
Remove duplicates Tuttamay77 Excel Discussion (Misc queries) 4 May 12th 06 10:56 PM


All times are GMT +1. The time now is 04:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"