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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 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!