Solved

Remove Duplicates

Posted on 2011-03-11
11
316 Views
Last Modified: 2012-05-11
Hi Experts,

Can someone show me how to remove duplicates from the attached spreadsheet?

Cheers

Carlton
duplicates.xlsx
0
Comment
Question by:cpatte7372
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35111190
0
 
LVL 19

Expert Comment

by:MINDSUPERB
ID: 35111202
You can use the Remove Duplicates command as shown in the attached image.

Sincerely,
Ed
remove-duplicates.jpg
0
 
LVL 19

Expert Comment

by:MINDSUPERB
ID: 35111213
There are no duplicates on Column A on the file you have attached.

Ed
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cpatte7372
ID: 35111640
Mindsuperb,

I tried the 'Remove Duplicates' before posting this request.

There are duplicates, e.g. there two ZMH. However, the 'Remove Duplicates' didn't pick it up.....
0
 
LVL 19

Expert Comment

by:MINDSUPERB
ID: 35111702
Yes, you are right. I did not see it.

Do the trim function then after that you may apply the Remove Duplicates command.

=Trim(A1) then copy down

Sincerely,
Ed
0
 

Author Comment

by:cpatte7372
ID: 35111932
Ed,

Thanks for responding, but I don't understand how that will resolve this issue?

By doing the trim function I'm copying the cell into another row. If I do that all the way down then I will have duplicates.

I want to remove the duplicates in a single row.....
0
 

Author Comment

by:cpatte7372
ID: 35111943
I don't understand how the 'Remove Duplicates' didn't pick up the duplicates??
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35112793
There are duplicate yes but it is not exact duplicate:
667 =>"ZMH"
668 => "ZMH " there is a space at the end of the text here and thus they do not equal when matched

You have 335 spaces at various locations which will not match up with each others when compared.
You can select the entire column and click Ctrl+H (Find and Replace window), at "Find what" put a space and at "Replace with" do not put anything, click OK.

Now you can remove duplicates.
0
 
LVL 19

Accepted Solution

by:
MINDSUPERB earned 250 total points
ID: 35114445
Carlton,

Values in cells are sometimes misleading. There are values look equal but they are not as how Excel analyzes it. A good example is a space before the value, after the value and double spaces between two strings in a cell. This happens with the two ZMH in your sample. The space after one of the ZMHs causes them not to be equal.

The Trim function resolves the issue by taking out those spaces. So, after trimming it you may copy the whole column and do paste special -> Values Only into Column A. Then, delete the column the you have created for the Trim formula.

Finally, you can now appy Remove Duplicates without an issue.

Sincerely,
Ed
0
 
LVL 50

Assisted Solution

by:Dave Brett
Dave Brett earned 250 total points
ID: 35114880
My duplicate master addin at http://www.experts-exchange.com/A_2123.html will handle the whitespaces without you needing to use any further working calcs. It also handles case insenstive searches, string replacements etc

Cheers

Dave
0
 

Author Closing Comment

by:cpatte7372
ID: 35115595
Thanks chaps
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Name Selection and Sorting 43 91
Increment default InPutBox value 14 26
Formula fix for vlookup and iserror 3 24
Tricky shapes formula part 2 4 19
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question