The following thread gave excellent formula for calculating the time accurately between two dates including the start/end of the working day, public holidays, weekends etc.
http://www.excelforum.com/excel-gene...asure-sla.html
I used it to construct the following formula:
=NETWORKDAYS(H2,K2,_NWD)-1)*(_end_of_day-_start_of_day)+IF(NETWORKDAYS(K2,K2,_NWD),MAX(_start_of_day,MOD(K2,1)),_end_of_day)-MEDIAN(NETWORKDAYS(H2,H2,_NWD)*MOD(H2,1),_start_of_day:_end_of_day)
This gives me accurate hours/minutes between two date/times.
However, now I have a further requirement.
The above tells me how long was actually taken from ticket CREATION (H2) to closed date (K2). But I need to calculate the DUE DATE (by when the ticket should have been closed to be within SLA).
So given the CREATION (H2) and the target number of hours (eg 48), what is the DUE DATE for the closure?
Just adding 48 to the CREATION DATE will not consider the non-working days (defined in _NWD) or the working hours (defined between _start_of_day and _end_of_day).
Has anyone tried to achieve similar with any success, please?
Thanks
Bookmarks