Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Formula and field types for calculating times

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hans-Martin Burger - 06 Feb 2008 10:32 GMT
Hello,

I don't get it how to format fields and apply some formula to calculate
with time-differences.

Example:
    I want the difference of two time fields expressed as    
    decimal-number.

12:30 - 08:15 = 4.25 (4 hours and 15 minutes)
Gary''s Student - 06 Feb 2008 10:42 GMT
=24*("12:30"-"8:15")
and format as General
Signature

Gary''s Student - gsnu2007d

Niek Otten - 06 Feb 2008 10:42 GMT
To learn all about calculating with time, visit Chip Pearson's site:

http://www.cpearson.com/excel/datetime.htm#AddingTimes

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hello,
|
[quoted text clipped - 6 lines]
|
| 12:30 - 08:15 = 4.25 (4 hours and 15 minutes)
Matt Richardson - 06 Feb 2008 15:35 GMT
> To learn all about calculating with time, visit Chip Pearson's site:
>
[quoted text clipped - 16 lines]
> |
> | 12:30 - 08:15 = 4.25 (4 hours and 15 minutes)

If you have 12:30 in cell A1, 08:15 in cell B1, and then the formula
=A1-B1 in cell C1, Excel will give the response 04:15.

Is this what you mean?  If you want it in a decimalised format, try
the following formula in cell C1:-

=HOUR(A1-B1)+MINUTE(A1-B1)/60

And ensure that the number format of the field is set to General or
number.

Hope this helps,
M.Richardson
http://teachr.blogspot.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.