![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 3
|
DateSun JohnSmith
Office In Out 9 5 Lunch Out In 2 3 Sheet one Employee Name John Smith Hours 7 Sheet Two Above is an example of what I am trying to do. Sheet one the start - end time and lunch is recorded. Sheet two does all of the calcualtions and returns the Total hours worked for the day. I can do this easily if I use Military time. I wanted to use standard time (ie 5:30 PM). What I end up with is a mess when I start using IF statements. I have employees starting before 12pm and after 12pm. That causes a major problem for me. Any suggestons on the best way to ge this started??? |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
Code:
=IF(B2 [ This Message was edited by: Yogi Anand on 2002-05-19 15:37 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|