Hi,
We are new to Smartsheet. We are migrating our project implementation schedule to Smartsheet. One of the gap we have is that Smartsheet does not calculate the header status automatically. See cell in yellow below. The current formula does not handle the status complete properly and has other issues. Does someone have any idea how to build an or statement or other suggestion on how we could build that formula?
What we want:
Statuses: Not Started, In Progress, Late, Blocked, Complete – on time / Complete – Late
- If 1 task status is in progress / Late / Blocked, then header status to be changed to that status. Blocked status takes precedence over late and in progress. Late status takes precedence over In progress.
- If tasks are either complete-on time / complete-late – Not Started, then header is in progress.
- If all tasks are complete – on time, then header status is complete.
- If all tasks are complete – late, then header status is complete.
- If tasks are a combination of complete – on time and complete – late, then status is complete.
Current formula
=IFERROR(IF(Hierarchy@row = 1, IF(COUNTIF(CHILDREN(), "Late") / COUNT(CHILDREN()) >= 0.1, "Late",
IF(COUNTIF(CHILDREN(), "Blocked") / COUNT(CHILDREN()) >= 0.1, "Blocked",
IF(COUNTIF(CHILDREN(), "In Progress") / COUNT(CHILDREN()) >= 0.1, "In Progress",
IF(COUNTIF(CHILDREN(), "Not Started") / COUNT(CHILDREN()) >= 0.1, "Not Started",
IF(COUNTIF(CHILDREN(), "Complete - Late") / COUNT(CHILDREN()) = 1, "Complete - Late",
IF(COUNTIF(CHILDREN(), "Complete - On Time") / COUNT(CHILDREN()) = 1, "Complete - On Time", "")))))), ""), "")
Thanks!
Anne-Solene