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
- Customer Resources
- 64.8K Get Help
- 434 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!