Excel Time clock formula

acctneeds

New Member
Joined
Jan 13, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I am in the process of creating an excel sheet for time in and out as well as work duration calculation.
is there a formula in whereas no matter how early an employee clocks in, it will be rounded up to 9am.
as well as a grace period of 10 minutes late before deduction.
after that, clock ins are rounded to 15 minute intervals.

Hoping for some answer!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
This might not be just how you want it rounded.

MrExcelPlayground15.xlsx
AB
1Time InAdjusted Time In
28:00:00 AM9:00:00 AM
38:03:00 AM9:00:00 AM
48:06:00 AM9:00:00 AM
58:09:00 AM9:00:00 AM
68:48:00 AM9:00:00 AM
78:51:00 AM9:00:00 AM
88:54:00 AM9:00:00 AM
98:57:00 AM9:00:00 AM
109:00:00 AM9:00:00 AM
119:03:00 AM9:00:00 AM
129:06:00 AM9:00:00 AM
139:09:00 AM9:00:00 AM
149:12:00 AM9:15:00 AM
159:15:00 AM9:15:00 AM
169:18:00 AM9:15:00 AM
179:21:00 AM9:15:00 AM
189:24:00 AM9:30:00 AM
199:27:00 AM9:30:00 AM
209:30:00 AM9:30:00 AM
219:33:00 AM9:30:00 AM
Sheet11
Cell Formulas
RangeFormula
B2:B21B2=LET(a,MAX(A2,3/8),b,IF(a<3/8+1/6/24,3/8,a),c,MROUND(b,1/4/24),c)
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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