Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 23
Default problem combining 2 formulas

Hello, I have two rates of exhange and I want to find the mid point and
deduct 3% all in one formula.

The bank buy rate is 1.6706 (cell a1)
The bank sell rate is 1.6085 (cell a2)

so =sum(a1-a2)/2 gives me the difference beween the two rates and I divide
by 2 to find the basis for the mid point which is 0.03105 (cell a3)

Then I create another formula (a3 + a2)*0.97 to give me the mid point -3%
(or 97% of it the same either way)

How can I combine the two formulas? I always seem to have a problem with
circular refererences.

thanks

kinsey



--
kinsey
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,059
Default problem combining 2 formulas

PS....

I wrote:
"kinsey" wrote:
so =sum(a1-a2)/2 gives me the difference beween the two rates and I
divide by 2 to find the basis for the mid point which is 0.03105 (cell
a3)
Then I create another formula (a3 + a2)*0.97 to give me the mid
point -3%
[....]
How can I combine the two formulas?


=(1 - 3%) * (a1 + a2) / 2


I dutifully copied the computation in your original article. Note that:

(a3 + a2) = ((a1 - a2) / 2 + a2) = (a1 - a2 + 2*a2) / 2 = (a1 + a2) / 2

But now I wonder if your original formula is computing what you intended.

Do you want to reduce the midpoint value (1.63955) by 3%, as you are doing?

Or do you really want to reduce the difference between the low end and the
midpoint (0.03105 = 1.63955 - 1.6085) by 3%?

If the latter, you might want the formula:

=a2 + (1 - 3%) * (a1 - a2) / 2

If you are not sure, ask yourself the following question: what result would
you expect if you "reduced the midpoint by 100%"?

If your answer is: you expect the low-end number (1.6085), then you want
the second formula.

If your answer is: you expect zero, then you want the first (original)
formula.


----- original message -----

"kinsey" wrote:
How can I combine the two formulas?


=(1 - 3%) * (a1 + a2) / 2


so =sum(a1-a2)/2 gives me the difference beween the two
rates and I divide by 2 to find the basis for the mid point
which is 0.03105 (cell a3)
Then I create another formula (a3 + a2)


The easier way to compute the midpoint is:

=(a1 + a2) / 2

FYI, your first formula, which computes have the difference, could be
written more simply as:

=(a1 - a2) / 2

No need and no point to use the SUM function.


----- original message -----

"kinsey" wrote in message
...
Hello, I have two rates of exhange and I want to find the mid point and
deduct 3% all in one formula.

The bank buy rate is 1.6706 (cell a1)
The bank sell rate is 1.6085 (cell a2)

so =sum(a1-a2)/2 gives me the difference beween the two rates and I divide
by 2 to find the basis for the mid point which is 0.03105 (cell a3)

Then I create another formula (a3 + a2)*0.97 to give me the mid point -3%
(or 97% of it the same either way)

How can I combine the two formulas? I always seem to have a problem with
circular refererences.

thanks

kinsey



--
kinsey


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 23
Default problem combining 2 formulas

Joe, many thanks. This works well. I always learn a lot from forum
--
kinsey


"JoeU2004" wrote:

PS....

I wrote:
"kinsey" wrote:
so =sum(a1-a2)/2 gives me the difference beween the two rates and I
divide by 2 to find the basis for the mid point which is 0.03105 (cell
a3)
Then I create another formula (a3 + a2)*0.97 to give me the mid
point -3%
[....]
How can I combine the two formulas?


=(1 - 3%) * (a1 + a2) / 2


I dutifully copied the computation in your original article. Note that:

(a3 + a2) = ((a1 - a2) / 2 + a2) = (a1 - a2 + 2*a2) / 2 = (a1 + a2) / 2

But now I wonder if your original formula is computing what you intended.

Do you want to reduce the midpoint value (1.63955) by 3%, as you are doing?

Or do you really want to reduce the difference between the low end and the
midpoint (0.03105 = 1.63955 - 1.6085) by 3%?

If the latter, you might want the formula:

=a2 + (1 - 3%) * (a1 - a2) / 2

If you are not sure, ask yourself the following question: what result would
you expect if you "reduced the midpoint by 100%"?

If your answer is: you expect the low-end number (1.6085), then you want
the second formula.

If your answer is: you expect zero, then you want the first (original)
formula.


----- original message -----

"kinsey" wrote:
How can I combine the two formulas?


=(1 - 3%) * (a1 + a2) / 2


so =sum(a1-a2)/2 gives me the difference beween the two
rates and I divide by 2 to find the basis for the mid point
which is 0.03105 (cell a3)
Then I create another formula (a3 + a2)


The easier way to compute the midpoint is:

=(a1 + a2) / 2

FYI, your first formula, which computes have the difference, could be
written more simply as:

=(a1 - a2) / 2

No need and no point to use the SUM function.


----- original message -----

"kinsey" wrote in message
...
Hello, I have two rates of exhange and I want to find the mid point and
deduct 3% all in one formula.

The bank buy rate is 1.6706 (cell a1)
The bank sell rate is 1.6085 (cell a2)

so =sum(a1-a2)/2 gives me the difference beween the two rates and I divide
by 2 to find the basis for the mid point which is 0.03105 (cell a3)

Then I create another formula (a3 + a2)*0.97 to give me the mid point -3%
(or 97% of it the same either way)

How can I combine the two formulas? I always seem to have a problem with
circular refererences.

thanks

kinsey



--
kinsey



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
combining formulas egarcia Excel Discussion (Misc queries) 8 February 6th 07 10:26 PM
Combining 2 Formulas Joker Excel Discussion (Misc queries) 1 February 1st 07 03:30 PM
Combining Two Formulas to One Jerkyboy via OfficeKB.com Excel Discussion (Misc queries) 1 August 17th 06 05:28 AM
Combining two formulas edwardpestian Excel Worksheet Functions 4 June 4th 06 10:23 AM
Combining 2 Formulas carl Excel Worksheet Functions 2 February 2nd 06 06:21 PM


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