Conell8383
Board Regular
- Joined
- Jul 26, 2016
- Messages
- 66
Hi all. I hope you can help. I have inherited an excel sheet with a formula that I don't fully understand.
Essentially I believe the formula is looking to determine the amount of time a task from creation date and time (Cell U2) took to complete from (Cell V2) both in hours and minutes.
This is taking into consideration that my teams working hours are 8:30 am until 17:00 pm Monday to Friday excluding weekends and Holidays noted as 25th December 2017
I have attached a picture for better understand
The issue is that formula in W2 is returning a 0
The formula that is returning a 0 In W2 is
As always any and all help is greatly appreciated.
Essentially I believe the formula is looking to determine the amount of time a task from creation date and time (Cell U2) took to complete from (Cell V2) both in hours and minutes.
This is taking into consideration that my teams working hours are 8:30 am until 17:00 pm Monday to Friday excluding weekends and Holidays noted as 25th December 2017
I have attached a picture for better understand
The issue is that formula in W2 is returning a 0
The formula that is returning a 0 In W2 is
Code:
[FONT=Consolas]=(NETWORKDAYS.INTL(U2,V2,11,'Working Hours & Holidays'!$C$2)-1)*("17:00"-"8:30")+IF(NETWORKDAYS.INTL(V2,V2,11,'Working Hours & Holidays'!$C$2),MEDIAN(MOD(U2,1),"8:30","17:00"),"17:00")-MEDIAN(NETWORKDAYS.INTL(V2,V2,11,'Working Hours & Holidays'!$C$2)*MOD(U2,1),"8:30","17:00")[/FONT][/FONT][/COLOR]
As always any and all help is greatly appreciated.