Rounding Time Intervals to the Nearest Specified Time Increment in Microsoft Excel

In this article, we will learn how to round the time intervals to the nearest specified time increment. We will use “ROUND” function in Microsoft Excel to get the output.

ROUND: - This function is used for rounding a number to a specified number of digits.

image 4

For Example:Cell A1 is contains the number 456.25

To round the number, follow below given steps:-

  • Write the formula in cell B1.
  • =ROUND (A1, 0)
  • Function will return 456

img1

Let’s take an example to understand how we can round interval time to the nearest specified time increment.

We have data in the range A1:B6 in which column A contains ‘Out Time’ and column B contains ‘In Time’. Now, we want to subtract each ‘Time In’ from its corresponding ‘Time Out’, and round the result to the nearest 30 minutes.
img2

  • Write the formula in cell C2.
  • =ROUND((B2-A2)/"0:30:00",0)*"0:30:00"
  • Press Enter on your keyboard.
  • The function will round the times down to the nearest 30 seconds.

img3

  • Copy the same formula by pressing the key Ctrl+C and paste in the range C3:C6 by pressing the key Ctrl+V on your keyboard.

img4

This is the way to round time intervals to the nearest specified time increment in Microsoft Excel.

 

image 48

 

If you liked our blogs, share it with your friends 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

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.