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
- 65.1K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 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!