Lookup value where I have two conditions to meet

Copper Contributor
I need to look up a value in a range where I need to check that the values in the first two columns of each row where my look up value is greater than our equal to the value in column one and less than the value in column two. I wanted to use vlookup but couldn’t figure out how to use two columns for the look up.
2 Replies
My table looks like this:

Lower Range: Upper Range: Value
0.000000:0.000001:1
0.000001:0.000011:2
0.000011:0.000111:3

My lookup value can be greater than our equal to the lower range and less than the upper range.

@kumop Please see the attached example. You can use LOOKUP or XLOOKUP for this. The latter function will not work if you are not on a recent Excel version. The first will work on all versions.