josephv
Mechanical
- Oct 1, 2002
- 683
Good day, how can one get the smallest value that is greater than or equal to a lookup_value?
For example if the lookup value was 150 and the range was:
010, 100, 200, 300, 400
I would like to choose 200, since it is greater than 150 and is smaller than the 300 and 400.
The problem with VLOOKUP is that it chooses the largest value that is lesser than or equal to a lookup_value (i.e. it would choose 100 in this case).
This is a common problem in engineering, since one typically chooses some equipment (e.g. ballast, pump, fan) that is just greater than the rating (or calculated value).
We would like to use Excel functions and avoid macros (VBA) if possible.
Thanks,