Formula to count specific month
Hi,
I'm trying to count a number of projects for a timeline creation. I need a formula to count a project that started in a specific month. My current formula does not work :( this is my formula
=COUNTIF({Project Type}, "Non-infra", {Project or Milestone}, "Project", {start date}, >=DATE(2020, 1, 1), AND({start date}, <= (2020, 31, 01)+""))
Best Answer
-
Hi @HueyD ,
You need to use a COUNTIFS function to include multiple criterion. The syntax is: COUNTIFS( range1 criterion1 [ range2criterion2... ])
Your formula would be:
=COUNTIFS({Project Type}, "Non-infra", {Project or Milestone}, "Project", {start date}, >=DATE(2020, 1, 1), {start date}, <= (2020, 31, 01))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @HueyD ,
You need to use a COUNTIFS function to include multiple criterion. The syntax is: COUNTIFS( range1 criterion1 [ range2criterion2... ])
Your formula would be:
=COUNTIFS({Project Type}, "Non-infra", {Project or Milestone}, "Project", {start date}, >=DATE(2020, 1, 1), {start date}, <= (2020, 31, 01))
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks Mark, it works. Can't believe I missed that step
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 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!