r.sunkum
New Member
- Joined
- Mar 10, 2011
- Messages
- 5
Business Hour Issue
I have an Scineario where in i have to clculate business hours from Monday to Friday (08:00 To 22:00) and on Saturday - Sunday(08:00 To 18:00).
Iam able to calculate for Monday to Friday using follwoing formula
NETWORKDAYS(A3,B3,H_D)*(eT-sT)-(NETWORKDAYS(A3,A3,H_D)*MAX(0,MIN(eT,MOD(A3,1))-sT))-(NETWORKDAYS(B3,B3,H_D)*MAX(0,eT-MAX(MOD(B3,1),sT)))
but Iam Not able to get the logic for Weekend calculation
Solution Please
Thanks & Regards
r.sunkum
I have an Scineario where in i have to clculate business hours from Monday to Friday (08:00 To 22:00) and on Saturday - Sunday(08:00 To 18:00).
Iam able to calculate for Monday to Friday using follwoing formula
NETWORKDAYS(A3,B3,H_D)*(eT-sT)-(NETWORKDAYS(A3,A3,H_D)*MAX(0,MIN(eT,MOD(A3,1))-sT))-(NETWORKDAYS(B3,B3,H_D)*MAX(0,eT-MAX(MOD(B3,1),sT)))
but Iam Not able to get the logic for Weekend calculation
Solution Please
Thanks & Regards
r.sunkum