Counting Active projects within 2 dates
I have 2 date columns: Actual Start and Actual Finish in my intake sheet and want to summarize active projects by month over time.
I setup trend sheet with months and years and want the formula to count actives for the month if:
Actual Start is NOT blank
AND Actual Start (Less than or equal to the Month/Year on the row in the Trend sheet)
AND Actual Finish is blank OR > Month Year on the row in the trend sheet
Comments
-
If your trend sheet is set up as below (column headers in bold)...
.
MONTH YEAR COUNT
1 2019 f
2 2019 f
3 2019 f
4 2019 f
.
You will want to use something like this...
=COUNTIFS({Source Sheet Actual Start Date}, AND(MONTH(DATEONLY(@cell)) <= Month@row, YEAR(DATEONLY(@cell)) <= Year@row), {Source Sheet Actual Finish Date}, OR(ISBLANK(@cell), AND(MONTH(DATEONLY(@cell)) >= Month@row, YEAR(DATEONLY(@cell)) >= Year@row)))
-
Thanks Paul! I'll give it a try.
-
Happy to help! Let me know how it goes...
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 435 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!