I would like to display a dynamic range of calculated values based on a value in another cell.
I have the following input parameters:
For the value specified of variable numPoints (note: minimum value specified will 2 up to say 12), I would like the calculation for lonPoints to be an array from cell E2 to the length of numPoints, so in this example from cell E2 to E5.
An additional nuance is that a straight “for loop” will not suffice here as:
1. The value in the first cell (E2) is governed by the equation: =B2/2
2. The value in the second cell (E3) is governed by the equation: =B2 + x
3. The remaining values 3 through numPoints (cell E4 through…) is governed by the equation: E3 + y where E3 increments for each subsequent cell
In the example above I have given an example for 6 points. I have handcoded each row in column E with the appropriate formula but my hope is to have this done automatically (I'm assuming this would be achieved using a combo of dynamic name ranges and a for loop in VBA). Hopefully my intent is clear.
Thanks in advance for any help!