Duplicate (countif) keeps showing false value
I am using the countif function to show if a duplicate exists, but it keeps counting when there is no duplicate.
=COUNTIF(EID:EID, EID@row)
It works for the previous data I created, but when I add more using the forms, it always shows 1 as a duplicate count for the column. Even when I type in random letters and numbers, it will always show as 1. It only shows as 0 when I change the value to more than one zero.
Answers
-
Hello @aaaccclll -
Try the following formula:
=IF (COUNTIF (EID:EID, EID@row) > 1, 1, 0)
Hope this helps!
Linda
-
Thank you for the quick response @Linda Manduchova
I am not sure that it worked. Now it will not count any duplicates 😂
-
@aaaccclll - this was meant to be for a checkbox (whether is a flag, star, or checkbox) column. If a duplicate is identified then the checkbox gets checked, otherwise; the checkbox is unchecked.
Linda
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!