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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!