Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm eporting from a source some of the times come out just fine if is longer then one hour if less then one hour.
Example 1:26:54 AM is fine and I can format to 1:26:54 but if its :08:54 it exports with a leading ":" so I would need to get a formula to add "00" before the ":" then convert it to time format |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Am Wed, 25 Feb 2015 16:54:12 +0100 schrieb Claus Busch: =IF(LEFT(A1,1)=":",TIME(0,MID(A1,2,2),MID(A1,5,2)) ,TIMEVALUE(A1)) or: =IF(LEFT(A1,1)=":",TIMEVALUE(0&A1),TIMEVALUE(A1)) Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Not good with VBA But the your last formula worked like a charm thank you as always Claus
On Wednesday, February 25, 2015 at 9:23:37 AM UTC-6, wrote: I'm eporting from a source some of the times come out just fine if is longer then one hour if less then one hour. Example 1:26:54 AM is fine and I can format to 1:26:54 but if its :08:54 it exports with a leading ":" so I would need to get a formula to add "00" before the ":" then convert it to time format |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting text format of time/date into Excel time/date for subtr | Excel Worksheet Functions | |||
Time format for text box | Excel Discussion (Misc queries) | |||
Format Time as Text | Excel Worksheet Functions | |||
change text format to time | Excel Worksheet Functions | |||
convert time imported as text to time format for calculations | Excel Worksheet Functions |