Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default How do I round time to the nearest quarter of an hour

I am not too understanding of excel to any great extent. But I need to round
time to the nearest quarter.

Example

8:11 to 8.25
4:41 to 4.75
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default How do I round time to the nearest quarter of an hour


I am assuming from you example that you are rounding up the time.

Here are the two solutions:

=CEILING(A1, TIME(0,15,0))*24

=TIME(HOUR(A1),CEILING(MINUTE(A1),15),0)*24


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=558939

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 252
Default How do I round time to the nearest quarter of an hour

If you want the answer in decimal hours use this formula and format the cell
as a number
=ROUND(A1*24*4,0)/4

If you want the answer in Excel time use this formula and format the cell as
time
=ROUND(A1*24*4,0)/24/4

These round to the nearest quarter hour so 4:17 will yield 4.25 or 4:15

"Meghan" wrote:

I am not too understanding of excel to any great extent. But I need to round
time to the nearest quarter.

Example

8:11 to 8.25
4:41 to 4.75

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default How do I round time to the nearest quarter of an hour

Thanks alot these should help

"Bearacade" wrote:


I am assuming from you example that you are rounding up the time.

Here are the two solutions:

=CEILING(A1, TIME(0,15,0))*24

=TIME(HOUR(A1),CEILING(MINUTE(A1),15),0)*24


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=558939


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default How do I round time to the nearest quarter of an hour

Thanks alot these should really help

"Sloth" wrote:

If you want the answer in decimal hours use this formula and format the cell
as a number
=ROUND(A1*24*4,0)/4

If you want the answer in Excel time use this formula and format the cell as
time
=ROUND(A1*24*4,0)/24/4

These round to the nearest quarter hour so 4:17 will yield 4.25 or 4:15

"Meghan" wrote:

I am not too understanding of excel to any great extent. But I need to round
time to the nearest quarter.

Example

8:11 to 8.25
4:41 to 4.75



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 427
Default How do I round time to the nearest quarter of an hour

On Thu, 06 Jul 2006 16:39:53 +0100, Bearacade
wrote:


I am assuming from you example that you are rounding up the time.

Here are the two solutions:

=CEILING(A1, TIME(0,15,0))*24

=TIME(HOUR(A1),CEILING(MINUTE(A1),15),0)*24



Not used Ceiling() before, why won't it accept negative numbers.

It is meant to round up to - no mention of only working with =0 numbers

--
Steve (3)
  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default How do I round time to the nearest quarter of an hour

Thank you

"SteveW" wrote:

On Thu, 06 Jul 2006 16:39:53 +0100, Bearacade
wrote:


I am assuming from you example that you are rounding up the time.

Here are the two solutions:

=CEILING(A1, TIME(0,15,0))*24

=TIME(HOUR(A1),CEILING(MINUTE(A1),15),0)*24



Not used Ceiling() before, why won't it accept negative numbers.

It is meant to round up to - no mention of only working with =0 numbers

--
Steve (3)

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
Rounding to the nearest quarter point? George Excel Discussion (Misc queries) 3 June 10th 06 10:12 PM
how to calculate time start & time finish in quarter hour Peter Wu Excel Discussion (Misc queries) 3 June 7th 06 12:58 AM
Rounding to the nearest quarter (decimal) in a Pivot table Fred Excel Discussion (Misc queries) 3 April 3rd 06 03:26 PM
Format Round to Nearest Thousand GillianHG Excel Discussion (Misc queries) 3 March 21st 06 06:43 PM
How do I calculation time in excel in 24 hour method Lloyd Excel Discussion (Misc queries) 7 July 18th 05 08:43 AM


All times are GMT +1. The time now is 07:08 AM.

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"