#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Format a ratio

I am using the following formula to calculate a ratio but the problem that I
am running into is that the final answer turns out to be 1:20.665478 and I
need to format it to be 1:21.

=(C5/GCD(C5)&":"&C5/GCD(C3))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Format a ratio

=(C5/GCD(C5)&":"&ROUND(C5/GCD(C3),0))
--
Gary''s Student - gsnu200778
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Format a ratio

I'm not sure what the GCD()'s are doing in your formula, but maybe...

="1:"&TEXT(C5/C3,"##")

If it doesn't help, how about sharing what's in C5 and C3?



USD305 wrote:

I am using the following formula to calculate a ratio but the problem that I
am running into is that the final answer turns out to be 1:20.665478 and I
need to format it to be 1:21.

=(C5/GCD(C5)&":"&C5/GCD(C3))


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Format a ratio

what I am trying to do is get a ratio using the following example: I have 3
departments with a total of 74 employees. so the final ratio I am lookin for
is 1:25 not 1:24.67. So C5 is employees and C3 is departments/managers

"Dave Peterson" wrote:

I'm not sure what the GCD()'s are doing in your formula, but maybe...

="1:"&TEXT(C5/C3,"##")

If it doesn't help, how about sharing what's in C5 and C3?



USD305 wrote:

I am using the following formula to calculate a ratio but the problem that I
am running into is that the final answer turns out to be 1:20.665478 and I
need to format it to be 1:21.

=(C5/GCD(C5)&":"&C5/GCD(C3))


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Format a ratio

So did the suggested formula work?

USD305 wrote:

what I am trying to do is get a ratio using the following example: I have 3
departments with a total of 74 employees. so the final ratio I am lookin for
is 1:25 not 1:24.67. So C5 is employees and C3 is departments/managers

"Dave Peterson" wrote:

I'm not sure what the GCD()'s are doing in your formula, but maybe...

="1:"&TEXT(C5/C3,"##")

If it doesn't help, how about sharing what's in C5 and C3?



USD305 wrote:

I am using the following formula to calculate a ratio but the problem that I
am running into is that the final answer turns out to be 1:20.665478 and I
need to format it to be 1:21.

=(C5/GCD(C5)&":"&C5/GCD(C3))


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Format a ratio

Thank you for getting me up and going!

"USD305" wrote:

I am using the following formula to calculate a ratio but the problem that I
am running into is that the final answer turns out to be 1:20.665478 and I
need to format it to be 1:21.

=(C5/GCD(C5)&":"&C5/GCD(C3))

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
how do I format an Excel sheet to create a ratio as in 1:25 ?? Fizz Richardson Excel Discussion (Misc queries) 6 April 29th 23 11:41 AM
Ratio Junction29 Excel Discussion (Misc queries) 2 February 1st 08 11:49 AM
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
RATIO number format Jane Excel Worksheet Functions 6 December 6th 05 02:58 PM
How do I calculate and display ratio ( format 3.5:2) BKW Excel Worksheet Functions 4 September 28th 05 07:38 PM


All times are GMT +1. The time now is 09:03 AM.

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"