# Help Needed with Scheduling Spreadsheet

#### jacob1974

##### New Member
Hello! I have a question about creating a formula that will tell me--based on two different schedules, including different scheduled hours and different scheduled days--how much overlap time there is between two different work schedules per week.

Here is the example:

I work from 7:00 - 16:00, M-F. John works from 6:50 - 15:20 Sun, Mon, Fri and Sat. I'm looking to create a formula that will show me based on these hours and days, how much time overlaps (in minutes or hours) between John's schedule and my schedule. In other words, how many hours per week are we in the office together?

And by the way, I am using MS Excel 2007.

Any information you can provide will be most appreciated.

Thank you very much,

jacob1974

Last edited:

### Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

#### Giordano Bruno

##### Well-known Member
Hi Jason,

Welcome. If you were to align the days and enter person A's hours in columns A:B and B's hours in columns C:D, you could try "=MAX(0,MIN(B1,D1)-MAX(A1,C1))" in column E.

Replies
5
Views
134
Replies
1
Views
200
Replies
9
Views
234
Replies
6
Views
493
Replies
0
Views
227

### Forum statistics

1,181,322
Messages
5,929,287
Members
436,660
Latest member
Mouseinalabyrinth

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back