Re: Calculation question
- From: "Dana DeLouis" <ddelouis@xxxxxxxxxxxxx>
- Date: Sun, 22 Jul 2007 09:39:38 -0400
Hi. I have a program that does this for me automatically.
If we were to plot these types of problems, what we would have are 4
straight line intervals. The problem is to calculate the equation of each
line (y = a*x+b).
We are given the slopes of each line (the 'a). We need to calculate the
y-intercepts 'b.
As we start from zero, the first one is easy. The intercept is zero.
=.0045+a1
For the second line, we need two points to calculate a straint line.
Therefore, let's pick two easy x-points. 100000, and 100001
1) (x,y) = (100000,100000*.0045) ->(100000,450)
2) (x,y) = (100001,450+.003)
Hence:
=INTERCEPT({450,450.003},{100000;100001})
returns:
150
Second equation is:
0.3%*A1+150
Keep going for each one.
Because the slopes are decreasing, we take the "Min."
Some problems, like commissions, are increasing, so we would want to take
the "Max" for those problems.
Hope this helps. :>)
=Min(0.0045*A1,150+0.003*A1,650+0.002*A1,1650+0.001*A1)
--
Dana DeLouis
"joeu2004" <joeu2004@xxxxxxxxxxx> wrote in message
news:1185086452.224437.175610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 21, 10:06 pm, "Dana DeLouis" <ddelo...@xxxxxxxxxxxxx> wrote:
Perhaps another option:
=MIN(0.1%*A1+1650, 0.2%*A1+650, 0.3%*A1+150, 0.45%*A1)
Excellent! I would only suggest an explanation of the "magic"
constants. I leave that to you to have the last word on the
subject ;-).
.
- Follow-Ups:
- Re: Calculation question
- From: joeu2004
- Re: Calculation question
- References:
- Re: Calculation question
- From: Dana DeLouis
- Re: Calculation question
- From: joeu2004
- Re: Calculation question
- Prev by Date: Re: Ignore Errors
- Next by Date: RE: preventRepeated
- Previous by thread: Re: Calculation question
- Next by thread: Re: Calculation question
- Index(es):
Relevant Pages
|