Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jennerifw
 
Posts: n/a
Default Calculating overtime


I've already figured out how to enter employee's time, but now I want to
have it return anything 40 hours and below into one cell and all hours
over 40 into another. Any ideas?


--
jennerifw
------------------------------------------------------------------------
jennerifw's Profile: http://www.excelforum.com/member.php...o&userid=26071
View this thread: http://www.excelforum.com/showthread...hreadid=394076

  #2   Report Post  
BenjieLop
 
Posts: n/a
Default


jennerifw Wrote:
I've already figured out how to enter employee's time, but now I want to
have it return anything 40 hours and below into one cell and all hours
over 40 into another. Any ideas?


A very simple approach could be this. In Cell C1 (for example), enter
this formula,

=IF(B1<=40,B1,\"\")

where Cell B1 contains the employee hours. This formula means that if
the total employee hours in Cell B1 is equal to or less than 40, then
it will appear in Cell C1. Otherwise, if this condition is not true,
Cell C1 will just be blank.

On Cell D1, enter this formula

=IF(B140,B1,\"\")


again, where Cell B1 contains the employee hours. This formula means
that if the condition (Employee hours 40) is met, then Cell D1 will
show the employee hours. And, if this condition is not met, Cell D1
will be empty.

Hope this will help you.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=394076

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

To get hours over 40 using time format

=MAX(D1-"40:00",0)

if you are using integers replace "40:00" with 40

for 40 and lower

=MIN(--"40:00",D1)

--
Regards,

Peo Sjoblom

(No private emails please)


"jennerifw" wrote
in message ...

I've already figured out how to enter employee's time, but now I want to
have it return anything 40 hours and below into one cell and all hours
over 40 into another. Any ideas?


--
jennerifw
------------------------------------------------------------------------
jennerifw's Profile:
http://www.excelforum.com/member.php...o&userid=26071
View this thread: http://www.excelforum.com/showthread...hreadid=394076


  #4   Report Post  
jennerifw
 
Posts: n/a
Default


Peo-

Your suggestion gave me exactly what I was looking for. Thanks for
your help!


--
jennerifw
------------------------------------------------------------------------
jennerifw's Profile: http://www.excelforum.com/member.php...o&userid=26071
View this thread: http://www.excelforum.com/showthread...hreadid=394076

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
WHAT'S THE FORMULA FOR CALCULATING OVERTIME IN 1 CELL? EXAMPLE: 8. garpavco Excel Worksheet Functions 3 August 18th 05 01:22 PM
Calculating Overtime from Hours total Dreamweavn via OfficeKB.com Excel Worksheet Functions 6 April 29th 05 11:21 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! RICHARD Excel Discussion (Misc queries) 0 March 1st 05 01:53 PM
need help w/formula for calculating overtime hours jv749297 Excel Worksheet Functions 1 January 17th 05 07:54 PM


All times are GMT +1. The time now is 09:16 PM.

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"