ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   time-clock calculation (https://www.excelbanter.com/excel-worksheet-functions/5236-time-clock-calculation.html)

dokliver

time-clock calculation
 
I have inputted 24 hour time into the worksheet and have tried to calculate
actual hours worked. The inaccuracy in the calculation occurs when the start
time is greater than the stop time. How do I get an accurate number for
time-clock calculations?



mzehr

Hi,
Have a look at:
http://www.cpearson.com/excel/datearith.htm

"dokliver" wrote:

I have inputted 24 hour time into the worksheet and have tried to calculate
actual hours worked. The inaccuracy in the calculation occurs when the start
time is greater than the stop time. How do I get an accurate number for
time-clock calculations?



Bob Phillips

Try

=MOD(B1-A1,1)

--

HTH

RP

"dokliver" wrote in message
...
I have inputted 24 hour time into the worksheet and have tried to

calculate
actual hours worked. The inaccuracy in the calculation occurs when the

start
time is greater than the stop time. How do I get an accurate number for
time-clock calculations?





Frank Kabel

Hi
try
=B1-A1+(B1<A1)

or
=MOD(B1-A1,1)

--
Regards
Frank Kabel
Frankfurt, Germany

"dokliver" schrieb im Newsbeitrag
...
I have inputted 24 hour time into the worksheet and have tried to

calculate
actual hours worked. The inaccuracy in the calculation occurs when

the start
time is greater than the stop time. How do I get an accurate number

for
time-clock calculations?





All times are GMT +1. The time now is 09:37 AM.

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