Identify duplicate entries using Email column (contact) and Row ID column (text/number)
I have a sheet we are using for attendance for multiple trainings. Each entry has a Row ID unique to that training and I want to identify duplicates of when an email entered multiple entries for one Row ID. I used the following formula in a text/number duplicate column but it is coming up with 0
=COUNTIFS([Email]:[Email], [Email]@row, [Row ID]:[Row ID], [Row ID]@row)
I tried to also make the duplicate a checkbox and use the following formula but it also isn't working. I appreciate the help.
=IF(COUNTIFS([Email]:[Email], [Email]@row, [Row ID]:[Row ID], [Row ID]@row) > 1, 1, 0)
Answers
-
The first formula is correct. That should count duplicates. You are sure there are duplicates in your data. See screenshot
================================================
"Nothing is impossible. The word itself says 'I'm possible!'"
-
Hi @pris,
Your first formula should have worked as I was able to make it work. The only think I'd note is that your syntax is wrong for the [Email]@row, whereas it should be Email@row. Maybe that is the simple fix?
Here's a link to a published sheet I created to test this for you to let me know if I missed something in my evaluation:
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
If you were happy with my answer, please upvote and mark my response as answered.
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
Let's connect: LinkedIn - Travis C.
If my answer was sufficient, pleaseupvote and mark my response as answered.
-
I am sure there is duplicates but it isnt working. The ROW ID has leading Zeros, could that be why?
-
@MedaUser I also noticed your email is not a contact column, could that also be playing a role?
-
@pris Thank you for the additional information. It is not the Contact column that's disrupting your formula (see my shared sheet as I added that column for testing). It turns out to be your training ID column that's likely disrupting your formula. I assume you are adding the 00011 manually for each row, which will add an apostrophe to the beginning of the leading zeros to retain your intended value as displayed with leading zeros. This seems to be causing the issue for me as well.
I would suggest that you either remove your leading zeros and make the number "11" or add a letter to the beginning of your training identifier, such as TRN00011.
Smartsheet Source: In a Text/Number column, if the first character in a cell is zero, followed by another digit or letter, Smartsheet attaches an apostrophe to the beginning of the value. This is done to retain and display the leading zero as part of the number. If you want to store the value as a number to perform calculations, you need to double-click the cell and remove the apostrophe and any leading zeros. For more information, please visit: .
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
If you were happy with my answer, please upvote and mark my response as answered.
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
Let's connect: LinkedIn - Travis C.
If my answer was sufficient, pleaseupvote and mark my response as answered.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!