Trying to calculate the buffer a task or chain of tasks has before it affects the project completion date.
iscritical allows me to determine if on critical path, in which case its 0 days buffer.
I'm trying to leverage successors function to see if i can determine the buffer, but no matter what i try it just gives me the row number of the successors or mic/max successor.
from there i used an index/match to find the min successor current start, and then subtract that from the task's current end.
this works to find the final task in a succesors chain to determine the buffer, but all predecessor tasks in that chain are showing 0. in addition, the buffer does not take into account any holidays or things connected to resource management addon.
is there a way to do this? or is it not possible?
MIN SUCCESSOR START
=IF(COUNT(SUCCESSORS([Task Name]@row)) = 0, [Current Start]@row, IF(COUNT(SUCCESSORS([Task Name]@row)) > 0, INDEX([Current Start]:[Current Start], MIN(SUCCESSORS([Task Name]@row))), ""))
BUFFER?
=IF(ISCRITICAL([Task Name]@row), 0, IF([Min Successor Start Date]@row = "", "?", NETWORKDAYS([Current End]@row, [Min Successor Start Date]@row)))