Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default adding a zero in front of a colon

Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes and
seconds. If the data is for one minute 27 seconds, it imports as 1:27. If it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04? I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 236
Default adding a zero in front of a colon

Format the cell with ...
m:ss
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"303mike" wrote:

Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes and
seconds. If the data is for one minute 27 seconds, it imports as 1:27. If it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04? I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default adding a zero in front of a colon

Unfortunately, I did already try that. No go.
Thanks for the quick response!

"Gary Brown" wrote:

Format the cell with ...
m:ss
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"303mike" wrote:

Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes and
seconds. If the data is for one minute 27 seconds, it imports as 1:27. If it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04? I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default adding a zero in front of a colon

Hi

Excel is seeing :04 as a text, so we have to convert it into a proper time
value. To do that we use a helper column. Also excel see 1:27 as 1 hour 27
minutes. The formula below will take care of both issues:


=IF(LEFT(A1;1)=":";TIMEVALUE(0 & A1 )/60;A1/60)

Hopes this helps.
....
Per

"303mike" skrev i meddelelsen
...
Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes and
seconds. If the data is for one minute 27 seconds, it imports as 1:27. If
it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04?
I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default adding a zero in front of a colon

Oops. I just tried entering the formula and received an error. I will try to
play with the formula to get it to work. Any additional suggestions would be
most appreciated.

"Per Jessen" wrote:

Hi

Excel is seeing :04 as a text, so we have to convert it into a proper time
value. To do that we use a helper column. Also excel see 1:27 as 1 hour 27
minutes. The formula below will take care of both issues:


=IF(LEFT(A1;1)=":";TIMEVALUE(0 & A1 )/60;A1/60)

Hopes this helps.
....
Per

"303mike" skrev i meddelelsen
...
Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes and
seconds. If the data is for one minute 27 seconds, it imports as 1:27. If
it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04?
I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default adding a zero in front of a colon

My fault, I forgot to substitute semicolon with comma in the formula, which
you use in most of the world...

//Per

"303mike" skrev i meddelelsen
...
Oops. I just tried entering the formula and received an error. I will try
to
play with the formula to get it to work. Any additional suggestions would
be
most appreciated.

"Per Jessen" wrote:

Hi

Excel is seeing :04 as a text, so we have to convert it into a proper
time
value. To do that we use a helper column. Also excel see 1:27 as 1 hour
27
minutes. The formula below will take care of both issues:


=IF(LEFT(A1;1)=":";TIMEVALUE(0 & A1 )/60;A1/60)

Hopes this helps.
....
Per

"303mike" skrev i meddelelsen
...
Hello,
I am importing data into a worksheet (Excel 2002 SP3) that is minutes
and
seconds. If the data is for one minute 27 seconds, it imports as 1:27.
If
it
is four seconds, it shows :04.
Is there a way to get all the times under a minute to display as 0:04?
I've
tried all the existing formats from the tool bar and none of them work.
Thanks!
Mike




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a colon to military time Suzanne Excel Worksheet Functions 7 February 7th 13 10:51 AM
Combine multiple cells (3) adding a Colon (:) israel Excel Discussion (Misc queries) 4 June 9th 09 05:51 PM
Adding a zero to the front of numbers Connie Martin Excel Worksheet Functions 5 May 8th 09 04:37 PM
how to change colon to semi-colon in CP/List Seprator Khoshravan Excel Discussion (Misc queries) 3 February 4th 09 07:41 PM
Adding + in front of a number Ted Metro Excel Discussion (Misc queries) 3 December 29th 04 10:45 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"