Can someone please correct my COUNTIF formula to establish an active project?
![Roger D](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
I need to have a cell counted between two date ranges. The first set of dates, denotes project start, the other is project end.
So, if my project end has not exceeded today, it means it is still active
=COUNTIFS([Const Start]6:[Const Start]39, "<=" TODAY(), [Const End]6:[Const End]39 ">=" TODAY())
Thanks in advance for the help!
Answers
-
Try: =COUNTIFS([Const Start]6:[Const Start]39, <= TODAY(), [Const End]6:[Const End]39, >= TODAY())
-
Thank you Nic, it should come back to 3 and it is not. The first 3 projects in the screenshot are active as you can see but result was "0"
-
Hmm, I mocked up the formula in a test sheet and it is calculating correctly for me as 3 as well.
=COUNTIFS([Constr Start]6:[Constr Start]12, <=TODAY(), [Const End]6:[Const End]12, >=TODAY())
-
Are both your date columns set as a Date Column type?
-
That did it, rookie mistake. Thanks a bunch!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!