EDIT: Looks like I have figured it out.
Based on your formula I just changed (added) the FALSE switch on the vlookups and it seems to work. Otherwise it was taking the lookups as TRUE and thus searching for the equal or greatest lower value. With the FALSE it looks for the exact one (plus higher one which is what we wanted).
It seems to be working now. Can you please confirm if based on your formula-concept is the required fix?
New formula:
---------------------------------------
previous reply:
Something seems not to be working correct with the formula.
If the last record on the table is +3 or larger than the "b" value it automatically jumps to the last record on the table (i.e a6) and returns the value at b6. If it is not I get a "no value" return, regardless of whether there are other records that do satisfy the +3 criterion in between.
To visualise it imagine the following table (since you don't have office at the moment)
a 27
b 12
c 12
d 12
e 17
f 20
g 12
h 29
Since I am checking my table starting from the record "b" with value 12 and my criteria is to seek the immediately next record that has a value of +3 or more to "b", I would expect to get "e" as a result.
The formula you provided (and for which I thank you very much) jumps to "h" as long as h>=b+3. If h is under 15 I get a "no value".
I hope it makes sense.
Thank you and any further ideas appreciated.
K
Bookmarks