Is there a bug in Excel RemoveDuplicates

hicksi

Board Regular
Joined
Mar 5, 2012
Messages
222
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have a list of words. And now I'm trying to ensure that they are all unique.

If I take a copy of that list and RemoveDuplicates, then that removes duplicates, IRREGARDLESS of case.
I then place a COUNTIF against that list to find the duplicate which has a count of 2.
I then remove all count-1 entries, and do a VLOOKUP from the full list of the words with Count-2 (or more).
THAT process usually gives me a proper list that I can peruse and ensure that the 'correct' version of the word is removed (based on the perused case).

The ISSUE that arose is when the word Æterna is the duplicate.
VLOOKUP only finds Æterna, not Aeterna.

Ie, REMOVEDUPLICATES sees them as the same word, COUNTIF sees them as the same word, but VLOOKUP does not.
Is this intended, or an irregularity in the way 'case' is handled. And is there a workaround (as there's probably other instances that fail)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Has anyone looked into this with Microsoft, or am I the only person to have ever encountered this problem?
 
Upvote 0
Interesting. What version of Excel are you running. Please update your profile accordingly.
I am a bit surprised that any functions recognise it as a match (they even come up as being different lengths) but as you pointed out most do.
For context I am running MS 365

The ones that do work include:
• =
• CountIf(s) etc
• Duplicate Functions
• The newer functions: XLookup, XMatch, Filter (the latter probably because "=" works)

What does not work:
• VLookup
• Match
With these functions being replaced with the newer equivalents, it is unlikely that you will get MS to look into this.
 
Upvote 0
Interesting. What version of Excel are you running. Please update your profile accordingly.
I am a bit surprised that any functions recognise it as a match (they even come up as being different lengths) but as you pointed out most do.
For context I am running MS 365

The ones that do work include:
• =
• CountIf(s) etc
• Duplicate Functions
• The newer functions: XLookup, XMatch, Filter (the latter probably because "=" works)

What does not work:
• VLookup
• Match
With these functions being replaced with the newer equivalents, it is unlikely that you will get MS to look into this.
I'm happy. I came back on here for another (somewhat) obscure problem where a startup routine sometimes made a form properly active, and other times left the cursor somewhere in limbo.
That was resolved by a DoEvents loop which created a delay long enough to activate.

Frankly, this was the last thing I asked, and I was surprised there wasn't an answer.
I'll convert my VLookup to XLookup now in all my processing.

FYI
Microsoft® Excel® 2021 MSO (Version 2410 Build 16.0.18129.20158) 64-bit
The single-purchase version.
 
Upvote 0
FYI
Microsoft® Excel® 2021
Please update you your forum profile (click your user name at the top right of the forum, then ‘Account details’) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Please update you your forum profile (click your user name at the top right of the forum, then ‘Account details’) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Done. Not the friendliest system to find where you need to go. But I found it and updated.
 
Upvote 0

Forum statistics

Threads
1,226,463
Messages
6,191,181
Members
453,645
Latest member
BOUCHOUATA

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