A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Time formatting



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2005, 11:20 AM
dziw
external usenet poster
 
Posts: n/a
Default Time formatting


Hi
Just a quick question one of my calculations returns a length of time
in hours in a decimal format. I was wondering if there was a way to
format the cell so that for example if the figure 53.5 was returned
then the cell would display the value 53:30
(for 53 hours 30 minutes). the best that i can get so far is using "#
?/60" to return:
53 30/60
This isn't as neat as i would like. I have tried the date/time
formatting options but they only seem to return things like 12:00:00.
Any ideas?


--
dziw
------------------------------------------------------------------------
dziw's Profile: http://www.excelforum.com/member.php...o&userid=10422
View this thread: http://www.excelforum.com/showthread...hreadid=467798

  #2  
Old September 15th, 2005, 12:14 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

Don't think it can be done as the decimal part refers to parts of 60, not
parts of 10/100/1000 etc, so it needs a conversion, which isn't a natural
facet of formatting.

--
HTH

Bob Phillips

"dziw" wrote in message
...

Hi
Just a quick question one of my calculations returns a length of time
in hours in a decimal format. I was wondering if there was a way to
format the cell so that for example if the figure 53.5 was returned
then the cell would display the value 53:30
(for 53 hours 30 minutes). the best that i can get so far is using "#
?/60" to return:
53 30/60
This isn't as neat as i would like. I have tried the date/time
formatting options but they only seem to return things like 12:00:00.
Any ideas?


--
dziw
------------------------------------------------------------------------
dziw's Profile:

http://www.excelforum.com/member.php...o&userid=10422
View this thread: http://www.excelforum.com/showthread...hreadid=467798



  #3  
Old September 15th, 2005, 01:30 PM
nsv
external usenet poster
 
Posts: n/a
Default


I do not think there is any format, but you can create something like
it. If you assume the result of your calculations is in cell A1, then
In cell A2 write:
=INT(A1)&":"&ROUND((A1-INT(A1))*60;0)
In stead of "A1" you can write your calculation, but then it can get a
little complicated

NSV


--
nsv
------------------------------------------------------------------------
nsv's Profile: http://www.excelforum.com/member.php...o&userid=26500
View this thread: http://www.excelforum.com/showthread...hreadid=467798

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting with time values Access Idiot General Discussion 2 September 13th, 2005 03:29 PM
Please Help! Ref Article ID 210504 Telobamipada New Users 8 May 9th, 2005 01:09 PM
Outlook 2003 Terminal Server Time Zone issue Robert Strom Calendar 2 May 26th, 2004 10:50 PM
time zone & apt times auto changing Mary Calendar 6 May 25th, 2004 05:44 AM
Formatting cells to read time in 1/100ths John Wright Setting up and Configuration 1 March 9th, 2004 10:38 PM


All times are GMT +1. The time now is 06:03 AM.


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