Round down for time

S

Shadowman13

Can someone provide a formula to use for rounding down time data.
Example 9:37 needs to round down to 9:30 and 7:25 needs to round down to 7:00.

Thanks - in advance...!!!
 
D

Dave Peterson

=FLOOR(A1,TIME(0,30,0))
And format as time.
Can someone provide a formula to use for rounding down time data.
Example 9:37 needs to round down to 9:30 and 7:25 needs to round down to 7:00.

Thanks - in advance...!!!
 
B

Bob Phillips

=ROUNDDOWN(A10*48,0)/48

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
J

JE McGimpsey

Your examples are rather ambiguous, but I'll assume you want to round
down to the nearest half-hour:

=FLOOR(A1,"00:30")

or, since XL stores times as fractional days, equivalently

=FLOOR(A1,1/48)
 
Top