M
Mark
I'm using the vlookup function below and looking for the value in C27 that is
closest (numerically) to the value in columns W and returning the
corresponding value in X
=IF(C27>"","",VLOOKUP(C27,$W$2:$X$98,2,TRUE))
C27 is -0.818
and the relavent part in W:X is
-0.97233 13
-0.91169 13.5
-0.85234 14
-0.79413 14.5
-0.73697 15
Using the vlookup as I have it returns 14, but the closest value is the one
corresponding to 14.5. How do I get it to return the value 14.5.
closest (numerically) to the value in columns W and returning the
corresponding value in X
=IF(C27>"","",VLOOKUP(C27,$W$2:$X$98,2,TRUE))
C27 is -0.818
and the relavent part in W:X is
-0.97233 13
-0.91169 13.5
-0.85234 14
-0.79413 14.5
-0.73697 15
Using the vlookup as I have it returns 14, but the closest value is the one
corresponding to 14.5. How do I get it to return the value 14.5.