countifs with multiple criteria with dates
I'm trying to count the number of items in a list that are on time, early and late. I have a "due date - plan", a "due date - actual" and a calculation of the difference.
The following formula works to count items where the difference is 0:
=COUNTIFS({TTKENG 2021 RoadMap Priority2}, "Red", {TTKENG 2021 RoadMap Stage2}, "9 Released", {TTKENG 2021 RoadMap OnTime}, "0")
But when I try to calculate items less than 0, etc, this does not work:
=COUNTIFS({TTKENG 2021 RoadMap Priority2}, "Red", {TTKENG 2021 RoadMap Stage2}, "9 Released", {TTKENG 2021 RoadMap OnTime}, <"0")
I'd also like to be able to calculate items between 1-14 days, and >14 days.
Can anyone help?
Best Answers
-
Hey @Angie Little
Remove the quote signs from zero and less than zero. Quotes aren't used with numbers and may cause a number to behave as if it were text.
-
Excellent - thank you!
Answers
-
Hey @Angie Little
Remove the quote signs from zero and less than zero. Quotes aren't used with numbers and may cause a number to behave as if it were text.
-
Excellent - thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!