LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default need time calculation formula

ok, i modified my formula to correctly catch instances where the planne
might be before midnight and the actual might be after using

=IF(AND(P50.791666,Q5<0.1875),(Q5-P5+1)+(R5-S5),(Q5-P5)+(R5-S5))

the 0.791666 is equivalent to 19:00 and the 0.1875 is 04:30, basicall
if planned start is after 7pm, and actual start is before 4.30am the
add 24 hours to the result, else both planned and actual are eithe
before or after midnight and so calculate normally. This seems to b
catching all instances of it.

I wont bother with the negative time for now

Thank

--
Message posted from http://www.ExcelForum.com

 
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
Formula For Time Duration Calculation Deen Excel Discussion (Misc queries) 1 March 21st 10 01:55 AM
Time calculation or formula Lise Excel Discussion (Misc queries) 2 July 2nd 08 08:20 AM
create time calculation formula Jcraig713 Excel Discussion (Misc queries) 3 June 28th 06 01:24 PM
formula date and time calculation changetires Excel Discussion (Misc queries) 8 June 27th 06 03:01 PM
Time Calculation Formula! Mike Excel Discussion (Misc queries) 5 July 23rd 05 04:37 AM


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