View Single Post
  #3  
Old June 2nd, 2010, 08:06 PM posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
external usenet poster
 
Posts: 516
Default Timesheet in and out rounding

Experiment with this
=(ROUNDDOWN(C10*96,0)/96-C9+ROUNDUP(C8*96,0)/96-C7)*24
Not there is no need to use SUM when doing a simple arithmetic operation
best wishes

--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
REMINDER: These newsgroups are about to die. We will all meet again at
http://social.answers.microsoft.com/...ry/officeexcel

"Paula" wrote in message
...
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