Skip to main content

How to round / round up / round down time to nearest quarter / half hour in Excel?

Author: Xiaoyang Last Modified: 2024-11-21

In this article, I will explain how to round, round up, or round down a column of time values in Excel to the nearest quarter or half hour, as shown in the following example.

A screenshot showing a list of time values to be rounded to the nearest quarter or half hour in Excel

Round / Round up / Round down time to nearest quarter / half hour with formulas


Round / Round up / Round down time to nearest quarter / half hour with formulas

If you want to round / round up / round down the time to nearest quarter or half hour, the following formulas can help you.

1. Enter this formula: =MROUND(A2,"0:15") or =MROUND(A2,"0:30") into a blank cell beside your data which need to round to nearest quarter or half hour, and then drag the fill handle down to apply this formula to the desired cells, and you will get a list of decimal numbers, see screenshot:

A screenshot displaying decimal numbers after rounding time values in Excel

2. Then format the numbers to time format, select the number list, and then right click, choose Format Cells from the context menu, see screenshot:

A screenshot showing the Format Cells option from the context menu in Excel

3. In the popped out Format Cells dialog box, click Custom from the Category pane, and select [h]:mm:ss format in the Type list box, see screenshot:

A screenshot of the Format Cells dialog box with custom time format selected in Excel

4. Then click OK, and all the cells have been rounded to a nearest quarter hour, see screenshot:

A screenshot showing time values rounded to the nearest quarter hour in Excel

Notes:

1. To round up a time to nearest quarter or half hour, please apply this formula: =CEILING(A2,"00:15") or =CEILING(A2,"00:30"), and remember to format the cells in time format.

A screenshot showing time values rounded up to the nearest quarter hour using the CEILING formula in Excel

2. To round down time to nearest quarter or half hour, please apply this formula: =FLOOR(A2, "00:15") or =FLOOR(A2, "00:30"), and remember to format the cells in time format.

A screenshot showing time values rounded down to the nearest quarter hour using the FLOOR formula in Excel

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or 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  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
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

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


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!