Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Finding Duplicate Records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erlang - 25 Mar 2008 18:40 GMT
I've got a column with duplicate records. I want to be able to pull
records that has the most duplicate. For example, on the column, I've
got 3245,3546,3245,5467,3245. Since 3245 is a duplicate, I want to be
able to pull all the duplicates. To go further, is there a way to
limit the number of duplicates I want to view. For example, I want to
be able to pull records with 10 or 20 duplicate records. Please help.
Dave Peterson - 25 Mar 2008 19:39 GMT
You could add another column with formulas like:

With headers in row 1, put this in B2:
=countif(a:a,a2)
(and drag down the length of your data.)

Then apply data|filter|autofilter

You can filter to show the records that are between 10 and 20 (use Custom).

> I've got a column with duplicate records. I want to be able to pull
> records that has the most duplicate. For example, on the column, I've
> got 3245,3546,3245,5467,3245. Since 3245 is a duplicate, I want to be
> able to pull all the duplicates. To go further, is there a way to
> limit the number of duplicates I want to view. For example, I want to
> be able to pull records with 10 or 20 duplicate records. Please help.

Signature

Dave Peterson

Pete_UK - 25 Mar 2008 19:46 GMT
Not sure what you mean by "pull" a record. You can obtain a list of
the distinct records by copying the column (with a header) to a new
sheet and then applying Advanced filter to it, selecting Unique
Records Only in the pop-up box. Then you can use a COUNTIF formula to
count the number of records in the original list against each unique
value, and this could easily be sorted in descending order to give you
your list of most common records.

You can apply Autofilter in your original list to see particular
records.

Hope this helps.

Pete

> I've got a column with duplicate records. I want to be able to pull
> records that has the most duplicate. For example, on the column, I've
> got 3245,3546,3245,5467,3245. Since 3245 is a duplicate, I want to be
> able to pull all the duplicates. To go further, is there a way to
> limit the number of duplicates I want to view. For example, I want to
> be able to pull records with 10 or 20 duplicate records. Please help.
Henn Sarv - 26 Mar 2008 20:09 GMT
I have created one complex sorting/duplicate example

If You are interested look :)
http://www.sarv.ee/ftp/henn/excel

the name of example is sortingandunique.xls

When You like - enter names unique and duplicates in 1st column
and fill down formulas on next 5 columns

Look what happend in J and M
try to enter something in cells P8 and R8

any feedback and comment is welcome :)

Henn Sarv

> I've got a column with duplicate records. I want to be able to pull
> records that has the most duplicate. For example, on the column, I've
> got 3245,3546,3245,5467,3245. Since 3245 is a duplicate, I want to be
> able to pull all the duplicates. To go further, is there a way to
> limit the number of duplicates I want to view. For example, I want to
> be able to pull records with 10 or 20 duplicate records. Please help.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.