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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!