![]() |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 09:44 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com