Please help! I am working in table 1 to fill-in “Index A” with data from “Index B” of my “Lookup Table” by finding which range (Max:Min) covers the “Value”.
As an example, B2=Lookup Table: C2=31 as 17950 is within A2 and B2 of lookup table.
Table 1:
<table class="MsoNormalTable" style="width: 144.85pt; margin-left: 4.55pt; border-collapse: collapse;" width="193" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="height: 19.75pt;"> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 32.35pt; height: 19.75pt;" valign="top" width="43"> </td> <td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 19.75pt;" width="78"> </td> <td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 19.75pt;" width="72"> </td> </tr> <tr style="height: 19.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 19.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 19.75pt;" width="78"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 19.75pt;" width="72"> </td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"> </td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"></td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"></td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"></td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"></td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 32.35pt; height: 15.75pt;" valign="top" width="43"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 58.5pt; height: 15.75pt;" valign="bottom" width="78" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 0.75in; height: 15.75pt;" valign="bottom" width="72" nowrap="nowrap"></td> </tr> </tbody></table> <o
> </o
>
Lookup Table:
<table class="MsoNormalTable" style="width: 225.85pt; margin-left: 4.55pt; border-collapse: collapse;" width="301" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="height: 15.75pt;"> <td style="border-style: solid solid none; border-color: windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt medium; padding: 0in 5.4pt; width: 22pt; height: 15.75pt;" valign="top" width="29"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 63pt; height: 15.75pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 92.15pt; height: 15.75pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 48.7pt; height: 15.75pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: solid solid none; border-color: windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt medium; padding: 0in 5.4pt; width: 22pt; height: 15.75pt;" valign="top" width="29"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 63pt; height: 15.75pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 92.15pt; height: 15.75pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: solid solid none none; border-color: windowtext windowtext -moz-use-text-color -moz-use-text-color; border-width: 1pt 1pt medium medium; padding: 0in 5.4pt; width: 48.7pt; height: 15.75pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> <tr style="height: 15.75pt;"> <td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 22pt; height: 15.75pt;" valign="top" width="29"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 63pt; height: 15.75pt;" valign="bottom" width="84" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 92.15pt; height: 15.75pt;" valign="bottom" width="123" nowrap="nowrap"> </td> <td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 48.7pt; height: 15.75pt;" valign="bottom" width="65" nowrap="nowrap"> </td> </tr> </tbody></table> <o
> </o
>
What should be the formula for column B at table 1?
As an example, B2=Lookup Table: C2=31 as 17950 is within A2 and B2 of lookup table.
Table 1:
<table class="MsoNormalTable" style="width: 144.85pt; margin-left: 4.55pt; border-collapse: collapse;" width="193" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="height: 19.75pt;"> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 32.35pt; height: 19.75pt;" valign="top" width="43">
<o
> </o
>


A<o
></o
>


B<o
></o
>


1<o
></o
>


Value<o
></o
>


Index A<o
></o
>


2<o
></o
>


17950<o
></o
>


31<o
></o
>


3<o
></o
>


21930<o
></o
>


4<o
></o
>


21980<o
></o
>


5<o
></o
>


10915<o
></o
>


6<o
></o
>


10845<o
></o
>


7<o
></o
>


10755<o
></o
>




Lookup Table:
<table class="MsoNormalTable" style="width: 225.85pt; margin-left: 4.55pt; border-collapse: collapse;" width="301" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="height: 15.75pt;"> <td style="border-style: solid solid none; border-color: windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt medium; padding: 0in 5.4pt; width: 22pt; height: 15.75pt;" valign="top" width="29">
<o
> </o
>


A<o
></o
>


B<o
></o
>


C<o
></o
>


1<o
></o
>


Max<o
></o
>


Min<o
></o
>


Index B<o
></o
>


2<o
></o
>


17702.5<o
></o
>


18000.5<o
></o
>


31<o
></o
>


3<o
></o
>


17839.5<o
></o
>


18137.5<o
></o
>


32<o
></o
>


4<o
></o
>


21220.75<o
></o
>


21520.75<o
></o
>


81<o
></o
>


5<o
></o
>


21497.25<o
></o
>


21822.25<o
></o
>


82<o
></o
>


6<o
></o
>


21798.75<o
></o
>


22142.75<o
></o
>


83<o
></o
>


7<o
></o
>


22097.25<o
></o
>


22397.5<o
></o
>


84<o
></o
>


8<o
></o
>


10696.25<o
></o
>


10873.75<o
></o
>


21<o
></o
>


9<o
></o
>


10856.25<o
></o
>


11053.75<o
></o
>


22<o
></o
>


10<o
></o
>


11036.25<o
></o
>


11193.75<o
></o
>


23<o
></o
>




What should be the formula for column B at table 1?