#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Averaging Time

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Averaging Time

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Averaging Time

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averaging Time BostonBoy Excel Worksheet Functions 14 August 26th 08 12:07 AM
Averaging Time BostonBoy Excel Worksheet Functions 1 August 23rd 08 12:38 AM
Averaging Time BostonBoy Excel Worksheet Functions 4 August 22nd 08 11:30 PM
Averaging Time Keit Excel Discussion (Misc queries) 1 June 12th 07 01:01 AM
Averaging time katgolightly Excel Worksheet Functions 5 December 28th 04 10:02 PM


All times are GMT +1. The time now is 11:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"