How much of the algebra have you done on this? After quickly trying to piece the complete function together (so, assuming I got the algebra right), it looks to me like there is something like a y=x*cos(x) term, which cannot be explicitly inverted (unless I am forgetting something from my secondary math/trig days). In other words, I don't think there is any way to enter a function in B6 where B6=g(O4,B4,B8), so you will be required to use some kind of numerical algorithm.
By far the easiest way to program something like this is to use the built in Solver/Goal seek algorithms. They can be automated in VBA using a calculate event procedure (we have several examples around this forum, let us know if you want to use this kind of approach).
Or you can write your own numeric algorithm for solving this kind of problem. I have examples here (spreadsheet and VBA UDF) for writing your own Newton Raphson type algorithms.
https://www.excelforum.com/tips-and-...ind-roots.html
Have I done the algebra correclty -- will this require a numerical algorithm to solve?
Bookmarks