Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default 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!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default 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!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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!!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default 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!!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"