In this article, we will learn how toround the times down to a specified time increment.We will use a combination of“TIME”, “HOUR”, “MINUTE” and “FLOOR” functionsin Microsoft Excel 2010.
FLOOR: – This function is used to round a number down to the nearest multiple of significance.
Syntax of “FLOOR” function:=FLOOR (number, significance)
Example:Cell A2 contains the number 456.25
=FLOOR (A2, 0.75), function will return 456
HOUR: This function is used to return the hour as a number from 0 (12:00 AM) to 23 (11:00 PM).
Syntax of “HOUR” function: =HOUR(serial_number)
For Example:Cell A1 contains 15:00 (3:00 PM).
MINUTE: This function is used to return the minute a number from 0 to 59.
Syntax of “MINUTE” function: =MINUTE(serial_number)
For Example:Cell A1 contains 15:10 (3:10 PM).
TIME: -It converts hours, minutes, and seconds given as numbers to an Excel serial number, formatted with a time format.
hour: A number from 0 to 23 representing hour
minute: A number from 0 to 59 representing minute
second: A number from 0 to 59 representing second
Let us take an example:
Let’s take an example to understand how we can round times down to a specified time increment.
We have a time list formatted as “hh:mm:ss” in column A. Now, we want to round down to a specified time increment.Then we need to follow below given steps:-
This is the way we can round the times down to a specified time increment in Microsoft Excel.
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.