Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Calculating and multiplying ratios

I want to calculate the ratio of two values and present it in the form
x : y

I then want to multiply that ratio by 1 : 2 and present the answer in
the form x : y

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Calculating and multiplying ratios

do you mean like
x= 7
y=5
z = x /y
msgbox "1:" & z



"Gareth Wretham" wrote in message
...
I want to calculate the ratio of two values and present it in the form
x : y

I then want to multiply that ratio by 1 : 2 and present the answer in
the form x : y

thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Calculating and multiplying ratios

On Jun 9, 10:19*am, "Patrick Molloy"
wrote:
do you mean like
x= 7
y=5
z = x /y
msgbox "1:" & z

"Gareth Wretham" wrote in message

...



I want to calculate the ratio of two values and present it in the form
x : y


I then want to multiply that ratio by 1 : 2 and present the answer in
the form x : y


thanks.- Hide quoted text -


- Show quoted text -


yes - and then how do I multiply that ratio by 1:2?

eg, if the first ratio is 1:3 then it becomes 1:6 when multiplied by
1:2

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,203
Default Calculating and multiplying ratios

Extending Patrick's code:

msgbox "1 : " & z
msgbox "1 : " & z * 2


"Gareth Wretham" wrote:

On Jun 9, 10:19 am, "Patrick Molloy"
wrote:
do you mean like
x= 7
y=5
z = x /y
msgbox "1:" & z

"Gareth Wretham" wrote in message

...



I want to calculate the ratio of two values and present it in the form
x : y


I then want to multiply that ratio by 1 : 2 and present the answer in
the form x : y


thanks.- Hide quoted text -


- Show quoted text -


yes - and then how do I multiply that ratio by 1:2?

eg, if the first ratio is 1:3 then it becomes 1:6 when multiplied by
1:2


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Calculating and multiplying ratios

to close this thread, the solution was really just a spreadsheet one:

sumtotal = (hoursA * unitsA) + (hoursB * unitsB) = (50x2)+(100*1) = 200

Atotal = (hoursA * unitsA) /sumtotal *100% = ( (50x2)/200 ) x 100 = 50%
Btotal = (hoursB * unitsB) /sumtotal *100% = ( (100x1)/200 ) x 100 = 50%


"JLatham" wrote in message
...
Extending Patrick's code:

msgbox "1 : " & z
msgbox "1 : " & z * 2


"Gareth Wretham" wrote:

On Jun 9, 10:19 am, "Patrick Molloy"
wrote:
do you mean like
x= 7
y=5
z = x /y
msgbox "1:" & z

"Gareth Wretham" wrote in message

...



I want to calculate the ratio of two values and present it in the
form
x : y

I then want to multiply that ratio by 1 : 2 and present the answer in
the form x : y

thanks.- Hide quoted text -

- Show quoted text -


yes - and then how do I multiply that ratio by 1:2?

eg, if the first ratio is 1:3 then it becomes 1:6 when multiplied by
1:2




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
Calculating the difference between 2 percentages (Ratios) Stilltrader47 Excel Worksheet Functions 1 August 28th 09 04:13 AM
ratios griggs Excel Discussion (Misc queries) 1 June 25th 09 06:55 AM
Calculating ratios: Is there a formula that can do this? dshadrock Excel Worksheet Functions 2 February 6th 09 04:05 PM
Ratios KCR Excel Worksheet Functions 4 October 22nd 08 09:24 PM
Ratios alice Excel Discussion (Misc queries) 2 February 28th 06 01:14 PM


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