PC Review


Reply
Thread Tools Rate Thread

cell format changes value of number

 
 
elkins
Guest
Posts: n/a
 
      30th Sep 2005

I have imported data that has a column of time (mm:ss.0) and I want to
use it in a formula multiplying it with general format data but it
changes the value, i.e. it takes 00:25.1 and when I copy and paste that
value into a general format cell it shows 0.000291. When I try to use
the time in a formula, I cannot get it to use the 25 seconds like I
would like. Can someone tell me how to fix this?

Thanks.


--
elkins
------------------------------------------------------------------------
elkins's Profile: http://www.excelforum.com/member.php...o&userid=27707
View this thread: http://www.excelforum.com/showthread...hreadid=472244

 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      1st Oct 2005
Elkins,

0.000291 is the underlying date/time value for 25.1 seconds (00:00:25.1).
It's actually 0.000290509. When you paste that cell, it should be pasting
the time formatting also, but apparently isn't. Are you using a
Paste-Special option? Time formatting would cause that value to appear as
0:25.1, or equivalent, depending on the formatting code used (Format -
Cells - Number - Custom).
--
Earl Kiosterud
www.smokeylake.com

"elkins" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> I have imported data that has a column of time (mm:ss.0) and I want to
> use it in a formula multiplying it with general format data but it
> changes the value, i.e. it takes 00:25.1 and when I copy and paste that
> value into a general format cell it shows 0.000291. When I try to use
> the time in a formula, I cannot get it to use the 25 seconds like I
> would like. Can someone tell me how to fix this?
>
> Thanks.
>
>
> --
> elkins
> ------------------------------------------------------------------------
> elkins's Profile:
> http://www.excelforum.com/member.php...o&userid=27707
> View this thread: http://www.excelforum.com/showthread...hreadid=472244
>



 
Reply With Quote
 
John F. Collins
Guest
Posts: n/a
 
      1st Oct 2005
The time is stored in the cell as a number of days. So 25.1 seconds is
0.000291 days. Multiply by 86,400 and you will convert the number of days
into the number of seconds.
John

"elkins" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> I have imported data that has a column of time (mm:ss.0) and I want to
> use it in a formula multiplying it with general format data but it
> changes the value, i.e. it takes 00:25.1 and when I copy and paste that
> value into a general format cell it shows 0.000291. When I try to use
> the time in a formula, I cannot get it to use the 25 seconds like I
> would like. Can someone tell me how to fix this?
>
> Thanks.
>
>
> --
> elkins
> ------------------------------------------------------------------------
> elkins's Profile:

http://www.excelforum.com/member.php...o&userid=27707
> View this thread: http://www.excelforum.com/showthread...hreadid=472244
>



 
Reply With Quote
 
=?Utf-8?B?VG9ueVI=?=
Guest
Posts: n/a
 
      3rd Oct 2005
If you wish to extract the seconds from a date/time value, use =SECONDS(A2)
where the fraction is in A2. So with A2=0.000291 the above would return 25.
--
TonyR


"elkins" wrote:

>
> I have imported data that has a column of time (mm:ss.0) and I want to
> use it in a formula multiplying it with general format data but it
> changes the value, i.e. it takes 00:25.1 and when I copy and paste that
> value into a general format cell it shows 0.000291. When I try to use
> the time in a formula, I cannot get it to use the 25 seconds like I
> would like. Can someone tell me how to fix this?
>
> Thanks.
>
>
> --
> elkins
> ------------------------------------------------------------------------
> elkins's Profile: http://www.excelforum.com/member.php...o&userid=27707
> View this thread: http://www.excelforum.com/showthread...hreadid=472244
>
>

 
Reply With Quote
 
elkins
Guest
Posts: n/a
 
      4th Oct 2005

Thanks for the help.


--
elkins
------------------------------------------------------------------------
elkins's Profile: http://www.excelforum.com/member.php...o&userid=27707
View this thread: http://www.excelforum.com/showthread...hreadid=472244

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
format cell custom Number format Dan Microsoft Excel Worksheet Functions 2 26th Jan 2010 05:29 PM
Cell Number Format includeing other Cell Value daniel_of_vienna Microsoft Excel Discussion 8 7th Apr 2008 12:55 AM
format cell to know number of another cell automatically =?Utf-8?B?RGVl?= Microsoft Excel Worksheet Functions 2 9th May 2006 05:42 PM
Format a cell with a custom number format =?Utf-8?B?QXJtb3I=?= Microsoft Excel Worksheet Functions 4 29th Jan 2006 11:25 PM
Number format based on number format of another cell in another workbook Rob Microsoft Excel Programming 9 9th Jan 2005 04:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:10 PM.