PC Review


Reply
Thread Tools Rate Thread

Change time format from :0 to 0:0

 
 
=?Utf-8?B?RG9uYWxkIEI=?=
Guest
Posts: n/a
 
      5th Jul 2007
I have tons of times in this format:
:42:01
:02:58
:04:45
:25:13

and need to change to:

0:42:01
0:02:58
0:04:45
0:25:13

Pls help...
tia
Donald

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VGVldGhsZXNzIG1hbWE=?=
Guest
Posts: n/a
 
      5th Jul 2007
=TIME(0,MID(A1,2,2),RIGHT(A1,2))

fomat cells as h:mm:ss
copy down

"Donald B" wrote:

> I have tons of times in this format:
> :42:01
> :02:58
> :04:45
> :25:13
>
> and need to change to:
>
> 0:42:01
> 0:02:58
> 0:04:45
> 0:25:13
>
> Pls help...
> tia
> Donald
>

 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      5th Jul 2007
> :42:01
> :02:58
> :04:45
> :25:13


are all Text not times try using this formula in a newly inserted column:

=("0:"&(SUBSTITUTE(J1,":","",1)))+0

then copy and paste the column back as Paste Special > values and reformat
the column as time then delete the original column.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"Donald B" <(E-Mail Removed)> wrote in message
news:4C3905A6-2EE7-469A-A702-(E-Mail Removed)...
>I have tons of times in this format:
> :42:01
> :02:58
> :04:45
> :25:13
>
> and need to change to:
>
> 0:42:01
> 0:02:58
> 0:04:45
> 0:25:13
>
> Pls help...
> tia
> Donald
>
>



 
Reply With Quote
 
=?Utf-8?B?RG9uYWxkIEI=?=
Guest
Posts: n/a
 
      6th Jul 2007
Thank you both... both formulas work great!



"Sandy Mann" wrote:

> > :42:01
> > :02:58
> > :04:45
> > :25:13

>
> are all Text not times try using this formula in a newly inserted column:
>
> =("0:"&(SUBSTITUTE(J1,":","",1)))+0
>
> then copy and paste the column back as Paste Special > values and reformat
> the column as time then delete the original column.
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> (E-Mail Removed)
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "Donald B" <(E-Mail Removed)> wrote in message
> news:4C3905A6-2EE7-469A-A702-(E-Mail Removed)...
> >I have tons of times in this format:
> > :42:01
> > :02:58
> > :04:45
> > :25:13
> >
> > and need to change to:
> >
> > 0:42:01
> > 0:02:58
> > 0:04:45
> > 0:25:13
> >
> > Pls help...
> > tia
> > Donald
> >
> >

>
>
>

 
Reply With Quote
 
Harlan Grove
Guest
Posts: n/a
 
      6th Jul 2007
"Donald B" <(E-Mail Removed)> wrote...
>I have tons of times in this format:
>:42:01
>:02:58
>:04:45
>:25:13
>
>and need to change to:
>
>0:42:01
>0:02:58
>0:04:45
>0:25:13


Are these numbers formatted as ":mm:ss"? If so, change the number format to
"[h]:mm:ss". If they're text, and you want to leave them text, use

="0"&x

where x is the address of a cell containing one of these times. If they're
text and you want to convert them to values, use the formula

=--("0"&x)

and format appropriately.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change format of time =?Utf-8?B?cG9rZGJ6?= Microsoft Access 3 7th Sep 2007 05:27 PM
How to change to time format? SF Microsoft Excel Programming 2 4th Sep 2006 11:51 AM
Time Format Change Tom Microsoft Windows 2000 2 4th Mar 2004 10:25 AM
How to change the time format from 12h to 24h =?Utf-8?B?SkFDS1k=?= Windows XP General 2 4th Mar 2004 03:34 AM
Time: Change format Sat Microsoft Excel Worksheet Functions 1 4th Feb 2004 12:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.