Countifs formula to count tasks in a range last 7 days to future 7 days
This seemingly simple formula is giving me problems. I want it to count the number of tasks due in the past 7 days through the next 7 days. I am working with the following and getting "#UNPARSEABLE":
=COUNTIFS({Owner}, "Joe", {Status}, "In Progress"), {Due}, >= TODAY(-7), {Due}, <= TODAY(+7)
I'd appreciate any assistance in correcting this formula. Thanks in advance.
Best Answer
-
Looks like you have a misplace parentheses. Try this:
=COUNTIFS({Owner}, "Joe", {Status}, "In Progress", {Due}, >= TODAY(-7), {Due}, <= TODAY(+7))
Hope this helps!:)
Answers
-
Looks like you have a misplace parentheses. Try this:
=COUNTIFS({Owner}, "Joe", {Status}, "In Progress", {Due}, >= TODAY(-7), {Due}, <= TODAY(+7))
Hope this helps!:)
-
Hello @SS_user10294507
If this was a copy/paste of the function. Then there's no close ")" to your COUNTIFS function.
-
@SS_user10294507 I see 2 errors with your formula, there a parenthesis right after in progress which shouldn't be there but at the end .... (+7) ). if that doesn't fix it then I suggest something like this: =COUNTIFS(Owner:Owner, "Joe", Status:Status, "In Progress", Due:Due, AND(@cell >= TODAY(-7), @cell <= TODAY(+7)))
-
@brianschmidt thank you. This has resolved the issue. I appreciate your quick response.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 454 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!