Results 1 to 2 of 2
2012-09-27, 17:30 #1
- Join Date
- Sep 2012
- Thanked 0 Times in 0 Posts
Calculating date and time in business days other than Saturday/Sunday
I have been using the below formula for a while to calculate the time it takes to close our help desk tickets, in hardcoded business hours (5AM to 6PM) given the normal business days (Saturday and Sunday). It works like a champ - however, now I have a few people working in the Middle East and their weekend is Thursday and Friday -
How can I tell this formula to count the business days Saturday thru Weednesday? Or any other forumal out there that will do that job?
=IF(COUNT(H10,I10)=2,24*((NETWORKDAYS(H10,I10)-1)*("18:00"-"5:00")+IF(NETWORKDAYS(I10,I10),MEDIAN(MOD(I10,1), "18:00","5:00"),"18:00")-MEDIAN(NETWORKDAYS(H10,H10)*MOD(H10,1),"18:00","5: 00")),0)
2012-09-27, 17:43 #2
- Join Date
- Mar 2004
- Manning, South Carolina
- Thanked 1,480 Times in 1,346 Posts
Welcome to the Lounge as a new poster!
Try the NETWORKDAYS.INTL function which allows you to specify the 2 weekend days.
NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays]).
For more information in Excel select help then type in: function networkdays
it will be the second entry in the output.