Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formula for hr worked that cross 12:00 am

I need the formula that will figure hrs worked in a shift that starts in one
day and ends in the next.
Excel 2003
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default formula for hr worked that cross 12:00 am

=MOD(A2-A1,1)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"dbow" wrote in message
...
I need the formula that will figure hrs worked in a shift that starts in
one
day and ends in the next.
Excel 2003



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default formula for hr worked that cross 12:00 am

Try this:-

=IF(A1B1,B1+1-A1,B1-A1)

Formatted as hh:mm

Mike

"dbow" wrote:

I need the formula that will figure hrs worked in a shift that starts in one
day and ends in the next.
Excel 2003

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default formula for hr worked that cross 12:00 am

=MOD(B2-A2,1) and format as [hh]:mm.
If you want decimal hours, then =MOD(B2-A2,1) and format as General or
Number.
--
David Biddulph

"dbow" wrote in message
...
I need the formula that will figure hrs worked in a shift that starts in
one
day and ends in the next.
Excel 2003



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
Formula to work out hours worked Shazza Excel Discussion (Misc queries) 4 January 21st 07 11:52 PM
Formula doesn't work this morning, but worked for 2 years now Rhop Excel Worksheet Functions 1 October 11th 06 01:54 PM
Need formula to calculate hours worked BankC Excel Discussion (Misc queries) 12 January 31st 06 05:38 PM
What is wrong with this IF formula, it worked fine for a while? AC man Excel Discussion (Misc queries) 4 January 10th 06 01:19 AM
Formula that will represent years & months worked Pam Excel Discussion (Misc queries) 5 August 29th 05 11:20 PM


All times are GMT +1. The time now is 09:15 PM.

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

About Us

"It's about Microsoft Excel"