This checks if the row is 23,43,63,... If so it takes the adjacent cell, if not the next formula takes place: Show
This use the function indirect to calculate the adres of the first cell which row is less than the current row and also 23,43,63. It subtracts 3 from the current row and then divides it by 20 and rounds to a lower integer. Then it multiplies by 20 and adds 3 to get the right row number. This is then concatenated to the B to form the adres of the cell you want.
This is simply an interpolation formula of the form:
y_start is the one I explained above. Then you have y_end which is almost the same, only you add 23 instead of 3 to get the next value. Then you divide by 20, which is the difference between two following values. The x_int-x_start is the following formula:
This takes the current row and subtracts the 23,43,63.. that is lower from it, by using the same method as I did to find y_start. Use the NA function in the blank cell of the chart's data range. To do this, use one of the following methods:
|