I have searched high and low for a formula that would compute the total elapsed working time (in minutes) of an event taking into consideration only the working days and specified working hours. I finally broke down and wrote one myself. Here it is ... enjoy!
Named Ranges:- DayStart - time of day business starts
DayEnd - time of day business ends
HolidayList - vector of holiday dates
StartEvent - the date/time of the start of the event
EndEvent - the date/time of the end of the event
Formula:
How it works?
Although it appears a little complicated, it basically is:
The number of minutes in the first day of the event (as long as it is a working day)
PLUS
The number of minutes of the last day of the event (also provided it is a working day)
PLUS
Number working days between the first day and last day * working minutes in a day
Bookmarks