Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gramsey
 
Posts: n/a
Default Data manipulation help required !


I am wanting to carry out a calculation on only one part of a particular
result in a calculation made in a spreadsheet

ie if i have the result of "2.57945" how do i get excel to then only
select the digits after the decimal point for further calculations ie
".57945" bearing in mind the whole number will not always be a fixed
value.


--
gramsey
------------------------------------------------------------------------
gramsey's Profile: http://www.excelforum.com/member.php...o&userid=16143
View this thread: http://www.excelforum.com/showthread...hreadid=275773

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Use MOD

=MOD(A2,1)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"gramsey" wrote in message
...

I am wanting to carry out a calculation on only one part of a particular
result in a calculation made in a spreadsheet

ie if i have the result of "2.57945" how do i get excel to then only
select the digits after the decimal point for further calculations ie
".57945" bearing in mind the whole number will not always be a fixed
value.


--
gramsey
------------------------------------------------------------------------
gramsey's Profile:

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



  #3   Report Post  
Tom Hayakawa
 
Posts: n/a
Default

Here's one way:

Assume the number 2.45678 is in cell A1.
In cell B1 you would put: =A1-INT(A1)

Good luck,

Tom Hayakawa

"gramsey" wrote:


I am wanting to carry out a calculation on only one part of a particular
result in a calculation made in a spreadsheet

ie if i have the result of "2.57945" how do i get excel to then only
select the digits after the decimal point for further calculations ie
".57945" bearing in mind the whole number will not always be a fixed
value.


--
gramsey
------------------------------------------------------------------------
gramsey's Profile: http://www.excelforum.com/member.php...o&userid=16143
View this thread: http://www.excelforum.com/showthread...hreadid=275773


  #4   Report Post  
Gate Keeper
 
Posts: n/a
Default

gramsey wrote in news:gramsey.1f9ne0
@excelforum-nospam.com:


I am wanting to carry out a calculation on only one part of a particular
result in a calculation made in a spreadsheet

ie if i have the result of "2.57945" how do i get excel to then only
select the digits after the decimal point for further calculations ie
".57945" bearing in mind the whole number will not always be a fixed
value.



Assuming your value is in cell A1:

First, subtract the whole number portion by using the formula =a1-int(a1).
Then perform your calculation on the result (the fractional portion).

If a1=2.57945
int(a1)=2
a1-int(a1)=.57945
  #5   Report Post  
Ken Macksey
 
Posts: n/a
Default

Hi

assuming the data is in cell c3, you could do something like

=MOD(C3,1)

And then do what you want with it like multiply it by 1000 etc

=(MOD(c3,1)) * 1000

HTH

Ken


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
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM


All times are GMT +1. The time now is 02:22 AM.

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"