Thanks for the quick reply Alex.
I am indeed using a Lookup column to connect the subtasks (predecessor tasks) with a project task. I’ve created the calculated column, added in the custom JS and set up the rule to trigger it but i’m currently getting a “function is undefined “” ” error message when I try to trigger it.
Most likely i’m missing something completely obvious but can’t seem to remedy it just yet!
Thanks again for your help.