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
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!