I'm trying to calculate the total number of hours between two columns of start and end times but only those hours that fall between 9:00am and 5:00pm, Monday to Friday.
For example, my data looks something like this:
Date | Start Time | End Time | Duration Wednesday | 930 | 1400 | 4.50 Thursday | 930 | 1300 | 3.50 Saturday | 800 | 1600 | 8.00 Sunday | 1000 | 1200 | 2.00 Tuesday | 730 | 1400 | 6.50 Friday | 930 | 1900 | 9.50
So I need to add up how many hours this space was used, but only those hours from 9:00am to 5:00pm and only between Monday to Friday. Is there a formula I could construct for this?