How to round time to 30 minutes or 15 minutes in Excel
With time statistics such as working time, overtime, we will have a rounding function to bring the rounded time value to half an hour or 15 minutes. Such a rounding will be useful in you summarizing time, calculating more favorable time. The following article will guide readers to use the MOD function to round time to 30 minutes and MOD to round time to 30 minutes.
1. How to use the MOD function to round time to about half an hour
At the time table to be rounded, in the first time input box enter the formula = MOD (INT (B2 / (1/48)) * (1/48), 1) where B2 is the value cell time wants to be rounded.
Output the decimal number as shown below. Next you need to change the format for this cell to Time is okay. You click on the results box and then in the Number group on the toolbar select the format as Time as shown.
Now the cell has been converted to the time format and rounded to half an hour ago as shown. Now we just need to drag the first cell result down to the remaining cells.
2. How to use the FLOOR function rounds time to about 15 minutes
To round the time back to 15 minutes ago, we will use the FLOOR function. In the first cell enter the result of rounding time to 15 minutes, enter the formula = FLOOR (B2; TIME (0; 15; 0)) . Note that if you want to round to another value, then enter that time in the formula is okay.
If the result shows a decimal, you also need to change the format to Time.
If you want, you can also round the time back to 20 minutes ago with the same formula.
And you also get the result of the time rounding.
You should read it
- Ways to round numbers in Excel
- Round function (rounding) in Excel
- Instructions on how to use the ROUND function in excel
- Do not round numbers in Excel, turn off rounding in Excel
- ROUND function in SQL Server
- Basic Excel functions that anyone must know
- How to use Hlookup function on Excel
- Compare ROUND, ROUNDUP and ROUNDDOWN rounding functions in Excel
May be interested
- Misa: App effectively manage spending on phone and usagehaving misa spending management app, you can control your income and expenses accurately and simply with the instructions in this article.
- How to turn off 'seen' when reading Instagram messagesthe private message mode on instagram will still show a notification seen when you read the message. so how to turn off that seen notification?
- How to take screenshots of the game screen on Steamsteam has a built-in screen capture tool when playing games, and users can reset it.
- How to watch and download TikTok videos on Windows 10the 6 tik application on windows 10 will help you quickly download the tiktok videos you want to watch to your computer without you having to set up an account.
- How to install TutuApp on iOS and Androidtutuapp is the best third-party app store, usable on ios and android. with tutuapp, you don't need to jailbreak or root your phone to install exciting new applications and tools.
- How to share an estimated arrival time on Apple Mapsin the latest version of apple maps that comes with ios 13, apple has added a share eta feature that allows you to share your scheduled time to the location with friends or family members, allowing them to track progress. your schedule in real time throughout the trip.