Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remove Duplicates

Posted on 2011-03-11
11
Medium Priority
?
324 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

670 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