Round time with conditions
Hello,
I am in an odd predicament. I am trying to figure out how to calculate time
on my timesheet with certain conditions. Our time is calculated by thirds of
an hour, but not the same way that Excel calculates it. Here is how our time
is calculated:
1-10 min. after an hour= no time
11-30 min after an hour = 1/3 of an hour
31-50 min after an hour = 2/3 of an hour
51-59 min after an hour = 1 full hour
but Excel calculates it as:
1-9 min after an hour = no time
10-29 min after an hour = 1/3 of an hour
30-50 min after an hour = 2/3 of an hour
51-59 min after an hour = 1 full hour
I am currently using the formula =ROUND(D18*72,0)/72*24 where D18 displays
the actual time calculated like form 8:30 am to 9:00 am equals :30, and the
cell the formula is in will disply the time as it is to be submitted(eg..333)
but again when the time is calculated out, the number is slightly off.
Anyones help on this matter would be greatly greatly greatly appreciated.
Thanks, Kim
|