From: Jim on
Hello,

In one cell I have the time showing (2:45:59 PM). In another cell I would
like to input a formula that will convert the time into a text cell showing
military time.

Thanks in advance for the help.
From: Niek Otten on
Depends on what you call "military time"

Anyway, in the new cell, insert the formula:

=A1

assuming that the original time is in A1

Then format custom as hh:mm:ss or hhmmss


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jim" <Jim(a)discussions.microsoft.com> wrote in message
news:5A87A835-1AEE-4276-85DD-59C7152DBB91(a)microsoft.com...
> Hello,
>
> In one cell I have the time showing (2:45:59 PM). In another cell I would
> like to input a formula that will convert the time into a text cell
> showing
> military time.
>
> Thanks in advance for the help.

From: Jim on
So how do I convert it into text?

"Niek Otten" wrote:

> Depends on what you call "military time"
>
> Anyway, in the new cell, insert the formula:
>
> =A1
>
> assuming that the original time is in A1
>
> Then format custom as hh:mm:ss or hhmmss
>
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "Jim" <Jim(a)discussions.microsoft.com> wrote in message
> news:5A87A835-1AEE-4276-85DD-59C7152DBB91(a)microsoft.com...
> > Hello,
> >
> > In one cell I have the time showing (2:45:59 PM). In another cell I would
> > like to input a formula that will convert the time into a text cell
> > showing
> > military time.
> >
> > Thanks in advance for the help.
>
From: Niek Otten on
=TEXT(A1,"hhmmss")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jim" <Jim(a)discussions.microsoft.com> wrote in message
news:004E198B-AB3A-4497-9635-48A599D2A1AB(a)microsoft.com...
> So how do I convert it into text?
>
> "Niek Otten" wrote:
>
>> Depends on what you call "military time"
>>
>> Anyway, in the new cell, insert the formula:
>>
>> =A1
>>
>> assuming that the original time is in A1
>>
>> Then format custom as hh:mm:ss or hhmmss
>>
>>
>> --
>> Kind regards,
>>
>> Niek Otten
>> Microsoft MVP - Excel
>>
>> "Jim" <Jim(a)discussions.microsoft.com> wrote in message
>> news:5A87A835-1AEE-4276-85DD-59C7152DBB91(a)microsoft.com...
>> > Hello,
>> >
>> > In one cell I have the time showing (2:45:59 PM). In another cell I
>> > would
>> > like to input a formula that will convert the time into a text cell
>> > showing
>> > military time.
>> >
>> > Thanks in advance for the help.
>>