Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello:
I have data that looks like the following: 3:09:15 22:45:07 17:39:10 17:39:10 18:52:47 8:39:35 I would like to learn a formula that will round the time to the top and bottom of the hour using the 15 and 45 as the break point. For example 3:09:15 to 3:00. 17:39:10 to 17:30. Thanks for the hedlp. Jim |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=MROUND(A18,TIME(,30,)) and format the cell accordingly.
If you have problems with the MROUND function, look it up in Excel help. -- David Biddulph "Jim" wrote in message ... Hello: I have data that looks like the following: 3:09:15 22:45:07 17:39:10 17:39:10 18:52:47 8:39:35 I would like to learn a formula that will round the time to the top and bottom of the hour using the 15 and 45 as the break point. For example 3:09:15 to 3:00. 17:39:10 to 17:30. Thanks for the hedlp. Jim |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If your time is iin cell A1, use the formula =round(a1*48,0)/48
The reasoning is that you're asking to round to the nearest 1/2 hour. To Excel, 1 is a day, so a 1/2 hour is 1/48. "Jim" wrote: Hello: I have data that looks like the following: 3:09:15 22:45:07 17:39:10 17:39:10 18:52:47 8:39:35 I would like to learn a formula that will round the time to the top and bottom of the hour using the 15 and 45 as the break point. For example 3:09:15 to 3:00. 17:39:10 to 17:30. Thanks for the hedlp. Jim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Averaging Time | Excel Worksheet Functions | |||
Averaging Time | Excel Worksheet Functions | |||
Averaging Time | Excel Worksheet Functions | |||
Averaging Time | Excel Discussion (Misc queries) | |||
Averaging time | Excel Worksheet Functions |