I have a sheet which on one tab, has data generated by various formulas on the same tab. The calculations per row result in 10 groups of two columns (X,Y coords). At the top of the sheet, the Linest function is used to convert the generated X,Y data into the coefficients of third degree polynomials. The sheet can sometimes run to 5000 rows and 50 columns.
What I am looking for is VBA code which would operate a bit like the Σ+ button on HP programmable calculators by taking the generated data per row and iterating while saving the generated row data for the calculation of the coefficients. Instead of a sheet with 5000 rows I would have VBA code which would iterate 5000 times and generate the data in a way suitable for Linest.
In its present form, all the data needed is generated per row with each successive row having a starting value increased by 5mm (that is the only difference in the rows)
Does anyone have any experience with this?
Bookmarks