ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Working night and day..... Timesheet (https://www.excelbanter.com/excel-worksheet-functions/110643-working-night-day-timesheet.html)

Kjaltrik

Working night and day..... Timesheet
 
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!!

Toppers

Working night and day..... Timesheet
 
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

"Kjaltrik" wrote:

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!!


Kjaltrik

Working night and day..... Timesheet
 
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))*247,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:

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

"Kjaltrik" wrote:

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!!


Toppers

Working night and day..... Timesheet
 
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

"Kjaltrik" wrote:

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))*247,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:

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

"Kjaltrik" wrote:

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!!


Kjaltrik

Working night and day..... Timesheet
 
Thank you very much for your time and help!

Everything is working good now!!



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

"Kjaltrik" wrote:

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))*247,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:

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

"Kjaltrik" wrote:

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!!


Toppers

Working night and day..... Timesheet
 
No problem ... thank you for the feedback.

"Kjaltrik" wrote:

Thank you very much for your time and help!

Everything is working good now!!



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

"Kjaltrik" wrote:

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))*247,5;((D13-C13)+(F13-E13))*24-7,5;)

Toppers skrev:

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

"Kjaltrik" wrote:

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!!



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

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