Hi. How are you?
Your commission schedule is really two different linear lines.
If you plot the graph in the valid range, you would have two lines,
similar to line graphs you are familiar with ie y = a*x + b
0.05*x + 0, and 0.02*x + 3
It's a decreasing commission rate (needing MIN()), but a graph would
also show that the valid solution is the minimum of the two.
Instead of Min(Max(0,x),400)
I just like to use Median(0,x,400)
I find it easier to read and understand. Plus, I always seem to mess up
the Min(Max( equation.
I have a few programs that do a lot of this work for me, but here is
something you can do about your question on +3.
The first equation is pretty obvious... ie 0.05*x + 0
To get an equation of the second line, we need two points.
One point could be {100,5}. The second line grows by 2%. Let's pick an
increase of 100, hence the output grows by 2. A simple second point
could therefore be {200,5+2=7}
In Cells[A1:B2] put
100 , 5
200 , 7
It's easy here to see that the zero intercept in +3.
For more complex stuff, select this data, and do a x-y scatter chart on
the data. Add a trend-line (swap x-y), and display the equation of that
trend-line. You will get the same...0.02*x + 3
Hope some ideas here are helpful.
Dana DeLouis
= = = =