Is there a way to convert a time number: 9:30 (9 hrs 30 minutes)
to a whole (w/fraction, or one decimal to the left)? 9.5
Thanks You!
Wayne
Ken Johnson - 14 May 2008 03:15 GMT
> Is there a way to convert a time number: 9:30 (9 hrs 30 minutes)
> to a whole (w/fraction, or one decimal to the left)? 9.5
>
> Thanks You!
> Wayne
Multiply by 24 and reformat cell to General
Ken Johnson
T. Valko - 14 May 2008 03:20 GMT
Multiply by 24
A1 = 9:30 (h:mm)
=A1*24
Format as GENERAL or NUMBER

Signature
Biff
Microsoft Excel MVP
> Is there a way to convert a time number: 9:30 (9 hrs 30 minutes)
> to a whole (w/fraction, or one decimal to the left)? 9.5
>
> Thanks You!
> Wayne
Mais qui est Paul - 14 May 2008 09:25 GMT
Bonsour® WGD avec ferveur ;o))) vous nous disiez :
> Is there a way to convert a time number: 9:30 (9 hrs 30 minutes)
> to a whole (w/fraction, or one decimal to the left)? 9.5
Literally: How many hours in A1 (9:30)
=A1 /"1:"
format cell to General
9,50
by extension:
How many minutes in A1 (9:30)
=A1 / "0:1"
format cell to General
570
How many secondes in A1 (9:30)
=A1 / "0:0:1"
format cell to General
34200
HTH

Signature
--
@+
;o)))