Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Second rounding in TIME() function

Hi, I'm wondering if it is possible to convert an integer number, say 5.14,
into a time formatted second, 0:0:05.14. So far I've been trying the TIME()
function [TIME(0,0,5.14)] but the output is 0:0:05 instead of 0:0:05.14. It
rounds the seconds. Does anyone know a solution or workaround for this?
Thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Second rounding in TIME() function

=A1/24/3600 (and format as [h]:m:ss.00 if that's the format you want).
--
David Biddulph

"JeLe" wrote in message
...
Hi, I'm wondering if it is possible to convert an integer number, say
5.14,
into a time formatted second, 0:0:05.14. So far I've been trying the
TIME()
function [TIME(0,0,5.14)] but the output is 0:0:05 instead of 0:0:05.14.
It
rounds the seconds. Does anyone know a solution or workaround for this?
Thanks for any help!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Second rounding in TIME() function


I think that cell format would be - [h]:mm:ss,00
Use calculation that David suggested: =A1/86400 (or =A1/24/3600).
A1 is your deffined time.

--
A.B.


"David Biddulph" rakstîja:

=A1/24/3600 (and format as [h]:m:ss.00 if that's the format you want).
--
David Biddulph

"JeLe" wrote in message
...
Hi, I'm wondering if it is possible to convert an integer number, say
5.14,
into a time formatted second, 0:0:05.14. So far I've been trying the
TIME()
function [TIME(0,0,5.14)] but the output is 0:0:05 instead of 0:0:05.14.
It
rounds the seconds. Does anyone know a solution or workaround for this?
Thanks for any help!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Second rounding in TIME() function

It would be [h]:mm:ss,00 instead of [h]:mm:ss.00 if the OP had a comma as
his decimal separator, but he showed the example as 0:0:05.14, not as
0:0:05,14
It would be [h]:mm:ss.00 instead of [h]:m:ss.00 if the OP always wanted two
digits for the number of minutes, but he showed the example as 0:0:05.14,
not as 0:00:05.14 (which is why I said "... if that's the format you want").
--
David Biddulph

"Aivis" wrote in message
...

I think that cell format would be - [h]:mm:ss,00
Use calculation that David suggested: =A1/86400 (or =A1/24/3600).
A1 is your deffined time.


"David Biddulph" rakstîja:

=A1/24/3600 (and format as [h]:m:ss.00 if that's the format you want).


"JeLe" wrote in message
...
Hi, I'm wondering if it is possible to convert an integer number, say
5.14,
into a time formatted second, 0:0:05.14. So far I've been trying the
TIME()
function [TIME(0,0,5.14)] but the output is 0:0:05 instead of
0:0:05.14.
It
rounds the seconds. Does anyone know a solution or workaround for this?
Thanks for any help!






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Second rounding in TIME() function

I'm agree!

--
A.B.


"David Biddulph" rakstîja:

It would be [h]:mm:ss,00 instead of [h]:mm:ss.00 if the OP had a comma as
his decimal separator, but he showed the example as 0:0:05.14, not as
0:0:05,14
It would be [h]:mm:ss.00 instead of [h]:m:ss.00 if the OP always wanted two
digits for the number of minutes, but he showed the example as 0:0:05.14,
not as 0:00:05.14 (which is why I said "... if that's the format you want").
--
David Biddulph

"Aivis" wrote in message
...

I think that cell format would be - [h]:mm:ss,00
Use calculation that David suggested: =A1/86400 (or =A1/24/3600).
A1 is your deffined time.


"David Biddulph" rakstîja:

=A1/24/3600 (and format as [h]:m:ss.00 if that's the format you want).


"JeLe" wrote in message
...
Hi, I'm wondering if it is possible to convert an integer number, say
5.14,
into a time formatted second, 0:0:05.14. So far I've been trying the
TIME()
function [TIME(0,0,5.14)] but the output is 0:0:05 instead of
0:0:05.14.
It
rounds the seconds. Does anyone know a solution or workaround for this?
Thanks for any help!






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
rounding time MEH Excel Worksheet Functions 3 February 26th 07 07:04 PM
Time and rounding LINDA New Users to Excel 3 November 23rd 06 09:46 AM
Rounding Time? stoch05 Excel Worksheet Functions 2 October 18th 06 07:52 PM
Rounding Time Darts Excel Discussion (Misc queries) 11 March 23rd 06 10:55 PM
Rounding Time? ChrisW Charts and Charting in Excel 2 October 12th 05 12:55 PM


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