How to round of time values in Excel

In this article, we will learn How to round time values in Excel.

Scenario:

We like to work on well maintained data. So cleaning and brushing data is the most important part before working with data. Generally, we are stuck at time fields and not able to understand how to round up or round down time values.

How to solve the problem?

To round down time values we use MROUND function. Excel stores time values as numbers. In order to handle these values, we go the basic mathematical formulation as shown below.

Generic formula:

=MROUND(time,"round_to")

time : time value to round

round_to : round to time value

Example :

All of these might be confusing to understand. Let's check the formula via running some examples. Here we have a some random time values and we need to round the time values as per given argument. Here we use the formula to round down to nearest 15 minutes.

Use the formula with explanation

=MROUND(C3,"0:15")

Explanation

  1. =MROUND(C3,"0:15"), function operates the "0:15" value as 15 / (60 *24).
  2. The function rounds off the time value to 15 / (60 *24).

Here the time values are provided using cell reference and value to round to be given with quotation marks ("). Press Enter to get the time value.

As you can see the time value is round down to nearest 00:15(quarter hour) value. Now try the formula with different time values and round values. Make sure to use the time format carefully.

As you can see, these values are rounded down to the mentioned round values. If you wish to round up the time function. Use the CEILING function, to round down the time value. 

As you can see, this how you can round up or round down time values using the excel functions.

Here are all the observational notes regarding using the formula. 

Notes:

  1. Excel stores time value as numbers. So check the format of cell while operating this formula.
  2. Careful while Input time values 04:10:22 means 4 hours, 10 minutes and 22 seconds.

Hope this article about How to round time values in Excel is explanatory. Find more articles on date and time formula here. If you liked our blogs, share it with your fristarts on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com.

 

Related Articles :

minutes to hours and minutes : returns a numerical value which represents the same value but in decimal format in place of time format in excel.

Calculate hours between time in Excel : Calculate the hours between two time values in excel. find the time elapsed between end_time & start_time

Time difference in hours as decimal value : Time difference in hours using Excel MOD function and then we need to represent it in the decimal format.

SUM time over 9 hours in Excel : get the sum of time values which are above 9 hours

How to add Decimal Hours to Time : add numeric or decimal time to a time formatted value.

Popular Articles

50 Excel Shortcut to Increase Your Productivity : Get faster at your task. These 50 shortcuts will make you work even faster on Excel.

How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets. 

How to use the COUNTIF function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.

How to Use SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Youtube