I have a sheet that is a running list of tasks that gets added to weekly. I am looking to figure out how to show how early, or late, a task is completed in relation to the due date. If the task is on time, I want to show 0.
I have been trying to use this formula
=NETWORKDAYS([Due Date]@row, [Actual Finish]@row) - 1
This works fine if the task is late. If the task is early, then the calculation is off by several days.
I tried combining several formulas based on what I have read elsewhere in the forum and now I just get #INCORRECT ARGUMENT.
=IF([Actual Finish]@row = [Due Date]@row, 0, IF([Due Date]@row < [Actual Finish]@row), =NETWORKDAYS([Due Date]@row, [Actual Finish]@row)-1, IF([Due Date]@row, [Actual Finish]@row) > 0, =NETWORKDAYS([Due Date]@row, [Actual Finish]@row)+1)
Any suggestions?