Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to convert military time data into an Excel recognized time
format so that I can perfrom time calculations (add/subtract hours). My main problem is that the data is not all stored in a 4 digit format. Some is stored as "300" instead of "0300". I have tried formatting the cells to hhmm, but I end up with a cell containing "0000" regardless of the data that was there prior. I also tried the following: =text(cell, "0000") That displays the data correctly, but I can not perform any time calculations on it. Does anyone know how I can convert my existing data into a standard military time format? Any help would be greatly appreciated. Does anyone know how I can get my data in |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=--(TEXT(A1,"00\:00"))
format the cell as time: hh:mm:ss ???? geog wrote: I am trying to convert military time data into an Excel recognized time format so that I can perfrom time calculations (add/subtract hours). My main problem is that the data is not all stored in a 4 digit format. Some is stored as "300" instead of "0300". I have tried formatting the cells to hhmm, but I end up with a cell containing "0000" regardless of the data that was there prior. I also tried the following: =text(cell, "0000") That displays the data correctly, but I can not perform any time calculations on it. Does anyone know how I can convert my existing data into a standard military time format? Any help would be greatly appreciated. Does anyone know how I can get my data in -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
thanks - that worked for formatting the time. I really appreciate the help.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
From several workbooks onto one excel worksheet | Excel Discussion (Misc queries) | |||
How do I convert word data (not in tables) into excel format? | Excel Worksheet Functions | |||
Data in table, may need to convert to columns with OFFSET? | Excel Discussion (Misc queries) | |||
Imported Date & Time format with calcs. managed in excel from imrp | Excel Worksheet Functions | |||
Convert decimal hour into time format? | Excel Discussion (Misc queries) |