Formula for counting tasks due in the next 7 days

jmacdal
jmacdal โœญโœญโœญ
edited 09/14/23 in Smartsheet Basics

Hello, I've created the below formula to count upcoming tasks that are due within the next 7 days. I prefer a single formula to also include "In Progress", "Not Started", or "On Hold" status and just planned on creating more countifs and summing them together. However, just testing the formula for Not Started, which I know there are 3 due in the next 7 days, it's retuning #UNPARSEABLE. When I remove the Due Date portion of the formula, I get the the total for every task in the project plan that's not started, so it has something to do with the way I have the Due Date.

=COUNTIFS([Row Type]:[Row Type], "Task", Status:Status, "Not Started", [Due Date]:[Due Date], AND(@cell <= TODAY(+7), @cell >= TODAY()))

Open to if maybe there is a better way to do this. I created a report and it pulls in 19 tasks due within the next 7 days (3 not started, 16 in progress). I just want the total count though as it's being displayed on a dashboard.

Appreciate in advance any ideas.

Answers