Countif- Remove Duplicates
Hi there!
I am trying to count the type of client we have per opportunity attached to a project. We will have some projects attached to the same opportunity and we will not want that data to be counted twice. I have attached a sample sheet of the data.
I have been using this formula to count duplicates. However this is counting blanks and does not account for client type.
=IF(COUNTIF(Opportunity:Opportunity, Opportunity@row) > 1, 1)))
Can someone help point me in the direction of a better formula to use to:
-Count the type of client
-Not count when the opportunity is a duplicate
Thank you in advance for your assistance!
Best Answer
-
@Natalie K you can use the DISTINCT formula for this: =IF(COUNTIF(DISTINCT(Opportunity:Opportunity), Opportunity@row) > 1, 1)))
Answers
-
@Natalie K you can use the DISTINCT formula for this: =IF(COUNTIF(DISTINCT(Opportunity:Opportunity), Opportunity@row) > 1, 1)))
-
Awesome, thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!