Help with a formule

  • Thread starter Thread starter Dave
  • Start date Start date
True military time:

Format/Cells/Number/Custom hhmmssZ

Note that you can't directly enter that format, since XL requires a
colon to indicate time to the parser. You can leave off the time zone
indication for local time.

If you want the colon(s):

Format/Cells/Number/Custom hh:mm:ss
 
Dave said:
How would you format a cell to reflect military time???

If you mean, for example, 2:15 AM and 5:30 PM appearing as 0215 and 1730,
respectively, you could give such cells the custom number format hhmm.
 
Back
Top