Skip to main content

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:

Best Office Productivity Tools

Supports Office/Excel 2007-2021 and 365  |  Available in 44 Languages  |  Easy to Uninstall Completely

Popular Features: Find/Highlight/Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns     Move Columns   |   Unhide Columns   |   Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need Is Just A Click Away...

Supercharge Your Excel Skills: Experience Efficiency Like Never Before with Kutools for Excel  (Full-Featured 30-Day Free Trial)

kte tab 201905

60-Day Unconditional Money-Back GuaranteeRead More... Free Download... Purchase... 

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! (Full-Featured 30-Day Free Trial)
60-Day Unconditional Money-Back GuaranteeRead More... Free Download... Purchase... 
 
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Buenos días, estoy intentando "redondear" los segundos pero sin que se cambie los minutos en un formato HH:MM:SS. Exemplo: 13:27:33 que aparezca solamente 13:27:00
This comment was minimized by the moderator on the site
Hi, try this formula then format result as time.
=MROUND(A1,"0:01")
This comment was minimized by the moderator on the site
Quale formula si può usare per arrotondare al quarto d'ora, considerando che, per l'orario d'ingresso il minuto 15/30/45/00 deve essere successivo al minuto della timbratura mentre per l'uscita deve accadere esattamente il contrario?

Esempio:
ingresso 7:42 -> 7:45
uscita 12:18 -> 12:15
This comment was minimized by the moderator on the site
Estoy tratando de redondear minutos es decir si esta 1:40 se quede 2:00 minutos o 1:04 solo 1:00 minuto
This comment was minimized by the moderator on the site
HOLA ESTOY TRATANDO DE REDONDEAR LAS HORAS, EJEMPLO SI LLEGA A LA HORA CON FRACION DE 15 MINUTOS SE QUEDE EN LA HORA, SI PASA EL MINUTO 16 HASTA EL MINUTO 45 SE QUEDE EN HORAS Y MEDIA Y DESPUES DEL MINUTO 46 SE SUBA A LA SIGUIENTE HORA. GRACIAS
This comment was minimized by the moderator on the site
Hi, FREDY, you can try this formula
=IF(MINUTE(A3)<15,MROUND(A3,"1:00"),IF(MINUTE(A3)<45,MROUND(A3,"0:30"),MROUND(A3,"1:00")))
A3 is the cell that contains the time.
This comment was minimized by the moderator on the site
Thank You for posting this!
This comment was minimized by the moderator on the site
Hi, your formula for rounding to the nearest minute should be MROUND(A2,1/60/24), thanks for great work on these.
This comment was minimized by the moderator on the site
hi do have any formula to round up total hours 1 minute into 1 hours, example 124:01-125:00
This comment was minimized by the moderator on the site
Hello, jaime, this fomrula can help you =ROUNDUP( B2*24, 0) / 24
This comment was minimized by the moderator on the site
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!
This comment was minimized by the moderator on the site
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!
This comment was minimized by the moderator on the site
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.
This comment was minimized by the moderator on the site
What is the easiest formula to round Work Time Hours down to the nearest tenth of an hour?
This comment was minimized by the moderator on the site
=ROUND(G2*(1*60/30),0)/(1*60/30) , you mean like this?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations