Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AmyTaylor
 
Posts: n/a
Default fractions and decimals!


Hi everyone, hope someone can help with this formulae:

I have numbers in a cell, assume it is A1:

Example: cell in A1 contains: 2.34
I want to show the fraction element of the cell, in this example it
would be 0.3,

if the number was 0.56 then the element would be 0.6 (not 0.5) as I
would want to round to the nearest significant fraction.

Finally, I want to say that if the fraction is at least 15% of the
original figure then round it up

Hope this makes sense !
thanks
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=530023

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default fractions and decimals!

This will display just the first decimal place, rounded:
=ROUND(MOD(A1,1),1)
This seems to satisfy your 15% rule but needs more testing:
=ROUND(MOD(A1,1)+0.05*(MOD(A1,1)=A1*15%),1)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"AmyTaylor" wrote
in message ...

Hi everyone, hope someone can help with this formulae:

I have numbers in a cell, assume it is A1:

Example: cell in A1 contains: 2.34
I want to show the fraction element of the cell, in this example it
would be 0.3,

if the number was 0.56 then the element would be 0.6 (not 0.5) as I
would want to round to the nearest significant fraction.

Finally, I want to say that if the fraction is at least 15% of the
original figure then round it up

Hope this makes sense !
thanks
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile:
http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=530023



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AmyTaylor
 
Posts: n/a
Default fractions and decimals!


Thank you very much, can you tell me how, using a formula, if I had the
figure 56.7 I could show the 56 portion only.
Then if the .7 was 15% of the 56 then it would round the 56.7 to 57,
otherwise it would stay at 56.

Thanks again.
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=530023

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AmyTaylor
 
Posts: n/a
Default fractions and decimals!


Thank you very much, can you tell me how, using a formula, if I had the
figure 56.7 I could show the 56 portion only.
Then if the .7 was 15% of the 56 then it would round the 56.7 to 57,
otherwise it would stay at 56.

Thanks again.
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=530023

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default fractions and decimals!

Again you should test:
To get just the integer part us =INT(A10)
(hope there are no neg numbers - if so replace INT by TRUNC)
To apply your rule
=INT(A10)+(MOD(A10,1)=INT(A10)*15%)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"AmyTaylor" wrote
in message ...

Thank you very much, can you tell me how, using a formula, if I had the
figure 56.7 I could show the 56 portion only.
Then if the .7 was 15% of the 56 then it would round the 56.7 to 57,
otherwise it would stay at 56.

Thanks again.
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile:
http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=530023



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
converting decimals to fractions jason2444 Excel Discussion (Misc queries) 1 January 20th 06 11:07 PM
converting decimals to fractions jason2444 Excel Discussion (Misc queries) 5 January 20th 06 03:38 AM
converting decimals to fractions jason2444 Excel Discussion (Misc queries) 1 January 20th 06 01:58 AM
How do I sort a column consisting of fractions, decimals, and who. Split Window Diner Excel Discussion (Misc queries) 4 May 16th 05 05:51 PM
Fractions to Decimals problem nickravo Excel Discussion (Misc queries) 1 March 7th 05 10:34 AM


All times are GMT +1. The time now is 08:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"