Harikrushna
New Member
- Joined
- Oct 31, 2014
- Messages
- 18
Please provide me excel working or VB for below mention Condition & Logic.
Input taken
1- Existing
2 - After Increase
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247"]Base fee Up to 100000[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]5000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247"]For every additional 10000 or part of it[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] 100,001 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] 500,000 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247, align: right"]400[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] 500,001 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] 5,000,000 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247, align: right"]300[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] 5,000,001 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] 10,000,000 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247, align: right"]100[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] 10,000,001 [/TD]
[/TR]
[TR]
[TD="class: xl65, width: 125"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] Unlimited [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 247"]
<tbody>[TR]
[TD="width: 247, align: right"]75[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For Eg.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] If existing [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] 400,000 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] After Increased [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 148"]
<tbody>[TR]
[TD="class: xl65, width: 148"] 600,000 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] then fee is [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]500000-400000=100000[/TD]
[TD]100000/10000=10[/TD]
[TD]10*400=4000[/TD]
[/TR]
[TR]
[TD]100000[/TD]
[TD]100000/10000=10[/TD]
[TD]10*300=3000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total Fees is[/TD]
[TD]4000+3000+5000(Base Fee)=12000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] If existing [/TD]
[TD]600000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 125"]
<tbody>[TR]
[TD="class: xl65, width: 125"] After Increased [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]800000[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]200000[/TD]
[TD]200000/10000=20[/TD]
[TD]20*300=6000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total Fees is[/TD]
[TD]6000+5000=11000[/TD]
[/TR]
</tbody>[/TABLE]