Hours worked minus meals

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,446
Office Version
  1. 2007
Platform
  1. Windows
I need a formula for this example in cell: G5 that will calculate the time between the start time and the dismissal time minus 1 meal or 2 meals for the same day worked ?
The meal are counted for every 15 minutes

See Example :
Excel Workbook
CDEFG
1Start1st MEAL 2nd MEALDismissalTotal Hours Worked
2
3
4
56:0012:0012:3020:1513:45
6
74:0010:3010:4519:4515:00
816:0016:30
Sheet


Thank you.
Serge.
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I need a formula for this example in cell: G5 that will calculate the time between the start time and the dismissal time minus 1 meal or 2 meals for the same day worked ?
The meal are counted for every 15 minutes

See Example :
Excel Workbook
CDEFG
1Start1st MEAL 2nd MEALDismissalTotal Hours Worked
2
3
4
56:0012:0012:3020:1513:45
6
74:0010:3010:4519:4515:00
816:0016:30
Sheet


Thank you.
Serge.
Do you have merged cells in columns C and F?
 
Upvote 0
Yes I do, because per day I could have 2 meals.
 
Upvote 0
Thank you Mark, that was what I needed.
Thanks for the help.
Serge.
 
Upvote 0

Forum statistics

Threads
1,224,547
Messages
6,179,436
Members
452,915
Latest member
hannnahheileen

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