Looking for a formula that will find (lookup) where a specific price falls within a range of prices shown in Columns A and B, and then return the corresponding value shown in Column C (see below).
In the following example, January’s price is $3.833. What formula would return “7.50%” because the price ($3.833) is between $3.79 and $3.91 in the accompanying table?
Jan. $3.833
[pre]
[/pre]
Thanks
In the following example, January’s price is $3.833. What formula would return “7.50%” because the price ($3.833) is between $3.79 and $3.91 in the accompanying table?
Jan. $3.833
[pre]
Code:
Column A Column B Column C
At Least But Less Than Surcharge
0 $2.23 0.00%
$2.23 $2.35 1.00%
$2.35 $2.47 1.50%
$2.47 $2.59 2.00%
$2.59 $2.71 2.50%
$2.71 $2.83 3.00%
$2.83 $2.95 3.50%
$2.95 $3.07 4.00%
$3.07 $3.19 4.50%
$3.19 $3.31 5.00%
$3.31 $3.43 5.50%
$3.43 $3.55 6.00%
$3.55 $3.67 6.50%
$3.67 $3.79 7.00%
$3.79 $3.91 7.50%
$3.91 $4.03 8.00%
$4.03 $4.15 8.50%
$4.15 $4.27 9.00%
Thanks