Hi
I have been trying to work out a formula that calculates how many days there are left between 2 dates:
I have these fields:
WorkReceived - Date Field (Today's Date+7)
CompleteBy - Date Field (Shows the date which has been selected from WorkReceived)
CompletedOn - Date Field ( This is selected once the work has been completed)
Progress - Calculated Column - This field works out how long the work is within date or over by, showing minus for over and then positive for under)
The calculation stands at this: Once WorkReceived has a date populated, it then shows the date 7 days after, the result then shows in Progress showing 5 working days, as I use -2 to subtract the weekends. For example Today's date is 24/02/15 in the CompleteBy will show 03/03/15 and in Progress will show 5 then. When CompletedOn is populated with a date for instance 24/02/15 which then means its completed within the completion time, in Progress it returns a 6 which I would need a 4 as I am trying to exclude Weekends.
This is currently my formula:
=IF(ISBLANK(CompletedOn),(CompleteBy-WorkReceived-2),(CompleteBy-CompletedOn))
would anyone know a way of making this formula work ?
Regards
James