Duplication check on 12 digit text number column

Heretical1

New Member
Joined
Jun 3, 2020
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi all, very new to the Forum, please be patient. I am also teaching myself Excel as I go, so may have some newby questions, apologies in advance.
I have been googling like crazy so far, I do have some basic Excel knowledge, enough to get me into trouble.


My current problem is:

I am wanting my spreadsheet to highlight duplicates in 1 single column. Fairly straightforward I thought.
The column is full of numbers that are 12 digits in length, all pasted into a "text" column for ease of use and visibility (able to copy/paste into other program screens etc)
Having the column as a text field is pretty much essential at this point.

However:
sometimes the new imported data can contain 0's at the beginning, sometimes it can also contain a ' character.
I was hoping to highlight duplicates based on "the 12 digits from the right side of the cell" so that should recognise any duplicates regardless of "prefix"

Is this possible, if so how may it be done (attempting to use Conditional Formatting, but I need the formula to make it work)
I'd like to try and avoid Macros if possible, but will happily do so if there is no other way (trying to make it other-user friendly as possible)

Thankyou in advance, I hope it is an easy one for you experts out there.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Using conditional formatting and formulas to determine which cells to format

Book4
A
118462395984977
216340175109110
317500019350273
417685317351531
518857176987152
616228607041104
711079978370294
810612406335407
919668659384476
1012184646908223
1118343807244450
1218646644012874
1311570808831477
1411845580685643
1514831408990104
1618511276396418
1720462395984977
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A17Expression=SUMPRODUCT((RIGHT($A$1:$A$17,12)=RIGHT($A1,12))*1)>1textNO
 
Upvote 0
Thankyou so much for the quick response and simple answer.

Much appreciated.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,510
Members
448,967
Latest member
screechyboy79

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