Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to change a column of 6 digit numbers into military time separated
by colons. Example 180333 to 18:03:33 (hours, minutes, seconds). I've used =(A1/100)+(((A1/100)-(A1/100))/0.6) and reformat for time and also =VALUE(LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2)) Neither of them transfer the 6 digit number into the correct time. Any help? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
formatted as Time will do the trick "gobonniego" wrote: I'm trying to change a column of 6 digit numbers into military time separated by colons. Example 180333 to 18:03:33 (hours, minutes, seconds). I've used =(A1/100)+(((A1/100)-(A1/100))/0.6) and reformat for time and also =VALUE(LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2)) Neither of them transfer the 6 digit number into the correct time. Any help? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
BINGO! You're the winner. Thank you soooo much for this. It worked great!
Bonnie "Duke Carey" wrote: =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2)) formatted as Time will do the trick "gobonniego" wrote: I'm trying to change a column of 6 digit numbers into military time separated by colons. Example 180333 to 18:03:33 (hours, minutes, seconds). I've used =(A1/100)+(((A1/100)-(A1/100))/0.6) and reformat for time and also =VALUE(LEFT(A1,LEN(A1)-2)&":"&RIGHT(A1,2)) Neither of them transfer the 6 digit number into the correct time. Any help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I keep text viewing correctly as I change zoom % | Excel Discussion (Misc queries) | |||
Change number format from text to number? | New Users to Excel | |||
convert time imported as text to time format for calculations | Excel Worksheet Functions | |||
Time Stamp without change | Excel Discussion (Misc queries) | |||
Time Stamp-With Change | Excel Discussion (Misc queries) |