#1   Report Post  
Lisa
 
Posts: n/a
Default IF Question

If a normal working day is 8:00 AM - 5:00 PM and anything either over or
under that is counted as overtime, can I have one cell that tells me
=IF(Actual Start<Normal Start,Normal Start-Actual Start,"") and add
=IF(Actual EndNormal End,Actual End-Normal End,"") so that you can see how
much over your 'Normal Hours' you have worked that day?


  #2   Report Post  
CLR
 
Posts: n/a
Default

With Ranges named ActualStart, ActualEnd, NormalStart, and NormalEnd, the
following will give you the overage in hours.

=IF((ActualEnd-ActualStart)*249,(ActualEnd-ActualStart)*24-9,0)

Vaya con Dios,
Chuck, CABGx3



"Lisa" wrote in message
...
If a normal working day is 8:00 AM - 5:00 PM and anything either over or
under that is counted as overtime, can I have one cell that tells me
=IF(Actual Start<Normal Start,Normal Start-Actual Start,"") and add
=IF(Actual EndNormal End,Actual End-Normal End,"") so that you can see

how
much over your 'Normal Hours' you have worked that day?




  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Normal hours

in C1: =MIN(B1,TIME(17,0,0)-MAX(A1,TIME(8,0,0)))

overtime hours

in D1; =MAX(0,B1-A1-C1)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Lisa" wrote in message
...
If a normal working day is 8:00 AM - 5:00 PM and anything either over or
under that is counted as overtime, can I have one cell that tells me
=IF(Actual Start<Normal Start,Normal Start-Actual Start,"") and add
=IF(Actual EndNormal End,Actual End-Normal End,"") so that you can see

how
much over your 'Normal Hours' you have worked that day?




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
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Question about combining data from multiple workbooks into one rep BookOpenandUpright Excel Discussion (Misc queries) 2 February 19th 05 12:37 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


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