I'm trying to create a formula that will count the number of projects completed in the past 5 days
What I'm currently using is not capturing all the projects --- In this case there should be 27 and my formula is returning 11
=COUNTIFS({Project Plan OPERATIONS Range 11}, "End Date" = TODAY(-5), {Project Plan OPERATIONS Range 1}, Primary3) ------Range 11 reflects the End Date column on the project sheet and Range 1 represents the Status column on the project sheet
My metric sheet is set up as follows:
Thanks so much for your assistance!!!
Best Answer
-
Your COUNTIFS formula is returning projects that were finished 5 days ago only. Try this instead:
=COUNTIFS({Project Plan OPERATIONS Range 11}, AND(@cell>= TODAY(-5), @cell<=TODAY()), {Project Plan OPERATIONS Range 1}, Primary@row)
Hope it helped!
Answers
-
Your COUNTIFS formula is returning projects that were finished 5 days ago only. Try this instead:
=COUNTIFS({Project Plan OPERATIONS Range 11}, AND(@cell>= TODAY(-5), @cell<=TODAY()), {Project Plan OPERATIONS Range 1}, Primary@row)
Hope it helped!
-
This worked! Thanks so much for your assistance!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!