I have tried to find some examples on here, but am coming up empty, if any of you have a good idea, please let me know.
Unfortunately with the way that excel deals with numbers, I am running into accuracy issues due to rounding errors, so I cannot do linear approximation for a project I am working on as the error is too much (lots of exponents etc- this has been verified by some other people as a problem for my application). As a result, i need to instead have a generated lookup table for reference instead.
it is based on 2 criteria, so in this case I need to use some form of a nested lookup function. Using the table below as a sample, I need to first find by the input criteria 1, then input criteria 2, and finally sort to the nearest value if it is not exact.
for example-
99, 2 will give 11.
88, 7 will give 67.
Finally, this is a function that will happen a couple thousand of times so I need to make it as "cpu friendly" as possible if that makes sense.
<tbody>
</tbody>
If you have any ideas on how I could handle this, it would be greatly appreciated.
Thank you for your time.
Unfortunately with the way that excel deals with numbers, I am running into accuracy issues due to rounding errors, so I cannot do linear approximation for a project I am working on as the error is too much (lots of exponents etc- this has been verified by some other people as a problem for my application). As a result, i need to instead have a generated lookup table for reference instead.
it is based on 2 criteria, so in this case I need to use some form of a nested lookup function. Using the table below as a sample, I need to first find by the input criteria 1, then input criteria 2, and finally sort to the nearest value if it is not exact.
for example-
99, 2 will give 11.
88, 7 will give 67.
Finally, this is a function that will happen a couple thousand of times so I need to make it as "cpu friendly" as possible if that makes sense.
Input Criteria 1 | Input Criteria 2 | Outputs |
99 | 1 | 11 |
99 | 5 | 22 |
99 | 10 | 33 |
99 | 20 | 44 |
99 | 50 | 55 |
88 | 2 | 12 |
88 | 7 | 67 |
88 | 9 | 112 |
88 | 15 | 520 |
88 | 32 | 1113 |
88 | 60 | 5 |
<tbody>
</tbody>
If you have any ideas on how I could handle this, it would be greatly appreciated.
Thank you for your time.