Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kc sunshine
 
Posts: n/a
Default Formula for calculating time

I am establishing a Timesheet for our business in Excel. I have cells for
"In" , "Lunch Out", "Lunch In" and "Out" that employees will enter their
times (in military time). Need the formula that will calculate the total
hours for the day, subtracting out for the lunch break.

Thanks!
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

B2 = time in
C2 = lunch out
D2 = lunch in
E2 = time out

Total =IF(C2="","",(E2-D2+(D2E2)+C2-B2+(B2C2)))

Returns in the format of h:mm - 8:45

For a return in decimal format - 8.75

=IF(C2="","",(E2-D2+(D2E2)+C2-B2+(B2C2))*24)

Biff

"kc sunshine" <kc wrote in message
...
I am establishing a Timesheet for our business in Excel. I have cells for
"In" , "Lunch Out", "Lunch In" and "Out" that employees will enter their
times (in military time). Need the formula that will calculate the total
hours for the day, subtracting out for the lunch break.

Thanks!



  #3   Report Post  
Paul B
 
Posts: n/a
Default

Kc, have a look here

http://www.cpearson.com/excel/overtime.htm
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"kc sunshine" <kc wrote in message
...
I am establishing a Timesheet for our business in Excel. I have cells for
"In" , "Lunch Out", "Lunch In" and "Out" that employees will enter their
times (in military time). Need the formula that will calculate the total
hours for the day, subtracting out for the lunch break.

Thanks!



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
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM
Polynimial trandline formula CLR Charts and Charting in Excel 9 February 7th 05 07:31 PM
Formula for time DMachado Excel Discussion (Misc queries) 7 January 1st 05 09:45 PM
Formula for time? shaggy78 Excel Discussion (Misc queries) 11 December 31st 04 08:13 PM
What is the formula for getting time difference e.g. ("4 hrs 15 m. Sandeep Manjrekar Charts and Charting in Excel 3 December 4th 04 05:18 AM


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