Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to round time to nearest hour/minute/second in Excel?

doc-round-time-1
This tutorial is talking about rounding time to nearest hour, minute or second in Excel as below screenshot shown.
Round time to nearest hour/minute/second

good ideaConvert Time

Kutools' Convert Time utility can quickly convert a time to decimal hours, minutes, seconds.
doc convert time 1
Time to decimal hours
Time to decimal minutes
Time to decimal seconds
doc convert time 2
doc convert time 3
doc convert time 4

arrow blue right bubble Round time to nearest hour/minute/second


Round time to nearest 1 hour

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

Select a cell and type this formula =MROUND(A2,"1:00") into it, and press Enter key, then drag autofill handle to the cells you need.
doc-round-time-2

Tips:

1. You need to format the cells as time format firstly by selecting cells and right clicking to select Format Cells in the context menu; in the Format Cells dialog, selecting Time in Category list and then selecting a time type in Type list, and clicking OK.

2. You also can use these formulas to round time to nearest hour =ROUND(A2/(1/24),0)*(1/24) or =MROUND(A2,1/24).

3. If you want to round time to previous 1 hour, you can use this formula =FLOOR(A2,1/24).

4. In above formulas, you can change 1 to other number as you need.

Round time to nearest 15 minute

Select a cell and type this formula =ROUND(A2*(24*60/15),0)/(24*60/15) into it, and press Enter key, then drag autofill handle to the cells you need.doc-round-time-3

Tip:

1. You need to format the cells as time format firstly by selecting cells and right clicking to select Format Cells in the context menu; in the Format Cells dialog selecting Time in Category list, selecting a time type in Type list, and clicking OK.

2. You also can use this formula =MROUND(A2,15/60/24) to round time to nearest minute.

3. If you want to round time to previous 15 minute, use this formula =FLOOR(A2,15/60/24).

4. In above formulas, you can change 15 to other number as you need.

Round time to nearest 10 second

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

Select a cell and type this formula =MROUND(A2, 10/86400) into it, and press Enter key, then drag autofill handle to the cells you need.
doc-round-time-4

Tip:

1. You need to format the cells as time format firstly by selecting cells and right clicking to select Format Cells in the context menu, then go to select a time type in the Format Cells dialog.

2. In above formula, you can change 10 to other number as you need. For example, use =MROUND(A2, 20/86400) to round time to nearest 20 second.

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial
pay attention1If you are interested in Kutools for Excel, download the 60-days free trial.

Round (Rounding numbers, round down/up, round to even without formulas.)

doc round

Relative Articles:


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Me · 28 days ago
    Thank You for posting this!
  • To post as a guest, your comment is unpublished.
    Mark Tindal · 6 months ago
    Hi, your formula for rounding to the nearest minute should be MROUND(A2,1/60/24), thanks for great work on these.
  • To post as a guest, your comment is unpublished.
    jaime · 10 months ago
    hi do have any formula to round up total hours 1 minute into 1 hours, example 124:01-125:00
    • To post as a guest, your comment is unpublished.
      Sunny · 5 months ago
      Hello, jaime, this fomrula can help you =ROUNDUP( B2*24, 0) / 24
  • To post as a guest, your comment is unpublished.
    Nancy · 1 years ago
    Thank you for posting a way to round the time down to the nearest hour with the Floor function! It's the only thing that actually worked!
  • To post as a guest, your comment is unpublished.
    Carlos · 1 years ago
    Hi,

    I’m trying to round down over time hours. Everything should be in down to the hour examples
    1:56 – 1:00
    2:17 – 2:00

    I’m using floor currently but have come to a little problem. When it is exactly on the hour like 1:00, 2:00, 3:00, it rounds down to 0:00, 1:00, 2:00 but should stay at respective hours. Any possible solution?

    Thanks!
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Sorry for reply you too late, I did not found the direct formula to solve your problem, but you can add 1:00 into a cell, and then use =FLOOR(A2,1/24)-the cell contains 1:00 to get the correct answer.