Scheduling - caluclating hours with varying closing times

kellitenille

New Member
Joined
Feb 12, 2014
Messages
7
I own a small restaurant. I am redesigning my schedule, and want a column at the end that would tell me how many hours each employee is scheduled for. The issue is that if we close at 9, that doesn't mean the employees walk out the door at 9. They have to clean, count the drawer, prep for the next day, etc. Which means it could be anywhere from 15 mins - 1.5 hours after closing. Therefore I can't list a shift as 4 p.m. - 9 p.m., I need to list it as 4 p.m. - CL (closing). This makes normal, simple, adding and subtracting of times...difficult.

So my question is: is there a formula, that I can apply to the entire sheet, that would tell the total hours column that anywhere it sees "CL" it should use 2100 hours? I would use this for my total hours column, knowing that it would be variable, but would give me base to know approximately how many hours an employee is scheduled for, so that they don't go into overtime. I've tried IF function and stacked IF functions, but I'm obviously not doing something correctly.

inoutinouttotal
Employee A16:00CL13:00CL13.0
Employee B13:00CL15:00CL14.0

<tbody>
</tbody>
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Let's say you enter 21 (for 9PM) in cell N1 then your formula would be something like this:

=IF(C2="CL",SUM(N$1-B2)+SUM(N$1-D2),IF(E2="CL",SUM(N$1-B2)+SUM(N$1-D2),SUM(C2-B2)+SUM(E2-D2)))


- - - - - - - -
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,727
Messages
6,126,508
Members
449,316
Latest member
sravya

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top