timesheet sum but then mround to the nearest 15 mins

tia1971

New Member
Joined
Jul 18, 2007
Messages
7
Ok I can't understand exactly how to get a sum of the time in and out then time in and out after lunch but I need it to calculate by the 15 minutes

8/7/2018
IN OUT
7:45 AM 12:00 PM
12:30 PM 4:00 PM
7:45 The formula i have is =SUM(G21-F21)+G22-F22 but I need the 7:45 to read as 7.75 hours. Not as a clock time.
I need it to round to the 15 minutes of the hour. I have tried changing the format of the cell to different formats but still not getting what I need.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Excel 2010
ABCD
1DateInOut
27-Aug-187:45 AM12:00 PM
312:30 PM4:00 PM7.75
4
507:4512:00
612:3015:507.5
7
87:45 AM12:00 PM
912:30 PM4:16 PM8.00
6b
Cell Formulas
RangeFormula
D3=(C2-B2+C3-B3)*24
D6=FLOOR((C5-B5+C6-B6)*24,0.25)
D9=FLOOR((C8-B8+C9-B9)*24,0.25)
 
Upvote 0
Thank you both so much. I was able to get the =floor to work on the set up I have after changing the cell numbers to match mine.
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,137
Members
449,207
Latest member
VictorSiwiide

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