Excel formula

alxine31245

New Member
Joined
Dec 9, 2018
Messages
2
Hi, good day!
I'd like to seek some help regarding how to make different formulas for the Daily Time Record of an employee.
Situation: An employee logs in and logs out twice a day. Working schedule is 8:30 AM-12:00 PM then 1: PM to 5:30 PM with one hour lunch break.
Now, my teacher wants us to use different formulas especially an employee can log in before 8:30 or probably late. What formula can be used to calculate how many minutes an employee is late?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Thank you for your time, dear.
Could you suggest another solution for example if the employee's shift starts at 8:30 but he was 7 minutes late, so 8:37, then he logs out at 12:05 PM not 12:00.
The he logs in again but 12:58PM then logs out at 5:31 PM,
what formula can I use for that?
Hourly rate is Php 100.00
every minute late is deducted from the employee's hourly rate.

I hope you can help me.
Badly need the correct formula
 
Upvote 0
Hello again,

Hope all your inputs are actual numbers ...

In order to come up with a potentially correct formula ...

Could you kindly list .... what is located where ...
 
Upvote 0
With

Start Time in cell B2

Lunch Out Time in cell C2

Lunch In Time in cell D2

End Time in cell E2

You can have the formula for Total Worked Hours in cell F2

Code:
=((E2-B2+(E2 < B2))-(D2-C2+(D2 < C2)))*24
<b2))-(d2-c2+(d2<c2)))*24[ code]<="" html=""></b2))-(d2-c2+(d2<c2)))*24[>
 
Last edited:
Upvote 0
Once you have tested the Formula ...

Feel free to share your comments ...
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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