Excel's "Highlight Duplicate Cells" is highlighting values which are actually different
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Light Drops
--
Chapters
00:00 Excel'S &Quot;Highlight Duplicate Cells&Quot; Is Highlighting Values Which Are Actually Differen
00:42 Accepted Answer Score 12
01:18 Thank you
--
Full question
https://superuser.com/questions/1662539/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#microsoftexcel
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Light Drops
--
Chapters
00:00 Excel'S &Quot;Highlight Duplicate Cells&Quot; Is Highlighting Values Which Are Actually Differen
00:42 Accepted Answer Score 12
01:18 Thank you
--
Full question
https://superuser.com/questions/1662539/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#microsoftexcel
#avk47
ACCEPTED ANSWER
Score 12
Excel has a 15-digit limit to numerical precision, and as you've worked out your numbers have 16 so Excel is converting to a number and can't tell they're not duplicates (despite the fact you've marked them as text and put '
at the start of the numbers to signify a string).
One workaround is to concatenate a letter onto the column of strings you are testing for duplicates. As you can see here, by adding "a"
on the front of your string Excel treats it as a real string.