Flagging Duplicates with Multiple Criteria
Hi all,
Trying to identify when I get a duplicate that meets both criteria, when the Work Order Number is the same and when the Service Area is the same.
I'm using the following formula, =IF(COUNTIFS([Pass Number]:[Pass Number],[Pass Number]@row,Site:Site,Site@row)>1,"Duplicate","Not Duplicate")
But its not working properly as its identifying duplicates if only one of the criteria matches.
Best Answer
-
Hey @Jack Parry,
You could do an initial check on the formula like so:
=IF(ISBLANK([Work Order Number]@row), "Not Duplicate", IF(COUNTIFS([Pass Number]:[Pass Number],[Pass Number]@row,Site:Site,Site@row)>1,"Duplicate","Not Duplicate"))
Hope this helps!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
Answers
-
Hey @Jack Parry,
Not sure why your formula wouldn't work. I tested it and it seems to be working for me.
If the data isn't sensitive, could you provide a screenshot of your sheet showing it not working properly?
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
@bisaacs I think I understand why its coming back with duplicates, its because the Work Order Number is blank for those rows.
Is there a way I can alter the formula to not count blank entries? -
Hey @Jack Parry,
You could do an initial check on the formula like so:
=IF(ISBLANK([Work Order Number]@row), "Not Duplicate", IF(COUNTIFS([Pass Number]:[Pass Number],[Pass Number]@row,Site:Site,Site@row)>1,"Duplicate","Not Duplicate"))
Hope this helps!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
@bisaacs that works! Thank you :)
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!