#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conversion Ratio

I used the ffollowing to get the conversion ratio format I wanted
CONCATENATE(1,":",A1/B1)

Now I am trying to figure out if there is a way to show the results in
a whole number ie 1:32 instead of 1:32.6666666.

Is there a way to do that?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conversion Ratio

Try this:

=CONCATENATE(1,":",ROUND(A1/B1,0))

or slightly shorter:

="1:"&ROUND(A1/B1,0)

Hope this helps.

Pete

wrote:
I used the ffollowing to get the conversion ratio format I wanted
CONCATENATE(1,":",A1/B1)

Now I am trying to figure out if there is a way to show the results in
a whole number ie 1:32 instead of 1:32.6666666.

Is there a way to do that?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Conversion Ratio

=CONCATENATE(1,":",ROUNDDOWN(A1/B1,0))
--
Gary's Student


" wrote:

I used the ffollowing to get the conversion ratio format I wanted
CONCATENATE(1,":",A1/B1)

Now I am trying to figure out if there is a way to show the results in
a whole number ie 1:32 instead of 1:32.6666666.

Is there a way to do that?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conversion Ratio

My reply hasn't appeared yet (10 mins ago), but here's a shorter
alternative:

="1:"&INT(A1/B1)

You could use ROUNDDOWN instead of INT and instead of ROUND suggested
in my earlier reply.

Hope this helps.

Pete

wrote:
I used the ffollowing to get the conversion ratio format I wanted
CONCATENATE(1,":",A1/B1)

Now I am trying to figure out if there is a way to show the results in
a whole number ie 1:32 instead of 1:32.6666666.

Is there a way to do that?




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default Conversion Ratio

Hi,

If the OP only intends to show this then your fractional format seems
to be easiest solution.

Another approach if he wants to use nominator and denominator later on:
Insert my UDF NRN() from
http://www.sulprobil.com/html/neares...al_number.html
Select cells A1 and B1 together. Enter =NRN(PI(),999) as array formula
(with CTRL + SHIFT + ENTER).

Regards,
Bernd

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
ascii conversion [email protected] Excel Discussion (Misc queries) 4 September 17th 06 09:38 PM
Calculation of Ratio aposatsk Excel Discussion (Misc queries) 0 August 21st 06 08:37 PM
Divide x/y should give Ratio x:y,How to express ratio in excel arvind3738 Excel Worksheet Functions 2 July 9th 06 09:40 AM
How do I calculate and display ratio ( format 3.5:2) BKW Excel Worksheet Functions 4 September 28th 05 07:38 PM
Curency Conversion Dilemma Michael Excel Worksheet Functions 5 May 27th 05 02:28 PM


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