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.
-
Tried that but didn't work.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!