Thread: Time formulas
View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default Time formulas

You need to custom format the result cell to [hh]:mm
It uses whatever regional setting (in Windows) you are using. That is why I
always change my regional settings to 24 hour.


--


Regards,


Peo Sjoblom


"Blazingsaddles" wrote in message
...
When I put in your formula, I get 9:00 am. I actually need 9.00. What
revision to the formula should I make?

Thanks.

"Peo Sjoblom" wrote:

One way

=MOD(C9-C6,1)-MOD(C8-C7,1)


--


Regards,


Peo Sjoblom


"Blazingsaddles" wrote in
message
...
Here is my timesheet:

c6: 11:00 pm
c7: 12:00 am
c8: 7:00 am
c9: 3:00 pm
c10: (Actual hours worked)

If I use the formula: =IF(C6C7,C7+1-C6,C7-C6)*24
I can get the time for c6/c7, but what formula do I use to not only get
the
hours from c6/c7, but also from c8/c9 - to get the total of 9 hours in
c10?

Thanks, I appreciate any help.