Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Converting Standard Time to Military Time in Excel

What function can be used to convert a column of Standard Time to a column of
Military Time in Excel?
Is it a formula or formatting?
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Converting Standard Time to Military Time in Excel

To convert a column of Standard Time to Military Time in Excel, you can use a formula. Here's how:
  1. First, make sure that the column containing the Standard Time is formatted as time. To do this, select the column, right-click, and choose "Format Cells." In the Format Cells dialog box, choose "Time" and select the appropriate time format.
  2. Next, create a new column where you want the Military Time to appear.
  3. In the first cell of the new column, enter the following formula: =TEXT(A1,"hh:mm")
  4. Replace "A1" with the cell reference of the first cell in the column containing the Standard Time.
  5. Press Enter to apply the formula to the first cell.
  6. Copy the formula down to the rest of the cells in the new column by dragging the fill handle (the small square in the bottom right corner of the cell) down to the last cell.
  7. The new column should now contain the Military Time equivalent of the Standard Time in the original column.

Note that the TEXT function is used to convert the Standard Time to Military Time format. The "hh:mm" format code specifies that the output should be in hours and minutes, with leading zeros if necessary.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Converting Standard Time to Military Time in Excel

Have you looked? Is this a homework question?

mtvschultz wrote:

What function can be used to convert a column of Standard Time to a column of
Military Time in Excel?
Is it a formula or formatting?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Converting Standard Time to Military Time in Excel

What do you consider as Military Time format?

If 13:30 then use formatting under NumberTime

If 1330 there is no default Excel format for this.

Custom format to hmm;@

Note: the time will still be AM or PM in the formula bar.


Gord Dibben MS Excel MVP

On Fri, 15 Feb 2008 10:24:05 -0800, mtvschultz
wrote:

What function can be used to convert a column of Standard Time to a column of
Military Time in Excel?
Is it a formula or formatting?


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
Change EXCEL Clock to Standard Clock or Military Time YoMarie Excel Worksheet Functions 4 April 29th 07 08:39 PM
converting military time JT Excel Worksheet Functions 6 February 6th 07 06:41 PM
How to I convert standard time to Military or 24 hour format? Nacho Excel Discussion (Misc queries) 5 June 28th 06 07:14 PM
Converting decimal time to standard time? mpendleton Excel Discussion (Misc queries) 4 May 12th 06 10:07 PM
Convert data into standard military time format geog Excel Discussion (Misc queries) 2 December 12th 05 07:46 PM


All times are GMT +1. The time now is 10:22 AM.

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

About Us

"It's about Microsoft Excel"