I have inserted some code to extract the trend line formula (J40) from a graph and then have it separated out in the adjacent columns with a series of formulas. In cell N40 I have my formula to calculate the forecast for the 6th period for a logarithmic trend line.
I want to avoid anymore VBA and do not want to have a manual find and replace to the first values in column M to insert an equals sign to calculate the forecast as I know this would work.
I am looking for a function or a formula so that this formula will automatically re-calculate if the numbers in the graph change.
Below is formulas I have and one I am needing. Attached is an image of output so far.
K40 = LEFT(J40,LEN(J40)-10
L40 = REPLACE(K40,FIND("ln(x) + ",K40,1),8,"*ln(L39)+")
M40 = SUBSTITUTE(L40,",","")
N40 = REPLACE(M40,1,4,"")
O40 = ???
Capture.JPG
Bookmarks