Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Need Formula to Calculate Time/Overtime

FSt1,

I checked out the website you mentioned.

Using the information given at that website I came up with the following
formula:

=(MIN(10,C21)+(IF(10<C21,C21-10,0)-IF(C2112,C21-12,0))*1.5+(MAX(0,C21-12)*2))+(MIN(10,D21)+(IF(10<D21,D21-10,0)-IF(D2112,D21-12,0))*1.5+(MAX(0,D21-12)*2))+(MIN(10,E21)+(IF(10<E21,E21-10,0)-IF(E2112,E21-12,0))*1.5+(MAX(0,E21-12)*2))+(MIN(10,F21)+(IF(10<F21,F21-10,0)-IF(F2112,F21-12,0))*1.5+(MAX(0,F21-12)*2))+((MIN(12,G21)*1.5)+(MAX(0,G21-12)*2))+((MIN(12,H21)*1.5)+(MAX(0,H21-12)*2))+(I21*2)

Given that:
Mon. (C21), Tues. (D21), Wed. (E21), Thur. (F21), Fri. (G21), Sat. (H21),
Sun. (I21)

Mon. - Thur. Fri. & Sat.
Sun.
1st (10) hours 1 1.5
2
..1 - 2 hrs. OT 1.5 1.5
2
over 2 hrs. OT 2 2
2

The formula works fine if all values are already put in. If anything is left
blank the numbers get all messed up. What am I messing? It looks like this:

c d e f g h i
Mon Tue Wed Thu Fri Sat Sun Total
Emp 2 15 0 0 0 0 0 0 19 (This one
is correct)
Emp 3 15 85
Emp 4 76

Additionally, the formula is really long. Is there a way to simplify the
formula?

Thank you for your help!

Don Lowe


"FSt1" wrote:

hi
check this site out....
http://www.cpearson.com/excel/overtime.htm

regards
FSt1

"Don Lowe" wrote:

I need a formula to calculate time with overtime variances automaticly. The
following is how the time structure is set up:

Mon. - Thur. Fri. & Sat.
Sun.
1st (10) hours 1 1.5
2
.1 - 2 hrs. OT 1.5 1.5
2
over 2 hrs. OT 2 2
2

Each day the supervisor inputs the hours in perspective cells:
Mon. (J9), Tues. (M9), Wed. (P9), Thur. (S9), Fri. (V9), Sat. (Y9), Sun. (AB9)

In column AD (AD9) is where I need the calculation. Currently, I am
calculating time without overtime. I am using the following formula to
accomplish that:
=J9+M9+P9+S9+(V9*1.5)+(Y9*1.5)+(AB9*2)

This formula correlates with the 1st (10) hours only.

I need to some how integrate the overtime. Please help!!!

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
if then formula for total time ;overtime hours versus regular OTVs Regular Excel Worksheet Functions 1 September 13th 07 08:24 AM
Detailed Time Sheet (overtime, comp time, vacation used) Robert D. Sandersfeld New Users to Excel 2 May 22nd 06 10:14 PM
Calculate Hours and overtime by week gregt812 Excel Worksheet Functions 1 November 23rd 05 07:03 PM
How can I calculate overtime? Rachel Excel Discussion (Misc queries) 0 September 1st 05 05:28 PM
Could you help me to calculate overtime Svetlana Excel Worksheet Functions 10 August 25th 05 09:00 AM


All times are GMT +1. The time now is 12:56 PM.

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"