How to count number of entries that fall between two dates
Hi!
I have a sheet that has a date column to enter the initial date of contact. I want to count how many of those entries fall between 2 dates (by month) i.e. I want to know how many of the entries have a date between 1/1/22 and 1/31/22. This is my formula but it's not calculating correctly as I know I have 2 entries with Jan 2022 dates. What have I missed here?
=COUNTIFS({Special Projects Division Master Initial Contact D}, <=(DATE(2022, 1, 1)), {Special Projects Division Master Initial Contact D}, >=(DATE(2022, 1, 31)))
Thanks for the help! As always!!
Best Answers
-
@Debbie Petersen Don't you want...
=COUNTIFS({Special Projects Division Master Initial Contact D}, >=(DATE(2022, 1, 1)), {Special Projects Division Master Initial Contact D}, <=(DATE(2022, 1, 31)))
Brent C. Wilson, P.Eng, PMP, Prince2
Facilityy Professional Services Inc.
http://www.facilityy.com
-
Sometimes you need another set of eyes! Completely missed I had those backwards! Thank you!
Answers
-
@Debbie Petersen Don't you want...
=COUNTIFS({Special Projects Division Master Initial Contact D}, >=(DATE(2022, 1, 1)), {Special Projects Division Master Initial Contact D}, <=(DATE(2022, 1, 31)))
Brent C. Wilson, P.Eng, PMP, Prince2
Facilityy Professional Services Inc.
http://www.facilityy.com
-
Sometimes you need another set of eyes! Completely missed I had those backwards! Thank you!
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!