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
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!