View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default counting hours from cell with time-table.

=--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.

--
HTH

Bob

(change the xxxx to gmail if mailing direct)
"Karl E Austvold" wrote in message
...
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 (answe 6,5).

--
Karl E Austvold