Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Overtime calculations

Hello,
Im working on a workbook that calculates total working hours on
monthly basis for each employee each employee should work 09:30 on
daily baisis
i am trying to find a formula that gives me the total of Over time
hours
During Weekdays: 1st 2 OVT hours will not be considered as an OVT but
if u stayed more than 2 hours on the same day u will add to ur
balance the 2 first hours as well.
During weekends and holidays : all attendance hours are considered as
OVT
my sheet is this way
A5=Date
C5=In
D5=Out
E5=Total hours
what i need is
Weekend OVT Hours F5
Weekdays OVT hours=g5

Waiting for your reply
Tia
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Overtime calculations

E5: =IF(WEEKDAY($A5,2)<6,IF($E5=TIME(11,30,0),$E5-TIME(9,30,0),0),0)
F5: =IF(WEEKDAY($A5,2)<6,0,$E5)

What happens if they stay say an extra hour every day, how does that get
factored in?

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Tia" wrote in message
...
Hello,
Im working on a workbook that calculates total working hours on
monthly basis for each employee each employee should work 09:30 on
daily baisis
i am trying to find a formula that gives me the total of Over time
hours
During Weekdays: 1st 2 OVT hours will not be considered as an OVT but
if u stayed more than 2 hours on the same day u will add to ur
balance the 2 first hours as well.
During weekends and holidays : all attendance hours are considered as
OVT
my sheet is this way
A5=Date
C5=In
D5=Out
E5=Total hours
what i need is
Weekend OVT Hours F5
Weekdays OVT hours=g5

Waiting for your reply
Tia



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Overtime calculations

On May 27, 1:22*pm, "Bob Phillips" wrote:
E5: =IF(WEEKDAY($A5,2)<6,IF($E5=TIME(11,30,0),$E5-TIME(9,30,0),0),0)
F5: =IF(WEEKDAY($A5,2)<6,0,$E5)

What happens if they stay say an extra hour every day, how does that get
factored in?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Tia" wrote in message

...



Hello,
Im working on a workbook that calculates total working hours on
monthly basis for each employee each employee should work 09:30 on
daily baisis
i am trying to find a formula that gives me the total of Over time
hours
During Weekdays: 1st 2 OVT hours will not be considered as an OVT but
if u stayed more than *2 hours on the same day u will add to ur
balance the 2 first hours as well.
During weekends and holidays : all attendance hours are considered as
OVT
my sheet is this way
A5=Date
C5=In
D5=Out
E5=Total hours
what i need is
Weekend OVT Hours F5
Weekdays OVT hours=g5


Waiting for your reply
Tia- Hide quoted text -


- Show quoted text -


as pr our company rules if u stayed less than 2 hours as ovt each day
u wont get payed anything but u will have it as a bonus at the end of
the year so i need a formula that gives me the total of ovt after the
2 hours including the 2 hours
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Overtime calculations

That I gave you.

I bet you don't get many people working over unless they know it will be
more than 2 hours.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Tia" wrote in message
...
On May 27, 1:22 pm, "Bob Phillips" wrote:
E5: =IF(WEEKDAY($A5,2)<6,IF($E5=TIME(11,30,0),$E5-TIME(9,30,0),0),0)
F5: =IF(WEEKDAY($A5,2)<6,0,$E5)

What happens if they stay say an extra hour every day, how does that get
factored in?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Tia" wrote in message

...



Hello,
Im working on a workbook that calculates total working hours on
monthly basis for each employee each employee should work 09:30 on
daily baisis
i am trying to find a formula that gives me the total of Over time
hours
During Weekdays: 1st 2 OVT hours will not be considered as an OVT but
if u stayed more than 2 hours on the same day u will add to ur
balance the 2 first hours as well.
During weekends and holidays : all attendance hours are considered as
OVT
my sheet is this way
A5=Date
C5=In
D5=Out
E5=Total hours
what i need is
Weekend OVT Hours F5
Weekdays OVT hours=g5


Waiting for your reply
Tia- Hide quoted text -


- Show quoted text -


as pr our company rules if u stayed less than 2 hours as ovt each day
u wont get payed anything but u will have it as a bonus at the end of
the year so i need a formula that gives me the total of ovt after the
2 hours including the 2 hours


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overtime Calculation for Overtime SilviaG Excel Worksheet Functions 4 April 21st 08 06:05 PM
Overtime Calculations Michele Excel Worksheet Functions 1 April 10th 07 09:08 PM
Overtime calculations kozzzle Excel Discussion (Misc queries) 4 August 30th 06 05:30 PM
=SUMPRODUCT((Overtime!$J$6:$GY$6-DAY(Overtime!$J$6:$GY$6)+1=A25)*(Overtime!$J$7:$GY $2 paulrm906 Excel Worksheet Functions 8 June 11th 06 10:34 AM
Overtime Calculations Doug Excel Worksheet Functions 1 March 8th 05 12:57 AM


All times are GMT +1. The time now is 02:39 AM.

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

About Us

"It's about Microsoft Excel"