Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How can I calculate daily hours worked minus lunch to eual a decim

example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How can I calculate daily hours worked minus lunch to eual a decim

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time


=((D2-A2)-(C2-B2))*24

"lili" wrote:

example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How can I calculate daily hours worked minus lunch to eual a d

This only works for AM times. If I want it to work for PM starts I have to ad
24.
How do I work it all into one formula that will work for both?



"Teethless mama" wrote:

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time


=((D2-A2)-(C2-B2))*24

"lili" wrote:

example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How can I calculate daily hours worked minus lunch to eual a decim

Assuming your times are in A1 to D1, then try this:

=(D1-C1+B1-A1)*24

Format the cell as number with 2 dp.

Hope this helps.

Pete

On Mar 28, 12:00 am, lili wrote:
example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How can I calculate daily hours worked minus lunch to eual a d



"Pete_UK" wrote:

Assuming your times are in A1 to D1, then try this:

=(D1-C1+B1-A1)*24

Format the cell as number with 2 dp.

Hope this helps.

Pete

On Mar 28, 12:00 am, lili wrote:
example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How can I calculate daily hours worked minus lunch to eual a d

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time

=((D2-A2+(A2D2))-(C2-B2+(B2C2)))*24


"lili" wrote:

This only works for AM times. If I want it to work for PM starts I have to ad
24.
How do I work it all into one formula that will work for both?



"Teethless mama" wrote:

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time


=((D2-A2)-(C2-B2))*24

"lili" wrote:

example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How can I calculate daily hours worked minus lunch to eual a d

You are one Freak'n GENIUS, Theethless
mama!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

"Teethless mama" wrote:

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time

=((D2-A2+(A2D2))-(C2-B2+(B2C2)))*24


"lili" wrote:

This only works for AM times. If I want it to work for PM starts I have to ad
24.
How do I work it all into one formula that will work for both?



"Teethless mama" wrote:

Assuming
A2: start time
B2: Lunch out
C2: Lunch in
D2: End time


=((D2-A2)-(C2-B2))*24

"lili" wrote:

example IN 2:45AM, Lunch Out 12:00PM, Lunch In 1:00PM, Out 5:00PM
=13.25

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
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis Graham Excel Discussion (Misc queries) 2 January 28th 07 09:40 PM
Calculate hours worked larry_saudi New Users to Excel 5 October 11th 06 07:46 PM
Need formula to calculate hours worked BankC Excel Discussion (Misc queries) 12 January 31st 06 06:38 PM
CALCULATE HOURS WORKED Calculation of hours worked. Excel Discussion (Misc queries) 3 January 20th 05 07:01 PM
calculate average hours worked llstephens Excel Worksheet Functions 1 November 24th 04 03:37 PM


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