Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 71
Default Calculate time with a break and total hours

I'm trying to calculate length of hours with a break included, but I'm not
sure it's calculating correctly. Here's what I have in military time:

C6=8:00
C7=12:30
C8=13:30
C9=17:25

The formula I have to calculate the total of those hours is:
=C9-C6-1/24+(C9C6)

The break is usually 1 hour, but it can be less or more than 1 hour so I'd
like to change my formula if possible to allow for that variation.

I'm also trying to add the total hours together, but it's not displaying
right. My hours a

8:25 + 8:15 + 8:15 + 8:25 + 8:00 = 6.72

I used the sum function, but I know all that adds up to more than 6.72. :-)

TIA!
Anita
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Calculate time with a break and total hours

Hi,
Try this formula for the first question:
=C7-C6+C9-C8
Not sure about the second question
Regards - Dave.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Calculate time with a break and total hours

Hi,
For your second question, try formatting the cells with:
[h]:mm (including the Total)
Regards - Dave.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 71
Default Calculate time with a break and total hours

Thanks Dave! That worked perfectly. :-)
--
Anita


"Dave" wrote:

Hi,
Try this formula for the first question:
=C7-C6+C9-C8
Not sure about the second question
Regards - Dave.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Calculate time with a break and total hours

I tried that and it didn't work. Any other ideas

--
LeAnn


"Dave" wrote:

Hi,
Try this formula for the first question:
=C7-C6+C9-C8
Not sure about the second question
Regards - Dave.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Calculate time with a break and total hours

LeAnn,

If you want a solution to your problem, you need to do explain what "doesn't
work" means. No one can guess what's happening. You have to tell us. If it
gives the wrong result, tell us what result you got, and what you expected.

However, if you just want to be a victim ("poor me, this is an impossible
task"), ignore this post.

Regards,
Fred.

"LeAnn" wrote in message
...
I tried that and it didn't work. Any other ideas

--
LeAnn


"Dave" wrote:

Hi,
Try this formula for the first question:
=C7-C6+C9-C8
Not sure about the second question
Regards - Dave.


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
Calculate Total hours worked during workdays within given shift time. noname Excel Discussion (Misc queries) 2 April 8th 07 06:28 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
How do I calculate total weekly hours for payroll in Excel? laura6201 Excel Discussion (Misc queries) 1 September 14th 05 04:03 PM
How do I calculate total hours by rate of pay? FrankF Excel Worksheet Functions 1 August 16th 05 11:18 PM


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