Excel formula for a time sheet

H

HRMSN

I have designed a time sheet for payroll purposes that automatically
calculates all appropriate formulas. The only one I haven't figured out yet
is this: in my office, we follow the seven minute rule in that when
calculating time, every clock in and clock out time is rounded to the nearest
quarter hour. Currently, my time sheet sums up the total time for each day.
I need a formula that then rounds that total time that is listed to the
nearest quarter hour (whether up or down). Can anyone help me out.
 
B

Bob Phillips

Assuming that the sum is in A1

=ROUND(A1*24*4,0)/4/24

The multiply by 24 is to convert to decimal hours, the 4 is to convert to
decimal quarter hours. This is rounded to the nearest whole number, then
converted back to time. You should see that this can be simplified to

=ROUND(A1*96,0)/96

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top