COUNTIF formula

hennarizvi
✭✭
I am trying to count the number of projects completed between July 1, 2018 and June 30, 2019 with this formula:
=COUNTIFS({Status}, ="Completed", {Completion Date}, >=DATE(2018, 7, 1) <= DATE(2019, 6, 30))
The outcome is supposed to be 6, but it is reading back 7 (it is also counting San Antonio). Does anyone know why??
Comments
-
I think you need to specify a range for both dates. Try this:
=COUNTIFS({Status}, ="Completed", {Completion Date}, >=DATE(2018, 7, 1), {Completion Date}, <= DATE(2019, 6, 30))
-
Thank you! This worked
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 430 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 75 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!