=24*("12:30"-"8:15")
and format as General

Signature
Gary''s Student - gsnu2007d
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