Round time to 15 minutes.

M

Mike Klick

I have a simple formula that subtracts h:mm from h:mm. I would like to round
that time if < 8 minutes down 15 minutes and if > 8 minutes up 15 minutes.

How do you do that?

Thanks,

Mike
 
K

Kieran

As there are 96 15 minute periods in a day, you could multiply the time
by 96, round it to the nearest 1 and then divide by 96 again.
Like =round(time*96,1)/96
 
N

Norman Harker

Hi Mike!

One way:
=ROUND(A16/"00:15",0)*"00:15"

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
N

Norman Harker

Hi Mike!

Since, like most, I'm allergic to hard coded formulas I'd prefer:

=ROUND(A1/B1,0)*B1
Where B1 contains the rounding time 0:15


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top