#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Convert Time

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Convert Time

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" wrote in message
...
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.


  #3   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Convert Time

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" wrote in message
...
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.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Convert Time

=TEXT(A1,"hhmmss")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jim" wrote in message
...
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" wrote in message
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert time stored as decimalised number to time format Emma New Users to Excel 1 April 29th 08 03:06 PM
How do i convert unix time to Julian time in excel? Ken Excel Discussion (Misc queries) 1 December 14th 06 08:22 PM
In Excel, I want to convert Eastern time to pacific time dmunhall Excel Discussion (Misc queries) 4 April 1st 06 01:03 AM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM


All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"