View Single Post
  #1   Report Post  
JulieD
 
Posts: n/a
Default looking up a value between two numbers and returning a related value

Hi All

can't quite figure out what formula to use
if i have the number 27.568 in a cell
and i have a table in sheet2 with the following structure
CODE......LOW.....HIGH
A.......26.258.......26.358
B.......27.259........27.359
C.......27.566........27.666

how do i lookup the 27.568 and return the C (as it falls within this
range) - additionally, sometimes the value i'm looking up might match either
a LOW or HIGH and then the associated code needs to be returned.

Cheers
JulieD