Return value greater than in LOOKUP
return the next value greater than the lookup value
Do you really mean greater than or equal to?
Try this for **greater than** :
=INDEX(M10:M150,MATCH(TRUE,INDEX(M10:M15025.4,0), 0))
Note that if there isn't a value greater than the lookup value you'll get an
error.
--
Biff
Microsoft Excel MVP
"Brian" wrote in message
...
I am trying to use the lookup function to return the next value greater
than
the lookup value in a vector. However, the only thing that the lookup
function will do is return the next value that is less than or equal to.
Is
there a way to get it to return the value greater than.
I am using: LOOKUP(25.4,M10:M150,M10:M150)
...and want to return the first value greater than 25.4 in the vector
M10:M150
|