#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default formula?

Can you help me figure out a Excel formula? I am trying to make a time card
for my boss. With 4 fields. Time-in | Time-Out | Break | Total: My formula
reads =(E11+F11)-(G11)*24 It should give me 8 hours worked. What am I
doing wrong?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default formula?

Can you help me figure out a Excel formula? I am trying to make a time
card for my boss. With 4 fields. Time-in | Time-Out | Break | Total:
My formula reads =(E11+F11)-(G11)*24 It should give me 8 hours
worked. What am I doing wrong?


If
E11 = time in (start of shift); e.g., 8:00:00
F11 = time out (end of shift); e.g., 17:00:00
G11 = length of break (hours); e.g., 1:00:00
then
=24*(F11-E11-G11)
gives the number of hours worked. Format it as a number.

It would get more complicated if the shift can span midnight.

(I have Excel 2003.)
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



All times are GMT +1. The time now is 12:01 PM.

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"