Can someone please help me calculate the hours between 2 dates, excluding non-business hours ONLY.
I do not believe the "NETWORKDAYS" function will work in this example as I do not want to exclude weekends, only non-business hours are excludable.
Example:
Excludable Non-Business Hours = 10pm - 9am
Start Time = 9/19/24 9:00 pm
End Time = 9/20/24 9:00 am
The result should be 1 hour (9pm-10pm = 1 hour and all other non business hours are excluded)
I've tried several formulas using median and mod, but I'm stuck.
Any help is greatly appreciated!
I do not believe the "NETWORKDAYS" function will work in this example as I do not want to exclude weekends, only non-business hours are excludable.
Example:
Excludable Non-Business Hours = 10pm - 9am
Start Time = 9/19/24 9:00 pm
End Time = 9/20/24 9:00 am
The result should be 1 hour (9pm-10pm = 1 hour and all other non business hours are excluded)
I've tried several formulas using median and mod, but I'm stuck.
Any help is greatly appreciated!