Working night and day..... Timesheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In Out In Out The total time I
get Overtime
15:00 18:30 19:20 02:00 -13,83 0,00

I'm using this Formula:
=IF((((D13-C13)+(F13-E13))*24)>24;8;((D13-C13)+(F13-E13))*24). Why doesn't
this work? I get negative hours in the total worked hours and no overtime...
My computer doesn't understand the new comming day...

This formula works when I'm working daytime...

Hope there's somebody that can help me

Thnx!!
 
Try this to get total hours worked (as decimal hours i.e. 6 hours 30 minutes
will be shown as 6.50 hours)

=((D1-C1)+(D1<C1)+(F1-E1)+(F1<E1))*24

HTH
 
Try this to get total hours worked (as decimal hours i.e. 6 hours 30 minutes
will be shown as 6.50 hours)

=((D1-C1)+(D1<C1)+(F1-E1)+(F1<E1))*24

HTH
 
Thank you very much!!! It worked.

But now the overtime cell still stands on zero...
I have overtime over 7,5 hours

The formula I use there is
=IF(((D13-C13)+(F13-E13))*24>7,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:
 
Thank you very much!!! It worked.

But now the overtime cell still stands on zero...
I have overtime over 7,5 hours

The formula I use there is
=IF(((D13-C13)+(F13-E13))*24>7,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:
 
Overtime hours:

=MAX(G1-7.5,0) where G1 contains total hours worked

OR

=MAX(((D1-C1)+(D1<C1)+(F1-E1)+(F1<E1))*24-7.5,0)

HTH
 
Overtime hours:

=MAX(G1-7.5,0) where G1 contains total hours worked

OR

=MAX(((D1-C1)+(D1<C1)+(F1-E1)+(F1<E1))*24-7.5,0)

HTH
 
Thank you very much for your time and help!

Everything is working good now!!



Toppers skrev:
 
Thank you very much for your time and help!

Everything is working good now!!



Toppers skrev:
 
Back
Top