Sheet Summary Formula - All Completed Tasks in the last 30 days
Good morning,
I am trying to add the total number of closed items within the last 30 days. I have used a lot of the suggested formulas in past posts, but it is still counting ALL completed tasks (72) instead of the tasks completed in the last 30 days (40).
I'm not sure if it's because it's a sheet summary and not within the sheet itself? I am using the following formula, tried it with and without an AND statement.
=COUNTIFS(Status:Status, "Complete", Modified:Modified, <=TODAY(), Modified:Modified, >=TODAY(-30))
Answers
-
Have you applied a filter to the sheet that mimics the ranges and criteria to see how many pop up that way then provide a screenshot of the rows it shouldn't be counting but is?
-
Sure, this is with a filter of Status = Complete and Modified = in the last 30 days. It returns 6 rows.
The formula returns "51". I'm not sure which 51 it is counting.
Last 30 days (6):
All modified (88):
-
It shouldn't amke a difference, but I have seen this help before. Let's add some @cell references.
=COUNTIFS(Status:Status, @cell = "Complete", Modified:Modified, @cell <=TODAY(), Modified:Modified, @cell >=TODAY(-30))
-
Thanks! This still returns 51
-
Ok. What about a screenshot of your filter settings?
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
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!