How do I get an unduplicated count of names from a cell range, filtered by date?
I am creating a sheet summary for a sheet that includes a column called "School Name" and another column called "Program Inclusion Date." Some of the schools are listed more than once in the "School Name" column, and I am trying to get an unduplicated count of school names with dates in the "Program Inclusion Date" column <=TODAY(0). I am not having any luck.
The closest I have come so far are these two formulas:
=COUNT(DISTINCT([School Name]:[School Name]), COUNTIF([Program Inclusion Date]:[Program Inclusion Date], <=TODAY(0)))
which returns too many hits and
=COUNT(DISTINCT(COLLECT([School Name]:[School Name]), COUNTIF([Program Inclusion Date]:[Program Inclusion Date], <=TODAY(0))))
which returns only 1.
Can anyone help?
Comments
-
=count(distinct(collect([school name]:[school name],[program inclusion date]:[program inclusion date], @cell <= today()
Give that guy a try and see if it does what you want it to.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!