Rounding time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I would like to round time to the nearest minute in Excel. For example have
a time that is 7:03:01 and 7:03:59 and they both appear as 7:03 with the
format h:mm when I would prefer they appear as 7:03 and 7:04. Can anyone
please tell me how I can do this.

Regards,

Amy
 
Hi Amy,

This rounds the time in A1 to the nearest minute.

=ROUND((A1)/"0:01:00",0)*"0:01:00"

Mike
 
One way:

Since XL stores times as fractional days, 1 = 24 hours * 60 minutes =
1440 minutes. So,

=ROUND(A1*1440,0)/1440

Format as time, if necessary.
 
In addition to the posted ROUND solutions, if you have the Analysis ToolPak
add-in added in...

=MROUND(F1,TIME(0,1,0))

appears to also work.

Rick
 

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

Back
Top