How to Remove Actual Duplicate Values

%3CLINGO-SUB%20id%3D%22lingo-sub-2362844%22%20slang%3D%22en-US%22%3EHow%20to%20Remove%20Actual%20Duplicate%20Values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2362844%22%20slang%3D%22en-US%22%3E%3CP%3EProblems!!!%3C%2FP%3E%3CP%3EI%20have%20a%20database.%20Where%20there%20is%20a%20column%20called%20NID.%20NID%20numbers%20are%20usually%2010%2C%2013%20and%2017%20digits.%3CBR%20%2F%3EAfter%20applying%20the%20duplicate%20value%20in%20the%20NID%20column%2C%20I%20see%20that%20if%20the%2010%20and%2013%20digit%20NID%20numbers%20are%20more%20than%20one%2C%20it%20detects%20exactly%20as%20a%20duplicate%20value.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20in%20the%20case%20of%2017%20digits%20the%20opposite%3CBR%20%2F%3EIf%20the%2017-digit%20NID%20number%20does%20not%20have%20more%20than%20one%2C%20then%20it%20can%20be%20seen%20that%20some%2017-digit%20NID%20numbers%20are%20detected%20as%20duplicate%20values%20even%20though%20they%20are%20not%20duplicated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2376740%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Remove%20Actual%20Duplicate%20Values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2376740%22%20slang%3D%22en-US%22%3EIs%20this%20for%20Microsoft%20Access%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2376881%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20Remove%20Actual%20Duplicate%20Values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2376881%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1056350%22%20target%3D%22_blank%22%3E%40azmat4u%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20case%20ID%20numbers%20are%20saved%20as%20text%2C%20but%20counting%20duplicates%20Excel%20interprets%20such%20texts%20as%20numbers%2C%20for%20which%20it%20keeps%2015%20digits%20maximum.%20If%20work%20with%20numbers%20using%20the%20rule%20with%20formula%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSUMPRODUCT(1*(C3%3D%24C%243%3A%24C%241489))-1%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eit%20operates%20with%2017%20digits%20maximum%20and%20returns%20duplicates%20correctly.%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20more%20than%2017%20digits%20that%20doesn't%20work%20as%20well.%20If%20so%20it'll%20be%20more%20reliable%20to%20create%20helper%20column%20with%20texts%20like%20%3D%22abc%22%20%26amp%3B%20C3%20and%20check%20duplicates%20on%20this%20column.%3C%2FP%3E%0A%3CP%3EPlease%20check%20attached.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Problems!!!

I have a database. Where there is a column called NID. NID numbers are usually 10, 13 and 17 digits.
After applying the duplicate value in the NID column, I see that if the 10 and 13 digit NID numbers are more than one, it detects exactly as a duplicate value.

 

But in the case of 17 digits the opposite
If the 17-digit NID number does not have more than one, then it can be seen that some 17-digit NID numbers are detected as duplicate values ​​even though they are not duplicated.

6 Replies
Is this for Microsoft Access?

@azmat4u 

In this case ID numbers are saved as text, but counting duplicates Excel interprets such texts as numbers, for which it keeps 15 digits maximum. If work with numbers using the rule with formula

=SUMPRODUCT(1*(C3=$C$3:$C$1489))-1

it operates with 17 digits maximum and returns duplicates correctly.

If you have more than 17 digits that doesn't work as well. If so it'll be more reliable to create helper column with texts like ="abc" & C3 and check duplicates on this column.

Please check attached.

Microsoft Excel

@azmat4u Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Microsoft Excel discussion space - please post Microsoft Excel questions here in the future. 

@Eric Starker This question was excel Microsoft related.....TQ

 

Correct, but you originally posted it in the Tech Community Discussion space which is about the Tech Community website ONLY (i.e. techcommunity.microsoft.com), not about Microsoft products.

Now it's been moved to the Excel discussion space which is about Excel!