A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to keep duplicate cells



 
 
Thread Tools Display Modes
  #1  
Old December 9th, 2008, 07:54 PM posted to microsoft.public.excel.misc
pwillissr
external usenet poster
 
Posts: 1
Default How to keep duplicate cells

I have a file with over 11,000 ASINS on there a lot of which are duplicated.
I would like to know how to I extract those duplicate ones and keep those
only. Meaning the only ones I'm interested in keeping are the ones that were
duplicates, the rest I don't need.

Thanks in advance!
  #2  
Old December 10th, 2008, 01:42 AM posted to microsoft.public.excel.misc
JLatham
external usenet poster
 
Posts: 3,017
Default How to keep duplicate cells

Without resorting to a macro to do the job, you might attack it this way:

Sort your list by the column with potential duplicates in it.
Add a 'helper' column and in row 2 put this formula (assumes data starts in
row 2):
=IF(OR(A2=A3,A1=A2),1,0)
Substitute the column ID for your potential duplicates for the X, of course.
Fill the formula down to the end of your data.

Now you can use Data Filter to filter for 1 on this helper column to keep
only those entries that have more than a single instance. You can copy from
the filtered list to another sheet to keep only the duplicate entries, OR

You could use Data Filter for 0 on the helper column and then delete all
that are displayed, which would then leave only the duplicate entry data
entries when you remove the filter (along with a lot of empty rows where
single entries had been).

"pwillissr" wrote:

I have a file with over 11,000 ASINS on there a lot of which are duplicated.
I would like to know how to I extract those duplicate ones and keep those
only. Meaning the only ones I'm interested in keeping are the ones that were
duplicates, the rest I don't need.

Thanks in advance!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.