Countifs Issues with Date Columns
I am having issues with a formula that I try an use to count dates in a column that are less than the present day. With a modification the formula works just fine count the number of dates within the next 30 days. Both columns have conditional formatting associated with them, but the one giving me heartburn has the date calculated by a formula. I tried removing the formula to no avail.
I get the Error #INVALID DATA TYPE
Formula w/error:
=COUNTIFS([Assigned Quality Engineer]:[Assigned Quality Engineer], "NAME", [Approval Status]:[Approval Status], OR(@cell = "Approved", @cell = "Conditional", @cell = "", @cell = "TBD", @cell = "TBD – Under Eval"), [Survey Next Due Date]:[Survey Next Due Date], <=TODAY(+0))
Formula that works:
=COUNTIFS([Assigned Quality Engineer]:[Assigned Quality Engineer], "Name", [Approval Status]:[Approval Status], OR(@cell = "Approved", @cell = "Conditional", @cell = "", @cell = "TBD", @cell = "TBD – Under Eval"), [Re-Evaluation Date]:[Re-Evaluation Date], <=TODAY(+30))
Any ideas would be appreciated
Comments
-
Try removing the +0 from inside the TODAY function.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Tried that but didn't work.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!