How to count projects by status and date range
Hi, I'm trying to count the number projects based 2 criteria: status and date range. Both of criteria are located in separate raw sheet I have been getting #unparseable #invalid operation. Below is sample formula used, basically I'm trying to count projects in year 2020 that have "status" complete:
COUNTIFS({Integration Projects: Raw Data Sheet Range 1}, "Complete" , AND ({Integration 2} >=DATE(2020, 01, 01), <=DATE(2020, 12, 31))).
Can anyone help? Thank you
Best Answer
-
Hi @Paul Newcome , thank you very much, I had to update the reference sheet but it worked!
Now that I'm succeeded calculating number of projects in a certain year, do you know how can I calculate within a certain month of the year?
Answers
-
Try something like this...
=COUNTIFS({Integration Projects: Raw Data Sheet Range 1}, "Complete" , {Integration 2}, IFERROR(YEAR(@cell), 0) = 2020)
-
Hi @Paul Newcome , thank you very much, I had to update the reference sheet but it worked!
Now that I'm succeeded calculating number of projects in a certain year, do you know how can I calculate within a certain month of the year?
-
Yes. You would use an AND statement to reference that same range and then use a MONTH function the same way we used the YEAR funciton.
=COUNTIFS({Integration Projects: Raw Data Sheet Range 1}, "Complete" , {Integration 2}, AND(IFERROR(YEAR(@cell), 0) = 2020, IFERROR(YEAR(@cell), 0) = 7))
-
Thank you @Paul Newcome!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!