Time Card Calculates ALL possible shifts with Automatic Deduction of 30 min Lunch Time

ShannaBanana

New Member
Joined
Jan 7, 2017
Messages
8
Was hoping someone could help me?

I need to calculate all possible shifts with an automatic deduction of 30 min lunch time when the employee works 6 or more hours.

I have this formula so far:

Time in: A1
Time Out: B1
Total Hours: C1

A1 and B1 formated 1:30 PM
C1 formated 13:30

Formula: =IF(B1<A1, B1+1,B1)-A1

Now I just need to auto deduct 30 minutes for employees working 6 hours or more? Can anyone help with this last step?
 
Wonderful! Thank you so much! This works perfectly! Thank you so much and my apologies again for not being specific enough!

Thank you and everyone at my work thanks you for making their job easier!!!
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
WOW! This works perfectly! Thank you so much Tetra201 and FDibbins! Again, I apologize for not explaining myself in enough detail. Everyone at my work thanks you too for making their job easier!
 
Upvote 0
=IF(TEXT(J4-I4,"H")>6,(TEXT(J4-I4,"H")-0.5),TEXT(J4-I4,"H"))

I am able to respond in real time to you until it is solved!
 
Upvote 0
Guru, you have been asked before, Im sure, but why bother to make a comment like that
=IF(TEXT(J4-I4,"H")>6,(TEXT(J4-I4,"H")-0.5),TEXT(J4-I4,"H"))

We all pretty much respond in real time
 
Upvote 0

Forum statistics

Threads
1,226,065
Messages
6,188,687
Members
453,491
Latest member
kinadia

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