ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   time sheets giving a minus (https://www.excelbanter.com/excel-discussion-misc-queries/134219-time-sheets-giving-minus.html)

dalenesa

time sheets giving a minus
 
I'm currently working on time sheets. I've got the times sorted out with the
day shift, but the night shif times is still a problem. The guys works from
17:00 to 06:00. That gives me 13 hours. Exel gives me the time worked as -11
hours.

Can someone please help me, somewhere I must be doing something wrong.

David Biddulph[_2_]

time sheets giving a minus
 
Either =B1-A1+(B1<A1) or =MOD(B1-A1,1)
--
David Biddulph

"dalenesa" wrote in message
...
I'm currently working on time sheets. I've got the times sorted out with
the
day shift, but the night shif times is still a problem. The guys works
from
17:00 to 06:00. That gives me 13 hours. Exel gives me the time worked
as -11
hours.

Can someone please help me, somewhere I must be doing something wrong.




tom

time sheets giving a minus
 
Make sure your dates are correct. From 17:00 to 06:00 is -11 hours, if
they're both on the same day.

"dalenesa" wrote:

I'm currently working on time sheets. I've got the times sorted out with the
day shift, but the night shif times is still a problem. The guys works from
17:00 to 06:00. That gives me 13 hours. Exel gives me the time worked as -11
hours.

Can someone please help me, somewhere I must be doing something wrong.


dalenesa

time sheets giving a minus
 
Thanks for your help guys, it works!!! So simple and yet such a headace if
you don't know how...

Thanks again and keep up the great work!

"dalenesa" wrote:

I'm currently working on time sheets. I've got the times sorted out with the
day shift, but the night shif times is still a problem. The guys works from
17:00 to 06:00. That gives me 13 hours. Exel gives me the time worked as -11
hours.

Can someone please help me, somewhere I must be doing something wrong.



All times are GMT +1. The time now is 10:38 AM.

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