Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remove Duplicates

Posted on 2011-03-11
11
Medium Priority
?
326 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 1000 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 1000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

971 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