Solved

Remove Duplicates

Posted on 2011-03-11
11
318 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

710 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