COUNTIFS and Duplicate Values

Hello! I need to figure out a way count the number of records in my issue log, EXCEPT if the records have the same parent number, they can only be counted once.
Is there an easy way to do this? Is there a way to use the DISTINCT formula in the "Parent" column, but also count the blank rows, as long as the Record column isn't blank?
I am open to any suggestion! Thank you in advance!
Best Answer
-
I figured out my own solution:
Added a helper checkbox row and used a formula to identify duplicates in the "Parent" column: =IF(COUNTIFS(Parent:Parent, Parent@row, Parent:Parent, NOT(ISBLANK(@cell))) > 1, 1)
I then set up a workflow with the logic "If "Duplicate" column is checked, copy row." I copied the rows to a helper sheet.
Since my helper sheet only included the rows with duplicates, I was able to utilize the DISTINCT function.
Answers
-
I figured out my own solution:
Added a helper checkbox row and used a formula to identify duplicates in the "Parent" column: =IF(COUNTIFS(Parent:Parent, Parent@row, Parent:Parent, NOT(ISBLANK(@cell))) > 1, 1)
I then set up a workflow with the logic "If "Duplicate" column is checked, copy row." I copied the rows to a helper sheet.
Since my helper sheet only included the rows with duplicates, I was able to utilize the DISTINCT function.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 442 Global Discussions
- 154 Industry Talk
- 503 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!