Hi team,
I've come across an odd ball that I've never seen before with the Networkdays formula.
The formula I started with was:
=IFERROR(NETWORKDAYS(DATEONLY([Created Date]@row), [Date Closed]@row), " ") which returned the expected number of days inclusive of the "Created Date" until there was an entry that was created and closed on the same day. This returned 2 days instead of 1.
As a test I changed the formula to include the -1 to remove the inclusive day and am still getting 1 day instead of 0 for this row, despite the other lines calculating. correctly.=IFERROR(NETWORKDAYS(DATEONLY([Created Date]@row), [Date Closed]@row) - 1, " ")
This is also happening in parallel with a running day formula I have also set up.
=IFERROR(IF(Status@row = "Done", NETWORKDAYS(DATEONLY([Created Date]@row), [Date Closed]@row), TODAY() - [Created Date]@row) - 1, " ")
Can anyone see what is incorrect? I am stumped because it seems to calculate the other rows correctly.
Thank you in advance!