LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Help with Time Keeping Formula


Barefoot Mark Wrote:
I use Excel to create very complicated schedules. I use military time
for
the starting and beginng times, and then add them, to come up with a
total of
hours. The problem is when the ending time is past 11:59 PM. it seems
to
subtract, rather than add. Here is an example of the formula:

=(HOUR(G476)+(MINUTE(G476)*0.01666))-(HOUR(E476)+(MINUTE(E476)*0.01666))

It works great as long as both times are within the same 24 hours.
Any
suggestions?

Thanks!


It doesn't need to be that elaborate....

=MOD(G476-E476,1)*24

format cell as general


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=521289

 
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 formula SallyGirl Excel Discussion (Misc queries) 4 February 1st 06 06:25 AM
Time Keeping Timeless Excel New Users to Excel 3 December 4th 05 01:43 AM
Formula is entering a default time when it comes across an empty cell.. Howie Excel Worksheet Functions 10 November 16th 05 11:34 AM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 26th 05 11:53 PM
time formula question... Greg Excel Discussion (Misc queries) 5 February 25th 05 10:11 AM


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