PC Review


Reply
Thread Tools Rate Thread

Calculating and multiplying ratios

 
 
Gareth Wretham
Guest
Posts: n/a
 
      9th Jun 2009
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.
 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      9th Jun 2009
do you mean like
x= 7
y=5
z = x /y
msgbox "1:" & z



"Gareth Wretham" <(E-Mail Removed)> wrote in message
news:e94d3740-bdd9-4794-ac2b-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Gareth Wretham
Guest
Posts: n/a
 
      9th Jun 2009
On Jun 9, 10:19*am, "Patrick Molloy" <patrick_mol...@hotmail.com>
wrote:
> do you mean like
> x= 7
> y=5
> z = x /y
> msgbox "1:" & z
>
> "Gareth Wretham" <gareth.wret...@gmail.com> wrote in message
>
> news:e94d3740-bdd9-4794-ac2b-(E-Mail Removed)...
>
>
>
> > 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 With Quote
 
JLatham
Guest
Posts: n/a
 
      9th Jun 2009
Extending Patrick's code:

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


"Gareth Wretham" wrote:

> On Jun 9, 10:19 am, "Patrick Molloy" <patrick_mol...@hotmail.com>
> wrote:
> > do you mean like
> > x= 7
> > y=5
> > z = x /y
> > msgbox "1:" & z
> >
> > "Gareth Wretham" <gareth.wret...@gmail.com> wrote in message
> >
> > news:e94d3740-bdd9-4794-ac2b-(E-Mail Removed)...
> >
> >
> >
> > > 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 With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      9th Jun 2009
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" <(E-Mail Removed)> wrote in message
news:A65BB33E-2105-4A6C-8899-(E-Mail Removed)...
> Extending Patrick's code:
>
> msgbox "1 : " & z
> msgbox "1 : " & z * 2
>
>
> "Gareth Wretham" wrote:
>
>> On Jun 9, 10:19 am, "Patrick Molloy" <patrick_mol...@hotmail.com>
>> wrote:
>> > do you mean like
>> > x= 7
>> > y=5
>> > z = x /y
>> > msgbox "1:" & z
>> >
>> > "Gareth Wretham" <gareth.wret...@gmail.com> wrote in message
>> >
>> > news:e94d3740-bdd9-4794-ac2b-(E-Mail Removed)...
>> >
>> >
>> >
>> > > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating the difference between 2 percentages (Ratios) Stilltrader47 Microsoft Excel Worksheet Functions 1 28th Aug 2009 04:13 AM
Calculating ratios: Is there a formula that can do this? dshadrock Microsoft Excel Worksheet Functions 2 6th Feb 2009 04:05 PM
Ratios???? Xeno Chauvin DIY PC 3 12th Jul 2004 04:25 PM
Calculating Ratios =?Utf-8?B?QWxpY2U=?= Microsoft Excel Worksheet Functions 2 26th Feb 2004 09:50 PM
Calculating Ratios Linda Myers-Coats Microsoft Excel Worksheet Functions 1 24th Jul 2003 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:46 PM.