Formulas for a range of dates in relation to today.
I am trying to rollup data to summarize how many projects have a completion date in the next 30, 60, and 90 days.
Currently, I have them set up like this.
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <=TODAY(30))
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(60))
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(90))
The first formula is what I need.
For the 2nd formula, I want to calculate projects with a completion date 31-60 days from today.
For the 3rd formula, I want to calculate projects with a completion date of 61-90 days from today.
Thanks in advance for your help!
Best Answer
-
Hi @SO-Sara Bourdeau
Hope you are fine, you can do that in a simple way as follows:
projects with a completion date of 61-90 days from today:
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(90)) - COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(61))
projects with a completion date 31-60 days from today.
= COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(60)) - COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <=TODAY(31))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
Hi @SO-Sara Bourdeau
Hope you are fine, you can do that in a simple way as follows:
projects with a completion date of 61-90 days from today:
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(90)) - COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(61))
projects with a completion date 31-60 days from today.
= COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <TODAY(60)) - COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <=TODAY(31))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Bassam - Thank you - this worked. Now, I would like to add an exclusion for dates within the range, where the status is marked complete.
This is what I have for due in the next 30 days but not complete, but getting unparseable.
=COUNTIFS({2021 Strategic Plan Initiatives Master Range 2}, <=TODAY(30), {2021 Strategic Plan Initiatives Master Range 1}, <>"Complete"))
Any ideas?
-
Hi Bassam,
I am attempting a similar search for "Unassigned" projects within 31-60 days. I attempted your formula but it appears to be counting any item within the "Completed" column, which is just the created date of the project. Thoughts?
=COUNTIFS(Status:Status, "Unassigned", Completed:Completed, <=TODAY(60)) - COUNTIFS(Completed:Completed, >=TODAY(31))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!