ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Change text (8:30 PM) to military time (20:30) (https://www.excelbanter.com/excel-discussion-misc-queries/109201-change-text-8-30-pm-military-time-20-30-a.html)

Netorius77

Change text (8:30 PM) to military time (20:30)
 
I'm trying to change times that are reported in text format (ie 8:30 PM
instead of 8:30PM) into military time equivalents (20:30).

Is there a straightforward way to do this?


Dan Hatola

Change text (8:30 PM) to military time (20:30)
 
Take a look under the "time" formats. Format--Cells---Number tab---Time
The first one should do the trick. There are also options in the "custom"
formats as well.

Dan

"Netorius77" wrote:

I'm trying to change times that are reported in text format (ie 8:30 PM
instead of 8:30PM) into military time equivalents (20:30).

Is there a straightforward way to do this?


AFSSkier

Change text (8:30 PM) to military time (20:30)
 
Format, Cell, Number, Time - 13:30:55
or Custom Format it to HH:MM
--
I hope this helps, Kevin


"Netorius77" wrote:

I'm trying to change times that are reported in text format (ie 8:30 PM
instead of 8:30PM) into military time equivalents (20:30).

Is there a straightforward way to do this?


Netorius77

Change text (8:30 PM) to military time (20:30)
 
Thanks for the above. I had tried to reformat the cells, but now find that
there are actually three spaces after each entry. Removing these spaces
resolved the problem of being unable to format.
Thanks.


All times are GMT +1. The time now is 03:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com