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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!