Is there any function (formula) in excel who gives me opportunity to count
how many hours there is between two pointet hours.
An example: one cell indicate 09.30 - 16.00. In the oder cell I want to
know how many hours there is beetwen
the two hours (answere: 6,5).

Signature
Karl E Austvold
Bob Phillips - 30 Nov 2006 19:25 GMT
=--TEXT(TRIM(MID(A21,FIND("-",A21)+1,99))*100,"00\:00")-TEXT(TRIM(LEFT(A21,FIND("-",A21)-1))*100,"00\:00")
and format as time.

Signature
HTH
Bob
(change the xxxx to gmail if mailing direct)
> Is there any function (formula) in excel who gives me opportunity to count
> how many hours there is between two pointet hours.
> An example: one cell indicate 09.30 - 16.00. In the oder cell I want to
> know how many hours there is beetwen
> the two hours (answere: 6,5).
Teethless mama - 02 Dec 2006 03:36 GMT
=(TIME(MID(A1,FIND("-",A1)+2,2),RIGHT(A1,2),0)-TIME(LEFT(A1,2),MID(A1,4,2),))*24
> Is there any function (formula) in excel who gives me opportunity to count
> how many hours there is between two pointet hours.
> An example: one cell indicate 09.30 - 16.00. In the oder cell I want to
> know how many hours there is beetwen
> the two hours (answere: 6,5).