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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!