Need help with counting criteria within a date range
Hi - I am looking to count cells that are "in progress" within a specific month, for example, August. I use this formula but the count doesn't come up correctly. Can you help? Thank you!
=COUNTIFS({Turnaround Plan Range 1}, "In Progress", {Turnaround Plan Range 2}, <=DATE(22, 8, 1) >= DATE(22, 8, 31))
Best Answer
-
Give this a try...
=COUNTIFS({Turnaround Plan Range 1}, "Not Started", {Turnaround Plan Range 2}, AND(>=DATE(2022, 8, 1), <= DATE(2022, 8, 31)))
You could also try this too:
=COUNTIFS({Turnaround Plan Range 1}, "Not Started", {Turnaround Plan Range 2}, >=DATE(2022, 8, 1), {Turnaround Plan Range 2}, <= DATE(2022, 8, 31))
Answers
-
Oops - I adjusted my greater than/less than and its still not coming up correctly.
Updated formula -
=COUNTIFS({Turnaround Plan Range 1}, "Not Started", {Turnaround Plan Range 2}, >=DATE(2022, 8, 1) <= DATE(2022, 8, 31))
-
Give this a try...
=COUNTIFS({Turnaround Plan Range 1}, "Not Started", {Turnaround Plan Range 2}, AND(>=DATE(2022, 8, 1), <= DATE(2022, 8, 31)))
You could also try this too:
=COUNTIFS({Turnaround Plan Range 1}, "Not Started", {Turnaround Plan Range 2}, >=DATE(2022, 8, 1), {Turnaround Plan Range 2}, <= DATE(2022, 8, 31))
-
Wonderful! The second one worked perfectly. Thank you so much.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 139 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!