Finding duplicates
Finding duplicates so that I can use conditional formatting to highlight the duplicates.
Why am I not getting the 2 in the "find duplicate" column? I also tried =if(countif([ref. no.]:[ref. no.],[ref. no.]@row) >1,1). what am I doing wrong?
Thank you in advance,
Best Answer
-
Hello SamprasFederer,
The issue you are having is that Smartsheets adds an apostrophe to the front of 0's, so 020496 is actually '020496 so it is treating it as a text string (click in the cell and verify). If it is possible you can a helper column and use the VALUE function like this:
=VALUE([Ref. No.]@row)
This takes the value in [Ref. No.] column and turn it into a number. As you can see below:
The first two columns are a mock-up of what you have [Ref. No.] & [Duplicates] and 020496 is not being flagged, the second two columns [Ref No Num] and [Ref Num Duplicates] is using the VALUE function and it converted 020496 to 20496 and it flagged it as a duplicate.
I hope this helps.
Answers
-
Hello SamprasFederer,
The issue you are having is that Smartsheets adds an apostrophe to the front of 0's, so 020496 is actually '020496 so it is treating it as a text string (click in the cell and verify). If it is possible you can a helper column and use the VALUE function like this:
=VALUE([Ref. No.]@row)
This takes the value in [Ref. No.] column and turn it into a number. As you can see below:
The first two columns are a mock-up of what you have [Ref. No.] & [Duplicates] and 020496 is not being flagged, the second two columns [Ref No Num] and [Ref Num Duplicates] is using the VALUE function and it converted 020496 to 20496 and it flagged it as a duplicate.
I hope this helps. -
Now I understand, thank you!
Love Smartsheet and its community!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!