The title says practically nothing, so I'll try to explain.
I have some calculation which is based upon some input parameters, doesn't matter now. Out of it (the calculation) I get a number, let's say 98.
On the other side I have a table, with two columns, with models and values corresponding, and based on that number I have to pick a model with a value which is the closest to the number, but greater than it (first higher).
How could I automate that part? So that the model is the "result" of the calculation?
What I'm looking in general is, how to test value>number and then display model from the side column, somewhere?
Hope this makes some sense ...