Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default fill in hour in excel sheet

Hi

Please help i need to covert these values:
:04:34 to be 00:04:34 in a excel sheet

these are time values & i dont know how.


another example
1:57:41-is correct
:08:35 needs to add 00 to be 00:08:35

thnks
vee
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default fill in hour in excel sheet

vee,

For values starting in cell A1, in another cell, use the formula

=IF(LEFT(A1,1)=":",TIMEVALUE("0"&A1),TIMEVALUE(A1) )

and copy down. Format for time "hh:mm:ss" - the 13:30:35 example, then copy
and paste values over the formulas, and delete your original values.

HTH,
Bernie
MS Excel MVP

"vee" wrote in message
om...
Hi

Please help i need to covert these values:
:04:34 to be 00:04:34 in a excel sheet

these are time values & i dont know how.


another example
1:57:41-is correct
:08:35 needs to add 00 to be 00:08:35

thnks
vee



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default fill in hour in excel sheet

vee,

------------------------
A B
1 :04:34
2
3
..
..
------------------------

1) Select B1
2) Type 00:00:01 and press ENTER into B1,
and press DELETE to erase data in B1 (for Auto NumberFormat)
3) Enter a formula in B1:

=TIMEVALUE("00"&A1)

--
Regards,
Soo Cheon Jheong
Seoul, Korea
_ _
^ąŻ^
--


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
How do i get an form to fill up my excel sheet? raj Excel Discussion (Misc queries) 1 May 16th 09 04:12 PM
24 hour time sheet time formula Excel Worksheet Functions 2 October 26th 07 02:37 PM
auto fill from another sheet in excel bluegrass Excel Worksheet Functions 2 April 9th 06 07:45 PM
convert decimal numbers to a fraction of an hour for payroll hour Flower Excel Worksheet Functions 4 February 10th 06 07:46 PM
MIcrosoft Excel: should allow sheet increase by 1 on fill down albertmb Excel Discussion (Misc queries) 7 January 17th 06 02:48 PM


All times are GMT +1. The time now is 02:15 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"