Thread: [Solved] Time Calc with rounding.
View Single Post
 
Old 06-26-2016, 07:12 AM
Kevin@Radstock Kevin@Radstock is offline Windows 10 Office 2016
Office 365
 
Join Date: Feb 2012
Posts: 94
Kevin@Radstock is on a distinguished road
Default

Hi

I take it that you want decimal time! Format B1 & C1 as text, you can then enter "0", ie 0715.

In D1: =MROUND(MOD((--REPLACE(C1,3,0,":"))-(REPLACE(B1,3,0,":")),1),"00:15")*24

and format the cell "General".

Or for proper time

=MROUND(MOD((--REPLACE(C1,3,0,":"))-(REPLACE(B1,3,0,":")),1),"00:15")

and format as time.

Kevin
Reply With Quote