![]() |
![]() |
|
|||||||
| 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: Apr 2002
Posts: 4
|
This question is similar to the business days question, in that, I need to subtract one time from another time to get the amount of hours that has past. This will be used for keeping track of employees time.
Also, I would like to be able to enter a start time and have a formula/function to figure and end time, based on an eight hour day. |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Location: East Texas
Posts: 38
|
Kerri try these formulas. The first formula is for total hrs. and the second is for total hrs minus a lunch break.
=(D10-C10+(D10 =ROUNDDOWN(F10-E10*24,2) |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
=B2-A2 ... and formatted as [h]:mm:SS would give you 9:00:00 for the second part, let us say you r start time is 8:00 in cell A4, then your formula would be =A4+8/24 ... formatted as time hh:mm pm would give 4:00 pm HTH
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|