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

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!