Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
John
 
Posts: n/a
Default Need to round the time to the nearest quarter hour. Help

Hi, I am trying to get my spreadsheet to round to the nearest quarter hour.
This is the current formula I am using.

=ROUND(IF((OR(B15="",C15="")),0,IF((C15<B15),((C15-B15)*24)+24,(C15-B15)*24))+IF((OR(E15="",F15="")),0,IF((F15<E15),(( F15-E15)*24)+24,(F15-E15)*24)),2)

As you can see it to decemal with breaks included. I still need to finnish
in decemal.

I tried to incorpuate a couple of formulas but fail.
=ROUND(A1*96,0)/96
=ROUND(D13*4,0)/4

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
John
 
Posts: n/a
Default Need to round the time to the nearest quarter hour. Help

I figure it out. Thanks

"John" wrote:

Hi, I am trying to get my spreadsheet to round to the nearest quarter hour.
This is the current formula I am using.

=ROUND(IF((OR(B15="",C15="")),0,IF((C15<B15),((C15-B15)*24)+24,(C15-B15)*24))+IF((OR(E15="",F15="")),0,IF((F15<E15),(( F15-E15)*24)+24,(F15-E15)*24)),2)

As you can see it to decemal with breaks included. I still need to finnish
in decemal.

I tried to incorpuate a couple of formulas but fail.
=ROUND(A1*96,0)/96
=ROUND(D13*4,0)/4

Thanks

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
Time sheets Driver Excel Worksheet Functions 5 November 7th 05 11:19 AM
How do I calculation time in excel in 24 hour method Lloyd Excel Discussion (Misc queries) 7 July 18th 05 08:43 AM
How do i round up a price to the nearest 5,10,15 etc pence Millsy Excel Worksheet Functions 1 May 18th 05 02:20 PM
WHAT SYNTAX IS USED TO ROUND A 4-DIGIT NUMBER TO THE NEAREST THOUS KENITOSAN Excel Discussion (Misc queries) 4 February 19th 05 10:06 PM
how do you subtract military time? example 12:00 - 07:00 = 5 hour. Bill Excel Worksheet Functions 1 October 27th 04 08:25 PM


All times are GMT +1. The time now is 03:33 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"