Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default Figuring out hours worked

In cell F3 I am trying to get the hours work from the start time in cell D3
and the finish time in E3. I can not locate the forulma for this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Figuring out hours worked

You can subtract the start time from the end time and then multiply
the difference by 24. E.g.,

=(E3-D3)*24

If it is possible that the start time is greater than the end time
(e.g., crossing Midnight, start and 10PM and end at 3AM) use formula
like the following:

=(E3-D3+(D3E3))*24

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Wed, 20 May 2009 14:08:00 -0700, Matt
wrote:

In cell F3 I am trying to get the hours work from the start time in cell D3
and the finish time in E3. I can not locate the forulma for this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Figuring out hours worked

Try one of these:

=IF(COUNT(D3:E3)=2,E3-D3,"")

If the end time might span past midnight:

=IF(COUNT(D3:E3)=2,MOD(E3-D3,1),"")

Format as h:mm

--
Biff
Microsoft Excel MVP


"Matt" wrote in message
...
In cell F3 I am trying to get the hours work from the start time in cell
D3
and the finish time in E3. I can not locate the forulma for this?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default Figuring out hours worked

That worked thanks alot

"Chip Pearson" wrote:

You can subtract the start time from the end time and then multiply
the difference by 24. E.g.,

=(E3-D3)*24

If it is possible that the start time is greater than the end time
(e.g., crossing Midnight, start and 10PM and end at 3AM) use formula
like the following:

=(E3-D3+(D3E3))*24

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Wed, 20 May 2009 14:08:00 -0700, Matt
wrote:

In cell F3 I am trying to get the hours work from the start time in cell D3
and the finish time in E3. I can not locate the forulma for this?


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
Converting Millitary Time to Hours worked and OT hours Djbaker70 Excel Worksheet Functions 3 August 16th 08 06:36 AM
wages - multiply hours and minutes by number of hours worked Carol (Australia) Excel Discussion (Misc queries) 6 April 1st 07 01:16 AM
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis Graham Excel Discussion (Misc queries) 2 January 28th 07 08:40 PM
Figuring hours scott45 Excel Worksheet Functions 6 August 29th 05 09:54 PM
Figuring hours scott45 Excel Worksheet Functions 0 August 29th 05 03:31 PM


All times are GMT +1. The time now is 04:31 AM.

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"