Can someone please correct my COUNTIF formula to establish an active project?
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
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!