Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Project Status Formula Help

I have a formula I need help with for the top level of my project checklist hierarchy.

  1. Overall Project Status - this is looking only at the highest level rows which are indicated by the helper column Hierarchy=0.
    1. The objective of the formula is as follows:
      1. If the Project Override field (in the Sheet Summary) is filled out = Display that value
      2. If the Project Override field is blank - then look at all parent rows where the following is true:
        1. "Default Filter" column is checked AND
        2. "Summary" column is not checked AND
        3. "Hierarchy" column = 0 THEN
        4. Look at "Status" column
          1. If all the rows say "Completed" > Project Status: Complete
          2. If all rows say "Not Started" > Project Status: Planning
          3. If any row says "In Progress" > Project Status: Active

This is the current formula we have that does not appear to be working:

Formula =IF([Project Status Override]# <> "", [Project Status Override]#, IF(AND(COUNTIFS([Tasks Needed]:[Tasks Needed], 0, Summary:Summary, 0, Hierarchy:Hierarchy, >0, Status:Status, OR(@cell="Completed", @cell="Cancelled")) = COUNTIFS([Tasks Needed]:[Tasks Needed], 0, Summary:Summary, 0, Hierarchy:Hierarchy, >0)), "Complete", IF(AND(COUNTIFS([Tasks Needed]:[Tasks Needed], 0, Summary:Summary, 0, Hierarchy:Hierarchy, >0, Status:Status, "Not Started") = COUNTIFS([Tasks Needed]:[Tasks Needed], 0, Summary:Summary, 0, Hierarchy:Hierarchy, >0)), "Planning", "Active")))

Best Answers

«1

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions