Please help with formating
On Sun, 23 Aug 2009 16:33:01 -0700, Al wrote:
I have a column that has times written as numbers, so, I have 1:30 written as
1.3 and 24:00 written as 24. and so on. When I try to format the column as
Time, I get very strange results. I need to format the time so that it would
go from 0:00 to 24:00 (military hours). I have so many records to go manually
to make these changes. When I make the change manually it works fine. Can
someone help me please. I am trying to meet a deadline and this way, it will
take forever.
thanks
Al
Excel stores time as fractions of a day (1 hr = 1/24).
So first convert the value into something that excel recognizes as a time.
e.g., with your value in H1:
=DOLLARDE(H1,60)/24
or if you do not have the ATP installed:
=(INT(H1)+MOD(H1,1)/0.6)/24
Then format the result as time (e.g. [h]:mm )
--ron
|