Hi Im trying to build a calculator that calculates a blended fee based on the constraints below. For example, if X client has $10 million to invest - his fee would be:?[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 324"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Investable Assets[/TD]
[TD] $ 10,000,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Blended Fee[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]From[/TD]
[TD]To[/TD]
[TD]Rate[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]500000[/TD]
[TD="align: right"]1.00%[/TD]
[/TR]
[TR]
[TD="align: right"]500001[/TD]
[TD="align: right"]1000000[/TD]
[TD="align: right"]0.90%[/TD]
[/TR]
[TR]
[TD="align: right"]1000001[/TD]
[TD="align: right"]3000000[/TD]
[TD="align: right"]0.75%[/TD]
[/TR]
[TR]
[TD="align: right"]3000001[/TD]
[TD="align: right"]5000000[/TD]
[TD="align: right"]0.65%[/TD]
[/TR]
[TR]
[TD="align: right"]5000001[/TD]
[TD="align: right"]10000000[/TD]
[TD="align: right"]0.50%[/TD]
[/TR]
[TR]
[TD="align: right"]10000001[/TD]
[TD="align: right"]20000000[/TD]
[TD="align: right"]0.40%[/TD]
[/TR]
[TR]
[TD="align: right"]20000001[/TD]
[TD="align: right"]30000000[/TD]
[TD="align: right"]0.30%[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD][TABLE="width: 324"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Investable Assets[/TD]
[TD] $ 10,000,000.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Blended Fee[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]From[/TD]
[TD]To[/TD]
[TD]Rate[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]500000[/TD]
[TD="align: right"]1.00%[/TD]
[/TR]
[TR]
[TD="align: right"]500001[/TD]
[TD="align: right"]1000000[/TD]
[TD="align: right"]0.90%[/TD]
[/TR]
[TR]
[TD="align: right"]1000001[/TD]
[TD="align: right"]3000000[/TD]
[TD="align: right"]0.75%[/TD]
[/TR]
[TR]
[TD="align: right"]3000001[/TD]
[TD="align: right"]5000000[/TD]
[TD="align: right"]0.65%[/TD]
[/TR]
[TR]
[TD="align: right"]5000001[/TD]
[TD="align: right"]10000000[/TD]
[TD="align: right"]0.50%[/TD]
[/TR]
[TR]
[TD="align: right"]10000001[/TD]
[TD="align: right"]20000000[/TD]
[TD="align: right"]0.40%[/TD]
[/TR]
[TR]
[TD="align: right"]20000001[/TD]
[TD="align: right"]30000000[/TD]
[TD="align: right"]0.30%[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]