Timesheet in and out rounding

P

Paula

Hi -- I have a basic timesheet in Excel 2003 - that has In and out with
in/out for meals - I want to know if there is away that I can round the times
only of the In and Out for the day --
I need a 10 minute window -- example is they manually enter their in time in
C7 and their out in C10 - (their meals are in C8 and C9 will be actual times,
no need to round)that if the are coming in at 8am and they enter their time
at 7:50am that it will round the time to 8am, and same with the out -- out at
5pm and they enter 5:10 that it would round to 5pm -- Right now it is
calculating actual times using this formula =SUM((C10-C9)*24,(C8-C7)*24) --
is there a way to get it to round the in and outs in the total?
Thanks so much--Paula
 
G

Gord Dibben

I'm a little confused.

Do you want the mealtime subtracted from the total time?

I will assume that's the case.

Start time in C7
Start meal in C8
End meal in C9
Quit time in C1

=ROUND((C10-C7)*24,0)-((C9-C8)*24)

Returns 8,5 hours with 30 minutes for lunch.


Gord Dibben MS Excel MVP
 
G

Gord Dibben

Quit time should read C10


Gord

I'm a little confused.

Do you want the mealtime subtracted from the total time?

I will assume that's the case.

Start time in C7
Start meal in C8
End meal in C9
Quit time in C1

=ROUND((C10-C7)*24,0)-((C9-C8)*24)

Returns 8,5 hours with 30 minutes for lunch.


Gord Dibben MS Excel MVP
 

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

Top