wallace1530
Jan 04, 2023Copper Contributor
Calculated Column - if statements
Hi everyone,
I am hoping someone can help, i am setting up a SharePoint list to replace an existing excel doc.
I need to create a column that calculates the number of days completed in a project; the excel formula is;
=IF(NOW()>F2,E2,IF(NOW()<D2,0,NETWORKDAYS([@[Start Date]],NOW(),1)))
F2 is End Date
E2 is Duration (time between start and end date)
D2 is Start Date
So if today is after the end date show the duration, if the start date is after today show 0, else tell me the days between the start date and today +1 (to include today).
I am having issues with the last part of the statement, can anyone help me with writing the correct syntax?
Many Thanks, Matt