How to count the tasks that are past due, due in the next 7 days and in the next 3 days?
I have a Due date column and I would like to count how many tasks are due in the next 3 days, due in the next seven days and overdue tasks. Kindly help me on the formula.
Overdue= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <TODAY())
Due in the next 7 days= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, >=TODAY(7))
Due in the next 3 days=COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, >=TODAY(3))
Best Answer
-
Hi Lea,
You're super close! Here you go!
Overdue= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <TODAY())
Due in the next 7 days= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+7))
Due in the next 3 days=COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+3))
Note that the last two formulas will still count the number of items that are past due and open as well, so if you want to rule those out, add
, {due date range 2}, <TODAY()
to each due date formula. Then they would read:
Due in the next 7 days= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+7), {due date range 2}, <TODAY())
Due in the next 3 days=COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+3), {due date range 2}, >TODAY())
Best,
Heather
Answers
-
Hi Lea,
You're super close! Here you go!
Overdue= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <TODAY())
Due in the next 7 days= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+7))
Due in the next 3 days=COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+3))
Note that the last two formulas will still count the number of items that are past due and open as well, so if you want to rule those out, add
, {due date range 2}, <TODAY()
to each due date formula. Then they would read:
Due in the next 7 days= =COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+7), {due date range 2}, <TODAY())
Due in the next 3 days=COUNTIFS({Status Range 1}, "Open", {Due Date Range 2}, <=TODAY(+3), {due date range 2}, >TODAY())
Best,
Heather
-
Thank you Heather, it works.
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!