#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default formulas

How do i write formul for hours over 40, anything over 40 is Overtime. I
can not find the formul to seperate reg time from overtime. Can some one help
me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default formulas

Let's say your total hours are in cell A1. Use these formulas:

Regular Hours:
=MIN(A1,40)

Overtime Hours:
=MAX(A1-40,0)

HTH,
Elkar


"Earl A" wrote:

How do i write formul for hours over 40, anything over 40 is Overtime. I
can not find the formul to seperate reg time from overtime. Can some one help
me?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default formulas

Let's put total hours in A1. Assume that straight time is $12.00 per hour
and overtime is $18.00 per hour

=IF((A1<=40),A1*12,480+(A1-40)*18)


--
Gary''s Student - gsnu200738


"Earl A" wrote:

How do i write formul for hours over 40, anything over 40 is Overtime. I
can not find the formul to seperate reg time from overtime. Can some one help
me?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default formulas

Elkar, it worked for the overtime but it still total #of in hours in my reg
time. h21 shows my total hours of 67. I need to show 40 in reg time & 27 in
overtime. overtime is in i21. THANK YOU VERY, VERY MUCH. ELKAR I AM NOT SURE
OF WHAT I AM DOING WRONG.

"Elkar" wrote:

Let's say your total hours are in cell A1. Use these formulas:

Regular Hours:
=MIN(A1,40)

Overtime Hours:
=MAX(A1-40,0)

HTH,
Elkar


"Earl A" wrote:

How do i write formul for hours over 40, anything over 40 is Overtime. I
can not find the formul to seperate reg time from overtime. Can some one help
me?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 623
Default formulas

Go back and check what you entered, because Elkar's formulas are correct.
Without knowing exactly what you entered, it's not possible to tell you what you
are doing wrong.

If h21 has your total hours (67) in your case,

Reg hours: =min(h21,40)
Overtime hours (i21): =max(h21-40,0)

--
Regards,
Fred


"Earl A" wrote in message
...
Elkar, it worked for the overtime but it still total #of in hours in my reg
time. h21 shows my total hours of 67. I need to show 40 in reg time & 27 in
overtime. overtime is in i21. THANK YOU VERY, VERY MUCH. ELKAR I AM NOT SURE
OF WHAT I AM DOING WRONG.

"Elkar" wrote:

Let's say your total hours are in cell A1. Use these formulas:

Regular Hours:
=MIN(A1,40)

Overtime Hours:
=MAX(A1-40,0)

HTH,
Elkar


"Earl A" wrote:

How do i write formul for hours over 40, anything over 40 is Overtime. I
can not find the formul to seperate reg time from overtime. Can some one
help
me?



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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 02:20 AM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 06:40 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"