fscardoelli
New Member
- Joined
- Jul 12, 2017
- Messages
- 3
Hello,
I have been trying to solve a problem that involves using three different variables (Depth, Production level, and Year) to retrieve a number from a table.
What I want is, given a certain production level (which can be any number), a depth (which will be one of the three options below), and a year (which will be either 1,2,3, or 4+) to find the value in the third column ("Deduction") of the appropriate table below.
I have tried using IF/OR, IF/AND, and INDEX/MATCH functions, but so far have had no luck. I would greatly appreciate any help with this problem!
[TABLE="width: 909"]
<colgroup><col width="68" style="width:51pt"> <col width="65" style="width:49pt" span="13"> </colgroup><tbody>[TR]
[TD="class: xl489, width: 68"]Onshore[/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl491, width: 65"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl496, width: 194, colspan: 3"]Shallow Water (<400m Depth)[/TD]
[TD="class: xl491, width: 65"][/TD]
[TD="width: 65"][/TD]
[TD="class: xl495, width: 129, colspan: 2"]Deep Water (>400m Depth)[/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl491, width: 65"][/TD]
[/TR]
[TR]
[TD="class: xl492, width: 68"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl492, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[TD][/TD]
[TD="class: xl492, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD="class: xl378"][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl397, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]31.0[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl388"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]61.9[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl518"]0.0[/TD]
[TD="class: xl519"]92.9[/TD]
[TD="class: xl521"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]31.0[/TD]
[TD="class: xl388"]62.0[/TD]
[TD="class: xl385"]450[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl388"][/TD]
[TD="class: xl387"]61.9[/TD]
[TD="class: xl388"]92.8[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD][/TD]
[TD="class: xl387"]92.9[/TD]
[TD="class: xl497"]123.8[/TD]
[TD="class: xl374"]1350[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]62.0[/TD]
[TD="class: xl388"]92.9[/TD]
[TD="class: xl385"]675[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]92.8[/TD]
[TD="class: xl388"]123.8[/TD]
[TD="class: xl385"]1125[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD][/TD]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl497"]154.7[/TD]
[TD="class: xl374"]1575[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]92.9[/TD]
[TD="class: xl388"]123.8[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1350[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD][/TD]
[TD="class: xl387"]154.7[/TD]
[TD="class: xl497"]185.7[/TD]
[TD="class: xl374"]1800[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1029[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]154.7[/TD]
[TD="class: xl388"]185.6[/TD]
[TD="class: xl385"]1479[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD][/TD]
[TD="class: xl387"]185.7[/TD]
[TD="class: xl497"]216.6[/TD]
[TD="class: xl374"]1929[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>154.7[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1181[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl375"][/TD]
[TD="class: xl513"]>185.6[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1631[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>216.6[/TD]
[TD="class: xl520"][/TD]
[TD="class: xl514"]2081[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl402, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl402, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl402, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]24.1[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]72.2[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]24.1[/TD]
[TD="class: xl388"]55.0[/TD]
[TD="class: xl385"]350[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]72.2[/TD]
[TD="class: xl388"]103.1[/TD]
[TD="class: xl385"]1050[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]55.0[/TD]
[TD="class: xl388"]86.0[/TD]
[TD="class: xl385"]575[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD][/TD]
[TD="class: xl387"]82.0[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]975[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]103.1[/TD]
[TD="class: xl388"]134.1[/TD]
[TD="class: xl385"]1275[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]86.0[/TD]
[TD="class: xl388"]116.9[/TD]
[TD="class: xl385"]800[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]1200[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]134.1[/TD]
[TD="class: xl388"]165.0[/TD]
[TD="class: xl385"]1500[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]116.9[/TD]
[TD="class: xl388"]147.8[/TD]
[TD="class: xl385"]929[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD][/TD]
[TD="class: xl387"]144.4[/TD]
[TD="class: xl388"]175.3[/TD]
[TD="class: xl385"]1329[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]165.0[/TD]
[TD="class: xl388"]195.9[/TD]
[TD="class: xl385"]1629[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>147.8[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1081[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl115"][/TD]
[TD="class: xl513"]>175.3[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1481[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>195.9[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1781[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]17.2[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]34.4[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]17.2[/TD]
[TD="class: xl388"]48.2[/TD]
[TD="class: xl385"]250[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]34.4[/TD]
[TD="class: xl388"]65.3[/TD]
[TD="class: xl385"]500[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]48.2[/TD]
[TD="class: xl388"]79.1[/TD]
[TD="class: xl385"]475[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]65.3[/TD]
[TD="class: xl388"]96.3[/TD]
[TD="class: xl385"]775[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]82.5[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]975[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]79.1[/TD]
[TD="class: xl388"]110.0[/TD]
[TD="class: xl385"]700[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]96.3[/TD]
[TD="class: xl388"]127.2[/TD]
[TD="class: xl385"]950[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]1200[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]110.0[/TD]
[TD="class: xl388"]140.9[/TD]
[TD="class: xl385"]829[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]127.2[/TD]
[TD="class: xl388"]158.1[/TD]
[TD="class: xl385"]1079[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]144.4[/TD]
[TD="class: xl388"]175.3[/TD]
[TD="class: xl385"]1329[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>140.9[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]981[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>158.1[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1231[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>175.3[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1481[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 4[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 4+[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 4+[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]10.3[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]20.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]31.0[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]10.3[/TD]
[TD="class: xl388"]41.3[/TD]
[TD="class: xl385"]150[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]20.6[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl385"]300[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]31.0[/TD]
[TD="class: xl388"]61.9[/TD]
[TD="class: xl385"]450[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]41.3[/TD]
[TD="class: xl388"]72.2[/TD]
[TD="class: xl385"]375[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]525[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]61.9[/TD]
[TD="class: xl388"]92.8[/TD]
[TD="class: xl385"]675[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]72.2[/TD]
[TD="class: xl388"]103.1[/TD]
[TD="class: xl385"]600[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]82.5[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]92.8[/TD]
[TD="class: xl388"]123.7[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]103.1[/TD]
[TD="class: xl388"]134.0[/TD]
[TD="class: xl385"]729[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]879[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]123.7[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1029[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>134.0[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]881[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>144.4[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1031[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>154.7[/TD]
[TD="class: xl520"][/TD]
[TD="class: xl514"]1181[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
</tbody>[/TABLE]
I have been trying to solve a problem that involves using three different variables (Depth, Production level, and Year) to retrieve a number from a table.
What I want is, given a certain production level (which can be any number), a depth (which will be one of the three options below), and a year (which will be either 1,2,3, or 4+) to find the value in the third column ("Deduction") of the appropriate table below.
I have tried using IF/OR, IF/AND, and INDEX/MATCH functions, but so far have had no luck. I would greatly appreciate any help with this problem!
[TABLE="width: 909"]
<colgroup><col width="68" style="width:51pt"> <col width="65" style="width:49pt" span="13"> </colgroup><tbody>[TR]
[TD="class: xl489, width: 68"]Onshore[/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl491, width: 65"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl496, width: 194, colspan: 3"]Shallow Water (<400m Depth)[/TD]
[TD="class: xl491, width: 65"][/TD]
[TD="width: 65"][/TD]
[TD="class: xl495, width: 129, colspan: 2"]Deep Water (>400m Depth)[/TD]
[TD="class: xl490, width: 65"][/TD]
[TD="class: xl491, width: 65"][/TD]
[/TR]
[TR]
[TD="class: xl492, width: 68"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl492, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[TD][/TD]
[TD="class: xl492, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl493, width: 65"][/TD]
[TD="class: xl494, width: 65"][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD="class: xl376, width: 65"][/TD]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 1[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD="class: xl378"][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl397, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl397"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]31.0[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl388"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]61.9[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl518"]0.0[/TD]
[TD="class: xl519"]92.9[/TD]
[TD="class: xl521"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]31.0[/TD]
[TD="class: xl388"]62.0[/TD]
[TD="class: xl385"]450[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl388"][/TD]
[TD="class: xl387"]61.9[/TD]
[TD="class: xl388"]92.8[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD][/TD]
[TD="class: xl387"]92.9[/TD]
[TD="class: xl497"]123.8[/TD]
[TD="class: xl374"]1350[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]62.0[/TD]
[TD="class: xl388"]92.9[/TD]
[TD="class: xl385"]675[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]92.8[/TD]
[TD="class: xl388"]123.8[/TD]
[TD="class: xl385"]1125[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD][/TD]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl497"]154.7[/TD]
[TD="class: xl374"]1575[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]92.9[/TD]
[TD="class: xl388"]123.8[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1350[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD][/TD]
[TD="class: xl387"]154.7[/TD]
[TD="class: xl497"]185.7[/TD]
[TD="class: xl374"]1800[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]123.8[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1029[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl374"][/TD]
[TD="class: xl387"]154.7[/TD]
[TD="class: xl388"]185.6[/TD]
[TD="class: xl385"]1479[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD][/TD]
[TD="class: xl387"]185.7[/TD]
[TD="class: xl497"]216.6[/TD]
[TD="class: xl374"]1929[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>154.7[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1181[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl375"][/TD]
[TD="class: xl513"]>185.6[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1631[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>216.6[/TD]
[TD="class: xl520"][/TD]
[TD="class: xl514"]2081[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 2[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl402, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl402, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl402, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]24.1[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]72.2[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]24.1[/TD]
[TD="class: xl388"]55.0[/TD]
[TD="class: xl385"]350[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]72.2[/TD]
[TD="class: xl388"]103.1[/TD]
[TD="class: xl385"]1050[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]55.0[/TD]
[TD="class: xl388"]86.0[/TD]
[TD="class: xl385"]575[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD][/TD]
[TD="class: xl387"]82.0[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]975[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]103.1[/TD]
[TD="class: xl388"]134.1[/TD]
[TD="class: xl385"]1275[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]86.0[/TD]
[TD="class: xl388"]116.9[/TD]
[TD="class: xl385"]800[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]1200[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]134.1[/TD]
[TD="class: xl388"]165.0[/TD]
[TD="class: xl385"]1500[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]116.9[/TD]
[TD="class: xl388"]147.8[/TD]
[TD="class: xl385"]929[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD][/TD]
[TD="class: xl387"]144.4[/TD]
[TD="class: xl388"]175.3[/TD]
[TD="class: xl385"]1329[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]165.0[/TD]
[TD="class: xl388"]195.9[/TD]
[TD="class: xl385"]1629[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>147.8[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1081[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl115"][/TD]
[TD="class: xl513"]>175.3[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1481[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>195.9[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1781[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 3[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]17.2[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]34.4[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]17.2[/TD]
[TD="class: xl388"]48.2[/TD]
[TD="class: xl385"]250[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]34.4[/TD]
[TD="class: xl388"]65.3[/TD]
[TD="class: xl385"]500[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]48.2[/TD]
[TD="class: xl388"]79.1[/TD]
[TD="class: xl385"]475[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]65.3[/TD]
[TD="class: xl388"]96.3[/TD]
[TD="class: xl385"]775[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]82.5[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]975[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]79.1[/TD]
[TD="class: xl388"]110.0[/TD]
[TD="class: xl385"]700[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]96.3[/TD]
[TD="class: xl388"]127.2[/TD]
[TD="class: xl385"]950[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]1200[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]110.0[/TD]
[TD="class: xl388"]140.9[/TD]
[TD="class: xl385"]829[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]127.2[/TD]
[TD="class: xl388"]158.1[/TD]
[TD="class: xl385"]1079[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]144.4[/TD]
[TD="class: xl388"]175.3[/TD]
[TD="class: xl385"]1329[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>140.9[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]981[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>158.1[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1231[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>175.3[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1481[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
[TR]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl115"][/TD]
[TD="class: xl115"][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl373"]Year 4[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 4+[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[TD][/TD]
[TD="class: xl373"]Year 4+[/TD]
[TD="class: xl372"][/TD]
[TD="class: xl372"][/TD]
[TD="class: xl379"][/TD]
[/TR]
[TR]
[TD="class: xl382, width: 133, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[TD][/TD]
[TD="class: xl382, width: 129, colspan: 2"]Prod Range (000 b/d)[/TD]
[TD="class: xl377"]Deduction[/TD]
[TD="class: xl399"]Rate[/TD]
[/TR]
[TR]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]10.3[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]20.6[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]0.0[/TD]
[TD="class: xl388"]31.0[/TD]
[TD="class: xl398"]0[/TD]
[TD="class: xl400"]0.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]10.3[/TD]
[TD="class: xl388"]41.3[/TD]
[TD="class: xl385"]150[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]20.6[/TD]
[TD="class: xl388"]51.6[/TD]
[TD="class: xl385"]300[/TD]
[TD="class: xl401"]10.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]31.0[/TD]
[TD="class: xl388"]61.9[/TD]
[TD="class: xl385"]450[/TD]
[TD="class: xl401"]10.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]41.3[/TD]
[TD="class: xl388"]72.2[/TD]
[TD="class: xl385"]375[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]51.6[/TD]
[TD="class: xl388"]82.5[/TD]
[TD="class: xl385"]525[/TD]
[TD="class: xl401"]20.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]61.9[/TD]
[TD="class: xl388"]92.8[/TD]
[TD="class: xl385"]675[/TD]
[TD="class: xl401"]20.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]72.2[/TD]
[TD="class: xl388"]103.1[/TD]
[TD="class: xl385"]600[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]82.5[/TD]
[TD="class: xl388"]113.4[/TD]
[TD="class: xl385"]750[/TD]
[TD="class: xl401"]30.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]92.8[/TD]
[TD="class: xl388"]123.7[/TD]
[TD="class: xl385"]900[/TD]
[TD="class: xl401"]30.0%[/TD]
[/TR]
[TR]
[TD="class: xl387"]103.1[/TD]
[TD="class: xl388"]134.0[/TD]
[TD="class: xl385"]729[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]113.4[/TD]
[TD="class: xl388"]144.4[/TD]
[TD="class: xl385"]879[/TD]
[TD="class: xl401"]35.0%[/TD]
[TD="class: xl72"][/TD]
[TD="class: xl387"]123.7[/TD]
[TD="class: xl388"]154.7[/TD]
[TD="class: xl385"]1029[/TD]
[TD="class: xl401"]35.0%[/TD]
[/TR]
[TR]
[TD="class: xl513"]>134.0[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]881[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>144.4[/TD]
[TD="class: xl389"][/TD]
[TD="class: xl508"]1031[/TD]
[TD="class: xl509"]40.0%[/TD]
[TD="class: xl172"][/TD]
[TD="class: xl513"]>154.7[/TD]
[TD="class: xl520"][/TD]
[TD="class: xl514"]1181[/TD]
[TD="class: xl509"]40.0%[/TD]
[/TR]
</tbody>[/TABLE]