Count IF for fixed dates
I am trying to do a simple CountIF, where the 'if' is whether an Expiration Date field is between a certain range, for example for if Expiration Date in in = January 2020, I would want to count any expiries between 1/1/2020 and 1/31/2020...it doesn't have to be relative, the expiration dates are 'fixed' in the sheet so they won't change or be updated/don't need to be relative to today etc.
Tried something as simple as =COUNTIF([Expiration Date]:[Expiration Date],>12/31/19) but can't get that to even work, is there a trick to this one?
Answers
-
Hello @brian25736
When counting between a Range, you want to input the Start and End of the Range within the COUNTIFS.
Here is an Example of what the Formula may look like: =COUNTIFS([Expiration Date]:[Expiration Date], >=DATE(2020, 5, 1), [Expiration Date]:[Expiration Date], <=DATE(2020, 10, 1))
Furthermore, here is an Example of this working within my Sheet:
Let me know if you have any questions!
Regards
Sean
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!