L
lgt_shadow
I’ve got a worksheet that has over 1000 rows that I need to run the
following formula on.
=INDEX(LINEST(B13:L13,LN(B3:L3)),1)
Trouble is that not all rows have values in all 11 cells (first section
in this case B13:L13).
If I fill the empty cells with 0’s then that will change the result of
the formula as compared to running it on only the subset of data.
Example
57 196 280 450 180 328 220 315 305 237 94
5 10 12 8 15 13 0 0 0 0 0
=INDEX(LINEST(A2:K2,LN(A1:K1)),1) == 1.46
=INDEX(LINEST(A2:F2,LN(A1:F1)),1) == 2.37
Also have the problem that it’s not necessarily the first or last
columns that will be missing values it could be just one or two in the
middle.
So does anyone know of something that I can put into the empty cells to
make the formula still work but will not change the value of the
formula?
Ideally I’d like to use the first formula but have something to put in
place of the 0’s that would give me the answer of the second formula.
Is there a ‘null value’ or a ‘skip cell’ kind of thing that could be
used where the 0’s are above?
Any help would be greatly appreciated and an unbelievable time saver.
thanks
tim
following formula on.
=INDEX(LINEST(B13:L13,LN(B3:L3)),1)
Trouble is that not all rows have values in all 11 cells (first section
in this case B13:L13).
If I fill the empty cells with 0’s then that will change the result of
the formula as compared to running it on only the subset of data.
Example
57 196 280 450 180 328 220 315 305 237 94
5 10 12 8 15 13 0 0 0 0 0
=INDEX(LINEST(A2:K2,LN(A1:K1)),1) == 1.46
=INDEX(LINEST(A2:F2,LN(A1:F1)),1) == 2.37
Also have the problem that it’s not necessarily the first or last
columns that will be missing values it could be just one or two in the
middle.
So does anyone know of something that I can put into the empty cells to
make the formula still work but will not change the value of the
formula?
Ideally I’d like to use the first formula but have something to put in
place of the 0’s that would give me the answer of the second formula.
Is there a ‘null value’ or a ‘skip cell’ kind of thing that could be
used where the 0’s are above?
Any help would be greatly appreciated and an unbelievable time saver.
thanks
tim