Hi All,
Could anyone suggest a solution to this problem.
In R6 is the formula =average(J1:J50). This
cell is used as the lookup value for a table as listed below.
The table is in R1:S20+ and the values in the table are.
2.0 6
2.5 7
3.0 8
4.0 9
etc
The first column in the lookup table consists of numbers to one
decimal place BUT that place is ONLY .0 or .5
However, the value returned in R6 can be one decimal place of
any value. For example 2.1, 2.4, 3.9, 3.2 etc.
I wish to lookup the NEAREST value in the lookup table to that
returned in R6 and scoot across to column S and find that value.
So if R6 returned 2.1, the lookup table would find 6 but if it
was 2.4 in R6, the lookup would return 7.
2.6 in R6 would find 7 but 2.8 would get 8 as the 2.8 is closer to 3
than 2.5.
Is it possible to do this and if so how could it be done.
Thanks in advance.
Cheers
R
Could anyone suggest a solution to this problem.
In R6 is the formula =average(J1:J50). This
cell is used as the lookup value for a table as listed below.
The table is in R1:S20+ and the values in the table are.
2.0 6
2.5 7
3.0 8
4.0 9
etc
The first column in the lookup table consists of numbers to one
decimal place BUT that place is ONLY .0 or .5
However, the value returned in R6 can be one decimal place of
any value. For example 2.1, 2.4, 3.9, 3.2 etc.
I wish to lookup the NEAREST value in the lookup table to that
returned in R6 and scoot across to column S and find that value.
So if R6 returned 2.1, the lookup table would find 6 but if it
was 2.4 in R6, the lookup would return 7.
2.6 in R6 would find 7 but 2.8 would get 8 as the 2.8 is closer to 3
than 2.5.
Is it possible to do this and if so how could it be done.
Thanks in advance.
Cheers
R