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

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

Round time to nearest 1 hour

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

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.


Quickly convert time to decimal value in Excel

For example, you have a list of time needed to be converted todecimal hours, minutes or seconds, how can you quickly and easily solve it in Excel? The Convert Time of Kutools for Excel, can do a favor for you.   Click for 30 days free trial!
doc convert time
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Relative Articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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 · 1 years ago
    Thank You for posting this!
  • To post as a guest, your comment is unpublished.
    Mark Tindal · 1 years 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 · 2 years 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 · 1 years ago
      Hello, jaime, this fomrula can help you =ROUNDUP( B2*24, 0) / 24
  • To post as a guest, your comment is unpublished.
    Nancy · 2 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 · 2 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 · 2 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.
      • To post as a guest, your comment is unpublished.
        David Greer · 1 years ago
        What is the easiest formula to round Work Time Hours down to the nearest tenth of an hour?
        • To post as a guest, your comment is unpublished.
          hita · 11 months ago
          =ROUND(G2*(1*60/30),0)/(1*60/30) , you mean like this?