Hello - I need some help trouble shooting a nested IF statement.
In our project plans, we have a column that show the decision made for a specific phase of development. The are Go, NoGo, Transferred and Terminated decisions. I have recently added the Transferred decision. These decisions are driven by multiple factors in the sheet. If a project is Transferred or Terminated, it will always be the last phase reported in the project plan. I cannot get the "Transferred" to work, which I think is the result of incorrect parenthesis in a nested IF statement - but I have stared at this for quite a while and can't see the problem. The last part of the statement drives the Go and NoGo decisions via a Index Collect from a reference sheet. Thanks for any help. The formula is below
=IFERROR(IF(AND([Current Phase]@row = "Transferred", [End Date]@row = MAX(COLLECT([End Date]:[End Date], [Phase (Y/N)]:[Phase (Y/N)], 1, [Current Phase Identifier]:[Current Phase Identifier], 0))), "Transferred", IF(AND([Current Phase]@row = "Terminated", [End Date]@row = MAX(COLLECT([End Date]:[End Date], [Phase (Y/N)]:[Phase (Y/N)], 1, [Current Phase Identifier]:[Current Phase Identifier], 0))), "NoGo", IF([Phase (Y/N)]@row = 1, INDEX(COLLECT({Result}, {Phase Status}, [Phase Status]@row , {Project Status}, [Current Project Status]@row ), 1))), ""))