remove duplicates 2007 doesn't work

mljohn

Board Regular
Joined
Aug 26, 2004
Messages
196
Office Version
  1. 365
Platform
  1. Windows
I have one column of part numbers that contains duplicates.

I conditionally format the column to show duplicates in red.

Then I click on the "Remove Duplicates" in the DATA tab and it says that the duplicates have been removed but I can see that they have not.

Why?

How do I remove the duplicates?

Matt
 
I don't believe that I have MSQuery

I am using the =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," "))) from JefferyBrown

The source is a csv file of some of the data that we pulled from my vendor's website using PHP code.
 
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I don't believe that I have MSQuery

I am using the =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," "))) from JefferyBrown

The source is a csv file of some of the data that we pulled from my vendor's website using PHP code.

If you have XL2007 you should have Query...

On the Data tab
From Other Sources
MS Query
Excel Files
Browse to and select the file (even if it's the same file you're working in)
You may have to select "System Tables"
Find and select the sheet and header
Click next a few times and you're done.
 
Upvote 0
Remove Duplicates seems somehow hostile to mixed text and numbers.

OTOH, I made 500 random numbers 100 to 999, 1000 random 2-character strings AA to ZZ, randomized the order, and removed duplicates: Perfect.
 
Upvote 0
Remove Duplicates seems somehow hostile to mixed text and numbers.

OTOH, I made 500 random numbers 100 to 999, 1000 random 2-character strings AA to ZZ, randomized the order, and removed duplicates: Perfect.


Anything new on this subject? I'm running into the same issue. Tried everything to check if duplicates are real duplicates and they are. Yet Excel doesn't recognize them. Data is alphanumerical.
 
Upvote 0
Hi jerem,

Just a thought...since this thread is over a year old and to maximise visibility, might be a good idea to start your own thread...
 
Upvote 0
Hi jerem,

Just a thought...since this thread is over a year old and to maximise visibility, might be a good idea to start your own thread...

Hi Jeff. You're right. I just didn't want to create duplicates. In the meantime I decided to go for autofilter and unique record.
 
Upvote 0
That is a very good option...I use it all the time :)

You really wouldn't be creating a duplicate, the best reason is because at over 25 posts not many people will pop in to see what is going on :)
 
Upvote 0
I was having this problem too, and I figured out something that worked. Even though i didn't see blank spaces, they were there. I installed AbleBits.com awhile back (a little add in that works within Excel - pretty sure it was free too!). I clicked it, and it searched my entire worksheet and it found and trimmed tons of blank spaces. Once this was done, my duplicates finally would highlight. Hope this helps!
 
Upvote 0
It's a bug when you have a mix of texts and numbers.
Sort your data first, then remove duplicates
 
Upvote 0

Forum statistics

Threads
1,225,156
Messages
6,183,233
Members
453,152
Latest member
ChrisMd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top