Hi Pete,
Thank you for your response, but perhaps I didn't phrase my question clearly
enough. I'm not looking to enter times as in the time of day. I'm looking to
enter time FRAMES or lengths.
For instance, if I enter 3:55, I want it to refer to the length of time as
having lasted for 3 minutes and 55 seconds. I don't want it to refer to 3:55
a.m.
Just for laughs, I tried entering the leading zero anyway and it still
tranlated it to the time of day. Before I posted, I tried formatting the cell
under "Custom", then chose "mm:ss", but it still turned it into a clock time
(12:03:55 a.m.).
I hope that makes more sense. If you or anyone can tell me how to do this,
I'd appreciate it. As I said before, I can't do it as straight text since
I'll need to do more calculations off those numbers later. Thanks.
--- Gary
> You will need to enter the leading zero for the hour, i.e.:
>
[quoted text clipped - 18 lines]
> >
> > Thanks in advance.
Pete_UK - 25 Mar 2008 21:14 GMT
That is how Excel deals with times, but if you want an alternative you
could enter the time as:
3:55.0
i.e. with a zero fraction of a second at the end. Don't worry about
the display in the formula bar, Excel will calculate times correctly
if you want to add or subtract them, but you must enter three elements
of the time - either a zero hour followed by a colon and then your
minutes:seconds, or as minutes:seconds followed by a point and a zero.
If you only enter two elements, i.e. 3:55, then Excel will assume this
means 3:55:00, i.e. 3 hours and 55 minutes.
Hope this helps.
Pete
> Hi Pete,
>
[quoted text clipped - 41 lines]
>
> - Show quoted text -
Tyro - 25 Mar 2008 21:25 GMT
Excel maintains time as fractions of 24 hours. 12 midnight is 0.0 1 hour is
1/24, 1 minute is 1(24*60), 1 second is 1(24*60*60)
So 3 minutes and 55 seconds is 1/(24*60) * 3 + 1(24*60*60) * 55, i.e.
0.00271990740740741.
If you display that as time formatted as mm:ss you will see: 03:55 If you
format that as h:mm:ss AM/PM you will see 12:03:55 AM
The formatting of the number is for human consumption. The time is still the
same. Your 3 minutes and 55 seconds is still 0.00271990740740741
I suggest you read some information on how Excel stores time.
Tyro
> Hi Pete,
>
[quoted text clipped - 47 lines]
>> >
>> > Thanks in advance.
Tyro - 25 Mar 2008 21:30 GMT
Correction 1/(24*60) * 3 + 1(24*60*60) * 55 should be 1/(24*60) * 3 +
1/(24*60*60) * 55,
Tyro
> Excel maintains time as fractions of 24 hours. 12 midnight is 0.0 1 hour
> is 1/24, 1 minute is 1(24*60), 1 second is 1(24*60*60)
[quoted text clipped - 62 lines]
>>> >
>>> > Thanks in advance.
David Biddulph - 25 Mar 2008 21:32 GMT
Excel doesn't distinguish between an elapsed time and a time of day. It's
merely a question of how you format the data. If you put in 3:55.0 or
0:3:55, then:
if you format as [h]:mm:ss it will show as 0:03:55
if you format as [m]:ss it will show as 3:55
if you format as hh:mm:ss it will show as 00:03:55
if you format as hh:mm:ss AM/PM it will show as 12:03:55 AM
if you format as dd/mm/yyyy hh:mm:ss it will show as 00/01/1900 00:03:55
[The date shown is because day 1 for Excel is 1/1/1900, so day 0 is
00/01/1900, etc.]
In any of these cases, the number actually stored is 0.002719907, as times
are stored in units of 24 hours so if you format as General, 0.002719907 is
what you will see.

Signature
David Biddulph
> Hi Pete,
>
[quoted text clipped - 47 lines]
>> >
>> > Thanks in advance.