How to create a hour clock calculation to the next quater hour

ipitech

New Member
Joined
Aug 21, 2011
Messages
4
I am trying to formulate a spreadsheet that alllows me to arrive at
entering a start time(in) (9:12) and a finish time(out) (9:43) having a result of 30 mins.
I am able to arrive at a calculation subtracting the time out from time in to arrive at a given time, but I want to achieve the most of the time worked to the next quater hour.
What calculation should I use?
 
Last edited:

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I have been requested to provide a detailed account of the time our vehicles are onsite. A truck arrives on a site at 9:12 and leaves at 9:40. this would represent that the vehicle was on site for 28 mins. As we are unable to bill our time other than by the quarter hour the time should reflect the time from 9:00 to 9:45 which would account for a total of 45 mins.
Does this help?
 
Upvote 0
I have been requested to provide a detailed account of the time our vehicles are onsite. A truck arrives on a site at 9:12 and leaves at 9:40. this would represent that the vehicle was on site for 28 mins. As we are unable to bill our time other than by the quarter hour the time should reflect the time from 9:00 to 9:45 which would account for a total of 45 mins.
Does this help?

Try this:

A1: Arrival time

A2: Leaving time

A3: Time billing: = CEILING(A2-A1,45/1440)

Does it help?
 
Upvote 0
Using that calculation I obtained the following results;
(1) 9:01 am to 9:43 am = 0.45
(2) 9:02 am to 9:51 am = 1:30

The latter of the two would appear to be incorrect...

By the way thank you very much for your help...
 
Upvote 0
Using that calculation I obtained the following results;
(1) 9:01 am to 9:43 am = 0.45
(2) 9:02 am to 9:51 am = 1:30
The latter of the two would appear to be incorrect...
By the way thank you very much for your help...
My previous formular to round up the difference to pack of 45 mins.
Finally, Is this meet your idea: 9:01 arrival round down to 9:00; 9:51 round up to 10:00, ...etc...? the difference should be 45 mins*n?
 
Upvote 0
I changed the formula to =ceiling(A2-A1,15/1440) and that seem to resolve the conflict...
Thank you very much for your time...
 
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,520
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top