Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am a meeting planner and regularly get arrival information from my clients
in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Kerry,
in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you so much.
"Marcelo" wrote: Hi Kerry, in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
u r welcome
thanks for the feedback, glad to help -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O''''Brien" escreveu: Thank you so much. "Marcelo" wrote: Hi Kerry, in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You have the solution in a diffrent reply.
but an explanation of why you get 12:00 am Time and Date formats both treat the underlying general value as a day value ie now is 38993.8694444444 The 1135 gets treated as a date ie 2nd August 1903 (uk dates) and the time element is 0, ie 12:00 AM Steve On Tue, 03 Oct 2006 19:10:02 +0100, Kerry O'Brien <Kerry wrote: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Good afternoon, Marcelo. If I have a column with date & time, could this be
modified to insert the ":" between the hours, such as 1835 to 18:35? The data currently had date and time in it, not just the time. Thanks! -Bill "Marcelo" wrote: u r welcome thanks for the feedback, glad to help -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O''''Brien" escreveu: Thank you so much. "Marcelo" wrote: Hi Kerry, in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Marcelo if your still yout there can you tell me what I would need to add to
this format to include the seconds of time? "Marcelo" wrote: Hi Kerry, in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Where are the seconds? Are you now entering 6 digits? Also, the formula you
have will fail if you have fewer than 4 digits in the time (ie, anything before 10:00 am). For times entered in hhmm format, use: =time(int(a1/100),mod(a1,100),0) For times entered in hhmmss format, use: =time(int(a1/10000),int(mod(a1,10000)/100),mod(a1,100)) Both formulas will support either 0, 1 or 2 digits for the hour. Regards, Fred. "Arlene" wrote in message ... Marcelo if your still yout there can you tell me what I would need to add to this format to include the seconds of time? "Marcelo" wrote: Hi Kerry, in an auxilar column use =time(left(a2,2),right(a2,2),0) and format hth -- regards from Brazil Thanks in advance for your feedback. Marcelo "Kerry O'Brien" escreveu: I am a meeting planner and regularly get arrival information from my clients in miliatry format - sometimes even without a colon. I am trying to make a 4 digit number already on a spreadsheet into a time format. Does anyone know how? Example: 1135 (should be 11:35 am) When you click the cell and change format to time - it formats it, but loses the 1135 time and makes it 12:00 AM. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Exporting time from cell in 24 hr format | Excel Worksheet Functions | |||
Format number to Time in Excel? | Excel Worksheet Functions | |||
Time Format... | Excel Discussion (Misc queries) | |||
Time Format | Excel Discussion (Misc queries) | |||
Converting from time format to decimal and figuring the difference | Excel Discussion (Misc queries) |