Help w/COUNTIFS, UNIQUE and specific year
Hi team - I have a sheet with a column called "Agreement Number" that I normally look down to get a unique count of agreements using: =COUNT(DISTINCT({(Source Data) Agreement number}))
I now have data that I've placed in that sheet in 2020 and 2021. What I'd like to do is count the unique agreements in the "Agreement number" column that were created in 2021. Created is an auto generated date.
Any ideas on how to go about that?
Best Answer
-
Try something like this...
=COUNT(DISTINCT(COLLECT({(Source Data) Agreement number}, {Created Date Column}, IFERROR(YEAR(DATEONLY(@cell)), 0) = 2021)))
Answers
-
Try something like this...
=COUNT(DISTINCT(COLLECT({(Source Data) Agreement number}, {Created Date Column}, IFERROR(YEAR(DATEONLY(@cell)), 0) = 2021)))
-
That worked! Thanks so much @Paul Newcome !!!
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!