jawaharprm
Member
Hi Team,
Please help this formula,
Need to calculate correct work hours by date & time tat is 2 hours from allocation date and closing date
Ex - 11/9/2021 12:34:06 AM - 11/10/2021 7:34:00 AM work hours should by 1 hours bzc after 1AM shift it closed and Saturday & Sunday should not consider
i used below mentionedformula but not getting correct hours.
=IF(A12="","",(NETWORKDAYS(A12,D12)-1-MOD(A12,1)+MOD(D12,1))*24)
IF(MOD(A11-D11,1)*24>8,MOD(A11-(D11+8/24),1)*24-(A11<(D11+8/24))*(22-6)-MEDIAN(A11*24,22,6)+MEDIAN((D11+8/24)*24,22,6),0)
sample file enclosed for your reference
Thanks
Jawahar
Please help this formula,
Need to calculate correct work hours by date & time tat is 2 hours from allocation date and closing date
Ex - 11/9/2021 12:34:06 AM - 11/10/2021 7:34:00 AM work hours should by 1 hours bzc after 1AM shift it closed and Saturday & Sunday should not consider
i used below mentionedformula but not getting correct hours.
=IF(A12="","",(NETWORKDAYS(A12,D12)-1-MOD(A12,1)+MOD(D12,1))*24)
IF(MOD(A11-D11,1)*24>8,MOD(A11-(D11+8/24),1)*24-(A11<(D11+8/24))*(22-6)-MEDIAN(A11*24,22,6)+MEDIAN((D11+8/24)*24,22,6),0)
sample file enclosed for your reference
Thanks
Jawahar