Formula for counting cells with a specific date
The sheet is set up to fill in the create date for a ticket logged from a form. I need to count how many were opened each day and used the below formula for each date but the count says zero when there are line items for that date.
=COUNTIF({TJ Regional Health eService Range 6}, "08/01/22")
When I hover over the date in the cell it reads Monday, August 1st, 2022 so I also tried the below formula which did not work.
=COUNTIF({TJ Regional Health eService Range 6}, "Monday, August 1, 2022")
Answers
-
=COUNTIFS({TJ Regional Health eService Range 6}, =DATE(2022, 8, 1))
Dates can be funny. Smartsheet will look for text when you have "date" so if the cell is a text cell with 8/1/2022 it will count it. But with date cells I typically go with DATE() to avoid any confusion
-
I cannot tell you how grateful I am for this help. You have saved me countless hours of restless sleep.
-
Glad I could help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!