ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   TimeSheet calculatons Overnights (https://www.excelbanter.com/excel-worksheet-functions/145243-timesheet-calculatons-overnights.html)

DonElston

TimeSheet calculatons Overnights
 
We have a shift that runs from 19:00 until 07:00 the next day. How can I get
Excel to calculate the hours without the necessity of adding a date to the
cell.



Roger Govier

TimeSheet calculatons Overnights
 
Hi Don

With start time in A1 and end time in B1
=MOD(B1-A1,1)

--
Regards

Roger Govier


"DonElston" wrote in message
...
We have a shift that runs from 19:00 until 07:00 the next day. How
can I get
Excel to calculate the hours without the necessity of adding a date to
the
cell.





Teethless mama

TimeSheet calculatons Overnights
 
=MOD(B1-A1,1)
or
=(B1-A1)+(A1B1)

"DonElston" wrote:

We have a shift that runs from 19:00 until 07:00 the next day. How can I get
Excel to calculate the hours without the necessity of adding a date to the
cell.



Mike H

TimeSheet calculatons Overnights
 
Start time =A1
End time = B1

Try:-

=(B1-A1+(B1<A1))*24

Mike

"DonElston" wrote:

We have a shift that runs from 19:00 until 07:00 the next day. How can I get
Excel to calculate the hours without the necessity of adding a date to the
cell.



DonElston

TimeSheet calculatons Overnights
 
THanks so much, it worked great.

DOn


"Teethless mama" wrote:

=MOD(B1-A1,1)
or
=(B1-A1)+(A1B1)

"DonElston" wrote:

We have a shift that runs from 19:00 until 07:00 the next day. How can I get
Excel to calculate the hours without the necessity of adding a date to the
cell.




All times are GMT +1. The time now is 07:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com