All,
I am trying to find the best way to get the correct answer from the below table. Basically the answer will depend on 2 things:
I have two cells in another sheet, one states the percentage, and the other the amount. What I need is an easy way to get if cell F17 falls into one if the below percentage ranges, and cell F16 is between any of those amounts, then calculate the answer.
EG. F17 = 83.4% & F16 = 570,000. The answer would be 570,000*0.801= 4,565.70
<tbody>
[TD="class: xl75"][/TD]
[TD="class: xl76"][/TD]
[TD="class: xl69, width: 85"] 500,000[/TD]
[TD="class: xl69, width: 67"] 600,000[/TD]
[TD="class: xl70, width: 67"] 750,000[/TD]
[TD="class: xl65, align: right"]80.01%[/TD]
[TD="class: xl66, align: right"]81.00%[/TD]
[TD="class: xl71, align: right"]0.540%[/TD]
[TD="class: xl71, align: right"]0.894%[/TD]
[TD="class: xl72, align: right"]0.931%[/TD]
[TD="class: xl65, align: right"]81.01%[/TD]
[TD="class: xl66, align: right"]82.00%[/TD]
[TD="class: xl71, align: right"]0.540%[/TD]
[TD="class: xl71, align: right"]0.894%[/TD]
[TD="class: xl72, align: right"]0.931%[/TD]
[TD="class: xl65, align: right"]82.01%[/TD]
[TD="class: xl66, align: right"]83.00%[/TD]
[TD="class: xl71, align: right"]0.568%[/TD]
[TD="class: xl71, align: right"]0.922%[/TD]
[TD="class: xl72, align: right"]1.071%[/TD]
[TD="class: xl65, align: right"]83.01%[/TD]
[TD="class: xl66, align: right"]84.00%[/TD]
[TD="class: xl71, align: right"]0.801%[/TD]
[TD="class: xl71, align: right"]0.922%[/TD]
[TD="class: xl72, align: right"]1.071%[/TD]
[TD="class: xl65, align: right"]84.01%[/TD]
[TD="class: xl66, align: right"]85.00%[/TD]
[TD="class: xl71, align: right"]0.857%[/TD]
[TD="class: xl71, align: right"]1.146%[/TD]
[TD="class: xl72, align: right"]1.323%[/TD]
[TD="class: xl65, align: right"]85.01%[/TD]
[TD="class: xl66, align: right"]86.00%[/TD]
[TD="class: xl71, align: right"]0.997%[/TD]
[TD="class: xl71, align: right"]1.146%[/TD]
[TD="class: xl72, align: right"]1.323%[/TD]
[TD="class: xl65, align: right"]86.01%[/TD]
[TD="class: xl66, align: right"]87.00%[/TD]
[TD="class: xl71, align: right"]1.006%[/TD]
[TD="class: xl71, align: right"]1.388%[/TD]
[TD="class: xl72, align: right"]1.602%[/TD]
[TD="class: xl65, align: right"]87.01%[/TD]
[TD="class: xl66, align: right"]88.00%[/TD]
[TD="class: xl71, align: right"]1.267%[/TD]
[TD="class: xl71, align: right"]1.388%[/TD]
[TD="class: xl72, align: right"]1.602%[/TD]
[TD="class: xl65, align: right"]88.01%[/TD]
[TD="class: xl66, align: right"]89.00%[/TD]
[TD="class: xl71, align: right"]1.369%[/TD]
[TD="class: xl71, align: right"]1.919%[/TD]
[TD="class: xl72, align: right"]2.180%[/TD]
[TD="class: xl65, align: right"]89.01%[/TD]
[TD="class: xl66, align: right"]90.00%[/TD]
[TD="class: xl71, align: right"]1.723%[/TD]
[TD="class: xl71, align: right"]1.919%[/TD]
[TD="class: xl72, align: right"]2.180%[/TD]
[TD="class: xl65, align: right"]90.01%[/TD]
[TD="class: xl66, align: right"]91.00%[/TD]
[TD="class: xl71, align: right"]2.581%[/TD]
[TD="class: xl71, align: right"]3.028%[/TD]
[TD="class: xl72, align: right"]3.578%[/TD]
[TD="class: xl65, align: right"]91.01%[/TD]
[TD="class: xl66, align: right"]92.00%[/TD]
[TD="class: xl71, align: right"]2.637%[/TD]
[TD="class: xl71, align: right"]3.028%[/TD]
[TD="class: xl72, align: right"]3.578%[/TD]
[TD="class: xl65, align: right"]92.01%[/TD]
[TD="class: xl66, align: right"]93.00%[/TD]
[TD="class: xl71, align: right"]2.981%[/TD]
[TD="class: xl71, align: right"]3.401%[/TD]
[TD="class: xl72, align: right"]3.783%[/TD]
[TD="class: xl65, align: right"]93.01%[/TD]
[TD="class: xl66, align: right"]94.00%[/TD]
[TD="class: xl71, align: right"]2.981%[/TD]
[TD="class: xl71, align: right"]3.401%[/TD]
[TD="class: xl72, align: right"]4.025%[/TD]
[TD="class: xl67, align: right"]94.01%[/TD]
[TD="class: xl68, align: right"]95.00%[/TD]
[TD="class: xl73, align: right"]3.298%[/TD]
[TD="class: xl73, align: right"]3.401%[/TD]
[TD="class: xl74, align: right"]4.370%[/TD]
</tbody>
So basically if have tried the IF/AND combination, and while it works, it's a huge to maintain, and if the boss changes the percentage amounts, or adds more by making the ranges smaller, it kills the formula.
Just seeing if there is a better way.
Regards
Oz
I am trying to find the best way to get the correct answer from the below table. Basically the answer will depend on 2 things:
- The percentage range in A & B
- The value the product is between.
I have two cells in another sheet, one states the percentage, and the other the amount. What I need is an easy way to get if cell F17 falls into one if the below percentage ranges, and cell F16 is between any of those amounts, then calculate the answer.
EG. F17 = 83.4% & F16 = 570,000. The answer would be 570,000*0.801= 4,565.70
<tbody>
[TD="class: xl75"][/TD]
[TD="class: xl76"][/TD]
[TD="class: xl69, width: 85"] 500,000[/TD]
[TD="class: xl69, width: 67"] 600,000[/TD]
[TD="class: xl70, width: 67"] 750,000[/TD]
[TD="class: xl65, align: right"]80.01%[/TD]
[TD="class: xl66, align: right"]81.00%[/TD]
[TD="class: xl71, align: right"]0.540%[/TD]
[TD="class: xl71, align: right"]0.894%[/TD]
[TD="class: xl72, align: right"]0.931%[/TD]
[TD="class: xl65, align: right"]81.01%[/TD]
[TD="class: xl66, align: right"]82.00%[/TD]
[TD="class: xl71, align: right"]0.540%[/TD]
[TD="class: xl71, align: right"]0.894%[/TD]
[TD="class: xl72, align: right"]0.931%[/TD]
[TD="class: xl65, align: right"]82.01%[/TD]
[TD="class: xl66, align: right"]83.00%[/TD]
[TD="class: xl71, align: right"]0.568%[/TD]
[TD="class: xl71, align: right"]0.922%[/TD]
[TD="class: xl72, align: right"]1.071%[/TD]
[TD="class: xl65, align: right"]83.01%[/TD]
[TD="class: xl66, align: right"]84.00%[/TD]
[TD="class: xl71, align: right"]0.801%[/TD]
[TD="class: xl71, align: right"]0.922%[/TD]
[TD="class: xl72, align: right"]1.071%[/TD]
[TD="class: xl65, align: right"]84.01%[/TD]
[TD="class: xl66, align: right"]85.00%[/TD]
[TD="class: xl71, align: right"]0.857%[/TD]
[TD="class: xl71, align: right"]1.146%[/TD]
[TD="class: xl72, align: right"]1.323%[/TD]
[TD="class: xl65, align: right"]85.01%[/TD]
[TD="class: xl66, align: right"]86.00%[/TD]
[TD="class: xl71, align: right"]0.997%[/TD]
[TD="class: xl71, align: right"]1.146%[/TD]
[TD="class: xl72, align: right"]1.323%[/TD]
[TD="class: xl65, align: right"]86.01%[/TD]
[TD="class: xl66, align: right"]87.00%[/TD]
[TD="class: xl71, align: right"]1.006%[/TD]
[TD="class: xl71, align: right"]1.388%[/TD]
[TD="class: xl72, align: right"]1.602%[/TD]
[TD="class: xl65, align: right"]87.01%[/TD]
[TD="class: xl66, align: right"]88.00%[/TD]
[TD="class: xl71, align: right"]1.267%[/TD]
[TD="class: xl71, align: right"]1.388%[/TD]
[TD="class: xl72, align: right"]1.602%[/TD]
[TD="class: xl65, align: right"]88.01%[/TD]
[TD="class: xl66, align: right"]89.00%[/TD]
[TD="class: xl71, align: right"]1.369%[/TD]
[TD="class: xl71, align: right"]1.919%[/TD]
[TD="class: xl72, align: right"]2.180%[/TD]
[TD="class: xl65, align: right"]89.01%[/TD]
[TD="class: xl66, align: right"]90.00%[/TD]
[TD="class: xl71, align: right"]1.723%[/TD]
[TD="class: xl71, align: right"]1.919%[/TD]
[TD="class: xl72, align: right"]2.180%[/TD]
[TD="class: xl65, align: right"]90.01%[/TD]
[TD="class: xl66, align: right"]91.00%[/TD]
[TD="class: xl71, align: right"]2.581%[/TD]
[TD="class: xl71, align: right"]3.028%[/TD]
[TD="class: xl72, align: right"]3.578%[/TD]
[TD="class: xl65, align: right"]91.01%[/TD]
[TD="class: xl66, align: right"]92.00%[/TD]
[TD="class: xl71, align: right"]2.637%[/TD]
[TD="class: xl71, align: right"]3.028%[/TD]
[TD="class: xl72, align: right"]3.578%[/TD]
[TD="class: xl65, align: right"]92.01%[/TD]
[TD="class: xl66, align: right"]93.00%[/TD]
[TD="class: xl71, align: right"]2.981%[/TD]
[TD="class: xl71, align: right"]3.401%[/TD]
[TD="class: xl72, align: right"]3.783%[/TD]
[TD="class: xl65, align: right"]93.01%[/TD]
[TD="class: xl66, align: right"]94.00%[/TD]
[TD="class: xl71, align: right"]2.981%[/TD]
[TD="class: xl71, align: right"]3.401%[/TD]
[TD="class: xl72, align: right"]4.025%[/TD]
[TD="class: xl67, align: right"]94.01%[/TD]
[TD="class: xl68, align: right"]95.00%[/TD]
[TD="class: xl73, align: right"]3.298%[/TD]
[TD="class: xl73, align: right"]3.401%[/TD]
[TD="class: xl74, align: right"]4.370%[/TD]
</tbody>
So basically if have tried the IF/AND combination, and while it works, it's a huge to maintain, and if the boss changes the percentage amounts, or adds more by making the ranges smaller, it kills the formula.
Just seeing if there is a better way.
Regards
Oz