How much of this is math/engineering and how much is specifically Excel programming?
Solution 1) It looks to me like we have a handful of tabulated points that were probably calculated using some engineering function somewhere. As an engineer, my first preference would be to find that equation. My first suggestion would be find a friendly neighborhood engineer who is knowledgeable in this field, get him/her to teach me the equation. Then, I could come back to Excel, program that equation into one or more spreadsheet cells, and then it is a simple matter of plugging x into the equation and the spreadsheet will spit out y automatically.
In the absence of a friendly neighborhood engineer (or other source education), I see two possibilities -- regression to come up with my own equation that describes the tabulated data points or an interpolation scheme to interpolate between data points.
solution 2) regression. The hardest part here is trying to decide what kind of equation I ought to use (my first guesses would be some kind of exponential decay type of formula or something more complex). Once I have chosen a suitable equation, then I use an appropriate linear (LINEST() in the spreadsheet) or non-linear (Solver) regression technique to perform the regression. Then I have a formula that describes the trendline and I can simply plug x into that formula to spit out y.
solution 3) interpolation. For this one, are you limited to Excel? Interpolation is much easier in a spreadsheet that has a built in interpolation function (tip: Excel is not one of those spreadsheets). Gnumeric has an interpolation function that can do both linear and spline interpolation that makes short work of interpolation problems (
https://help.gnome.org/users/gnumeri...-INTERPOLATION ). If you could move this to Gnumeric and wanted to solve using linear interpolation, it would be as simple as [after sorting the trendline values by the x column] =INTERPOLATION(H44:H54,I44:I54,D34,0). Of course, interpolation is more complicated if you must use Excel. Some past examples:
https://www.excelforum.com/excel-for...ml#post5380675
https://www.excelforum.com/excel-for...ml#post5262186
Hopefully I have understood the question correctly. As noted, my preference would be to understand the maths/engineering behind the question so that I could enter the actual formula that relates x and y. In the absence of the true formula, I would make my best guess using either regression or interpolation (assuming, of course, that whoever is overseeing my work will accept either of those approximations). How would you like to proceed?
Bookmarks