On May 06 2011 20:41 Aim Here wrote: This is more of a blog, but anyways, there's two ways to get a cell with the values of your function.
If your function is easy, use nested IFs, as in a formula with =IF(x=<1,240,IF(x<2,240+45*(x),IF ... )))
Or you could put the bounding values of the piecewise chunks of X in as a column in a table and the Y formulae in the second column, and use vlookup to look them up.
Once you can put the values in a cell, then you can knock up a table with a list of X values, and the formulae values, and then turn it into a graph.
If you need more clarification, you can PM me.
Are you proficient in VBA? If so try to use the switch function on x, otherwise use the above post's nested IF statements. |