V
Vinnie
I'm trying to upgrade our billable timesheets to auto-calculate using
a prescribed interval scheme.
I've got the following columns:
Start Time
End Time
Time Units
We use a certain set of billable units that are not necessarily
arithmetic.
1 to 6 minutes = .1 hours
7 to 12 minutes = .2
13 to 15 minutes = .25
16 to 18 minutes = .3
19 to 24 minutes = .4
25 to 30 minutes = .5
31 to 36 minutes = .6
37 to 42 minutes = .7
43 to 45 minutes = .75
46 to 48 minutes = .8
49 to 54 minutes = .9
55 to 60 minutes = 1.0
I want to make a formula that (i) probably first converts Start Time
and End time into decimal times and puts them into some other hidden
columns, then (ii) takes the decimal time and converts it into a
billable unit according to the above schedule.
At first I thought it'd be easy, just do ifs for all of the above 12
possibilities, but then I realized that there are 8 hours in a
standard workday, and I would need to prepare for all contingencies,
up to 8.0 hours:
475 to 480 minutes = 8.0 hours
Any help would be greatly appreciated.
Thanks in advance,
Vinnie
a prescribed interval scheme.
I've got the following columns:
Start Time
End Time
Time Units
We use a certain set of billable units that are not necessarily
arithmetic.
1 to 6 minutes = .1 hours
7 to 12 minutes = .2
13 to 15 minutes = .25
16 to 18 minutes = .3
19 to 24 minutes = .4
25 to 30 minutes = .5
31 to 36 minutes = .6
37 to 42 minutes = .7
43 to 45 minutes = .75
46 to 48 minutes = .8
49 to 54 minutes = .9
55 to 60 minutes = 1.0
I want to make a formula that (i) probably first converts Start Time
and End time into decimal times and puts them into some other hidden
columns, then (ii) takes the decimal time and converts it into a
billable unit according to the above schedule.
At first I thought it'd be easy, just do ifs for all of the above 12
possibilities, but then I realized that there are 8 hours in a
standard workday, and I would need to prepare for all contingencies,
up to 8.0 hours:
475 to 480 minutes = 8.0 hours
Any help would be greatly appreciated.
Thanks in advance,
Vinnie