#1   Report Post  
Posted to microsoft.public.excel.misc
rj
 
Posts: n/a
Default Time Formats

Hi,

I need to know how to change a value into a time format.
eg. i want to change "2.5" into "02:30:00" (hh:mm:ss)
is there a funtion in excel?
Or if i have the values like "150:00", how can i convert it to
"02:30:00"?

Thanx in advance..

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Time Formats

If I understand your question correctly the following formula should
work if the hours and fraction of hours are in cell A1:

=INT(A1/24)+TIME(INT(A1),MOD(A1,INT(A1))*60,0)

Set the format of the cell that contains this formula to [h]:mm:ss

  #3   Report Post  
Posted to microsoft.public.excel.misc
Stefi
 
Posts: n/a
Default Time Formats

=2.5/24 and format the result cell like time!


"150:00" looks like a real XL time format [m]:ss
Re-format it like h:mm:ss

Regards,
Stefi



€˛rj€¯ ezt Ć*rta:

Hi,

I need to know how to change a value into a time format.
eg. i want to change "2.5" into "02:30:00" (hh:mm:ss)
is there a funtion in excel?
Or if i have the values like "150:00", how can i convert it to
"02:30:00"?

Thanx in advance..


  #4   Report Post  
Posted to microsoft.public.excel.misc
rj
 
Posts: n/a
Default Time Formats

thanx :)

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
Time sheets Driver Excel Worksheet Functions 5 November 7th 05 11:19 AM
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
How to calculate Date & Time differences robs Excel Worksheet Functions 2 October 4th 05 04:22 PM
Time and motion chart deant Charts and Charting in Excel 0 September 21st 05 08:22 AM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM


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