Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Number Formating Cells (Time)

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Number Formating Cells (Time)

Add this formula to the adjacent cell and form at as hh:mm:ss

=TIME(INT(A1/10000),INT((A1-INT(A1/10000)*10000)/100),MOD(A1,100))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"onlyinsyder" wrote in message
...
I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each

commercial
spot is played, and at what time it is played. I need to be able to

insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell

as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Number Formating Cells (Time)

One more formula in an adjacent cell you could use:
=--TEXT(A1,"00\:00\:00")

If you're interested, you may want to look at how Chip Pearson approached it:
http://cpearson.com/excel/DateTimeEntry.htm


onlyinsyder wrote:

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Number Formating Cells (Time)

Thanks Dave.
I think I can get by with that.

Brent

"Dave Peterson" wrote:

One more formula in an adjacent cell you could use:
=--TEXT(A1,"00\:00\:00")

If you're interested, you may want to look at how Chip Pearson approached it:
http://cpearson.com/excel/DateTimeEntry.htm


onlyinsyder wrote:

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Number Formating Cells (Time)

Try this

Format cells as
0\:00\:00

"onlyinsyder" wrote:

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Number Formating Cells (Time)

That does make the cell look like a time, but it doesn't make the value a real
time.



mama no teeth wrote:

Try this

Format cells as
0\:00\:00

"onlyinsyder" wrote:

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Number Formating Cells (Time)


actually, all I need it to do is look like a time, not actually become a
real time. this works perfectly. thanks.
"Dave Peterson" wrote:

That does make the cell look like a time, but it doesn't make the value a real
time.



mama no teeth wrote:

Try this

Format cells as
0\:00\:00

"onlyinsyder" wrote:

I am having a little problem here. I am employed for a small television
station, and have created a worksheet to track how many times each commercial
spot is played, and at what time it is played. I need to be able to insert
the times quickly without typing in the colon, and have Excel insert the
colon for me (i.e. 12657 = 1:26:57). I figured that I could format my cell as
follows: "h:mm:ss"
This did not do the trick. When I insert a time without the colon, it
fromats it with a strange date. Anyone know of a custom format that will
work for this problem?


--

Dave Peterson

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
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
Divide a number into multiple cells rhon101 Excel Discussion (Misc queries) 2 May 21st 06 06:43 AM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Counting the total number of cells with specified condition(freque Kelvin Excel Discussion (Misc queries) 2 July 10th 05 12:22 PM
Counting the number of cells meeting conditional formating criteria Jeff Excel Worksheet Functions 4 July 9th 05 01:18 AM


All times are GMT +1. The time now is 12:48 PM.

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

About Us

"It's about Microsoft Excel"